Results 1 to 8 of 8
Thread: Struts2 jQuery Plugin
- 01-09-2010, 11:09 AM #1
Member
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 43
- Rep Power
- 0
Struts2 jQuery Plugin
Version 1.8.1 is available
Project: struts2-jquery - Project Hosting on Google Code
Showcase: Struts2 jQuery Plugin Showcase
Changelog 1.8.1
- Upgrade jqGrid to 3.6.2
- Add attribute editrules for Grid Tag
- Upgrade jQuery BBQ to 1.0.3
- Fix Issue 43: Datepicker localized format
- Fix Issue 44: Grid with parent columns
- Fix Issue 47: Javascript error when JSON result is null
- Fix Issue 48: ParentTheme has no effect
- 04-23-2010, 06:28 PM #2
Member
- Join Date
- Apr 2010
- Posts
- 2
- Rep Power
- 0
hey jogep - I was wondering if there is any flag we can send to the plugin that would allow it to work in jQuery.noConflict() format ? The UI designers at my place of work are still using a bit of 'prototype', and the '$' conflicts.
- 04-23-2010, 08:51 PM #3
Member
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 43
- Rep Power
- 0
sorry, currently the jQuery.noConflict() is not supported by this plugin.
maybe prototype does provide a similar function?
- 04-23-2010, 09:06 PM #4
Member
- Join Date
- Apr 2010
- Posts
- 2
- Rep Power
- 0
Unfortunately, everything I find related to prototype and jQuery coexisting suggest I use jQuery.noConflict().
I have posted the suggestion on the prototype mailing list requesting this feature as well as sent an email off to our UI designer responsible for the template I need to use possibly moving the functions to jQuery (only four of them).
If I get no help on either of those fronts, I will likely have to code those prototype methods myself into jQuery.
I think I have covered all of my bases.
btw, your struts2 plugin is great. Maybe you can consider a "noConflict()" option in the future? I could see other users possibly running into the same issue.
- 05-03-2010, 09:20 PM #5
Member
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 43
- Rep Power
- 0
Since 1. May the new release 2.1.0 with a lot og changes and enhancements is available.
Release Notes and Changlog: Struts2 jQuery Plugin Version 2.1.0 is released | Java, Webprogrammierung, Linux und mehr
- 05-06-2010, 11:44 AM #6
Member
- Join Date
- May 2010
- Location
- chennai, India
- Posts
- 1
- Rep Power
- 0
Hi Jogep,
Which version of struts2 support Struts2 jQuery Plugin?
I have downloaded struts2-jquery-plugin-2.1.0.jar, am using struts_2_0_9. But the plugin is not working.
--Muthu.
- 07-02-2010, 05:48 PM #7
Member
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 43
- Rep Power
- 0
- 01-25-2011, 09:43 PM #8
Member
- Join Date
- Jan 2011
- Posts
- 1
- Rep Power
- 0
What is the relationship between action class and remoteurl
I downloaded the plugin and started using it last evening. The first thing that seemed a little strange, was the convention plugin mappings. I dropped the plugins into WEB-INF/lib and performed the following:
1 Created a java package com.acme.action.jqfun
2 Created a default convention page folder WEB-INF\content\jqfun
I created an action class called Fun with a single annotated method @Actions( { @Action(value = "json-select", results = { @Result(name = "success", type = "json") }) })
When I tried creating my web page fun.jsp I ran into all sorts of trouble before ultimately getting the JSON response into my <sj:select/> control. What finally worked was this
<s:url id="remoteurl" action="json-select"/>
which had me scratching my head! I could not see any relationship in this action name and the actual class "Fun" that contained this annotated method, so I tried the following. I created a class in the same folder as Fun and named it Fred. I moved the contents of Fun to Fred and the web page then fetched the JSON from Fred!!!
What is the deal here?
Peace,
Scott
Similar Threads
-
struts2 with jquery
By amma2009 in forum Advanced JavaReplies: 10Last Post: 11-16-2010, 10:07 AM -
Two jquery plugins in one page
By NewInJava in forum Web FrameworksReplies: 0Last Post: 09-18-2009, 08:41 PM -
issue with the jquery bubble window..
By jazz2k8 in forum Advanced JavaReplies: 0Last Post: 06-12-2009, 12:19 PM -
Datepicker Calender - month change event - jquery
By rmpatel101 in forum Advanced JavaReplies: 0Last Post: 04-02-2008, 07:42 PM -
jQuery 1.2.1
By JavaBean in forum Java SoftwareReplies: 0Last Post: 10-25-2007, 05:21 PM
Bookmarks