Results 1 to 8 of 8
  1. #1
    jogep is offline Member
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    43
    Rep Power
    0

    Default 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

  2. #2
    romerom is offline Member
    Join Date
    Apr 2010
    Posts
    2
    Rep Power
    0

    Default

    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.

  3. #3
    jogep is offline Member
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    43
    Rep Power
    0

    Default

    sorry, currently the jQuery.noConflict() is not supported by this plugin.
    maybe prototype does provide a similar function?

  4. #4
    romerom is offline Member
    Join Date
    Apr 2010
    Posts
    2
    Rep Power
    0

    Default

    Quote Originally Posted by jogep View Post
    sorry, currently the jQuery.noConflict() is not supported by this plugin.
    maybe prototype does provide a similar function?
    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.

  5. #5
    jogep is offline Member
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    43
    Rep Power
    0

    Default

    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

  6. #6
    muthuraj is offline Member
    Join Date
    May 2010
    Location
    chennai, India
    Posts
    1
    Rep Power
    0

    Default

    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.

  7. #7
    jogep is offline Member
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    43
    Rep Power
    0

    Default

    Quote Originally Posted by muthuraj View Post
    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.
    The Plugin supports only Struts2 2.1.x or higher.

  8. #8
    stanlick is offline Member
    Join Date
    Jan 2011
    Posts
    1
    Rep Power
    0

    Default 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

  1. struts2 with jquery
    By amma2009 in forum Advanced Java
    Replies: 10
    Last Post: 11-16-2010, 10:07 AM
  2. Two jquery plugins in one page
    By NewInJava in forum Web Frameworks
    Replies: 0
    Last Post: 09-18-2009, 08:41 PM
  3. issue with the jquery bubble window..
    By jazz2k8 in forum Advanced Java
    Replies: 0
    Last Post: 06-12-2009, 12:19 PM
  4. Datepicker Calender - month change event - jquery
    By rmpatel101 in forum Advanced Java
    Replies: 0
    Last Post: 04-02-2008, 07:42 PM
  5. jQuery 1.2.1
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 10-25-2007, 05:21 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •