Re: Map backed Struts Action Form and multiple select values issue

2011-08-16 Thread manishkashyap09
use the following getter and setter public void setValues(String key, Object[] value) { values.put(key, value); } public Object[] getValues(String key) { return values.get(key); } it works for me. -- View this message in context:

Does jQuery work with Struts 1.3.8 custom tag?

2011-08-16 Thread Anjib Mulepati
I have following code with drop-list name agencyName. But event .change() attached to this object never called. So i was wondering does jQuery ever work with Struts custom tag? or Am I doing something wrong? Thanks in advance. Anjib script type=text/javascript src=js/jquery.js/script script

Re: Does jQuery work with Struts 1.3.8 custom tag?

2011-08-16 Thread Eric Lentz
I have following code with drop-list name agencyName. But event.change() attached to this object never called. Make sure that the rendered form is actually creating a HTML object with an ID of agencyName. That's usually the problem that I encounter - using the wrong name. Also, make sure that

Re: How to StrutsJUnit4TestCase?

2011-08-16 Thread Maurizio Cucchiara
Hi guys, I updated the wiki section of Struts 2 JUnit Plugin [1], now there is the capability to override the struts config location. Feel free to correct/integrate the paragraph I inserted. [1] http://s.apache.org/jun Maurizio Cucchiara

[OT] JQuery or dojo?

2011-08-16 Thread Balwinder
Hi All, Can any one suggest, for ajax which framework is better? Regards, Balwinder Kumar - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: [OT] JQuery or dojo?

2011-08-16 Thread Christian Grobmeier
Can any one suggest, for ajax which framework is better? Every answer is highly subjective, but I have made great experiences with jQuery. In addition, I was able to use jQuery mobile without pain later and there seems to be a huge community around jQuery. My current js combination is jQuery +

Re: [OT] JQuery or dojo?

2011-08-16 Thread Brian Thompson
I prefer jquery. Even back in 2007, using dojo with Struts seemed clunky. AFAIK the Struts dojo plugin is deprecated, but I'm sure Dave can tell you more about that :) Brian On Tue, Aug 16, 2011 at 11:37 AM, Balwinder balwinder@gmail.com wrote: Hi All, Can any one suggest, for ajax

Re: Does jQuery work with Struts 1.3.8 custom tag?

2011-08-16 Thread Anjib Mulepati
On 8/16/2011 10:51 AM, Eric Lentz wrote: I have following code with drop-list name agencyName. But event.change() attached to this object never called. Make sure that the rendered form is actually creating a HTML object with an ID of agencyName. That's usually the problem that I encounter -

Re: [OT] JQuery or dojo?

2011-08-16 Thread Paul Benedict
jQuery and Dojo are different programming models. jQuery is more like a scripting tool; Dojo is more like an object-oriented programming model. I've used jQuery for several months now and find it very powerful. I haven't used Dojo because I don't want to learn another OO-like technology on the

Re: Does jQuery work with Struts 1.3.8 custom tag?

2011-08-16 Thread Dave Newton
Check for JS errors in the console then, jQuery works fine with S1. Dave On Aug 16, 2011 12:44 PM, Anjib Mulepati anji...@hotmail.com wrote: On 8/16/2011 10:51 AM, Eric Lentz wrote: I have following code with drop-list name agencyName. But event.change() attached to this object never called.

Re: [OT] JQuery or dojo?

2011-08-16 Thread Dave Newton
What are your criteria? IMO they're different things, Dojo is more of an app framework, although there's overlap in functionality at the low level. Dave On Aug 16, 2011 12:38 PM, Balwinder balwinder@gmail.com wrote: Hi All, Can any one suggest, for ajax which framework is better?

Re: [OT] JQuery or dojo?

2011-08-16 Thread Maurizio Cucchiara
I think it's a matter of taste, I personally prefer jquery (is lesser intrusive). Maurizio Cucchiara On 16 August 2011 18:45, Paul Benedict pbened...@apache.org wrote: jQuery and Dojo are different programming models. jQuery is more like a scripting tool; Dojo is more like an object-oriented

Re: [OT] JQuery or dojo?

2011-08-16 Thread Balwinder
Dave, My criteria is: Able to ajaxify my app seamlessly. Quick in implementation. Ease of maintenance. Quick to learn. Regards, Balwinder Kumar On 8/16/2011 10:26 PM, Dave Newton wrote: What are your criteria? IMO they're different things, Dojo is more of an app framework, although there's

Re: [OT] JQuery or dojo?

2011-08-16 Thread Dave Newton
jQuery. Dave On Aug 16, 2011 1:01 PM, Balwinder balwinder@gmail.com wrote: Dave, My criteria is: Able to ajaxify my app seamlessly. Quick in implementation. Ease of maintenance. Quick to learn. Regards, Balwinder Kumar On 8/16/2011 10:26 PM, Dave Newton wrote: What are your

Re: [OT] JQuery or dojo?

2011-08-16 Thread Christian Grobmeier
Out of curiosity. What are the criteria which speak for Dojo, in your opinion? On Tue, Aug 16, 2011 at 7:07 PM, Dave Newton davelnew...@gmail.com wrote: jQuery. Dave  On Aug 16, 2011 1:01 PM, Balwinder balwinder@gmail.com wrote: Dave, My criteria is: Able to ajaxify my app

Re: [OT] JQuery or dojo?

2011-08-16 Thread Dave Newton
Full-stack GUIs. IMO jQuery is better for minor ajaxification of apps. For strong GUI needs I'd lean towards more complete, pre-packaged solutions rather than trying to mash jQueryUI things together, which can be painful at times. Dave On Aug 16, 2011 1:10 PM, Christian Grobmeier

Re: Does jQuery work with Struts 1.3.8 custom tag?

2011-08-16 Thread Anjib Mulepati
There is no error at console but can run the script in console itself. Any suggestion? On 8/16/2011 12:53 PM, Dave Newton wrote: Check for JS errors in the console then, jQuery works fine with S1. Dave On Aug 16, 2011 12:44 PM, Anjib Mulepatianji...@hotmail.com wrote: On 8/16/2011 10:51

Re: Does jQuery work with Struts 1.3.8 custom tag?

2011-08-16 Thread Eric Lentz
There is no error at console but can run the script in console itself. Any suggestion? Are you saying that you can verify that the script is executing? For example, if you alert, breakpoint or print to console before the installation of the change event, do you get the expected feedback from

Re: Does jQuery work with Struts 1.3.8 custom tag?

2011-08-16 Thread Anjib Mulepati
Yes script runs fine. On 8/16/2011 1:19 PM, Eric Lentz wrote: There is no error at console but can run the script in console itself. Any suggestion? Are you saying that you can verify that the script is executing? For example, if you alert, breakpoint or print to console before the installation

Re: Does jQuery work with Struts 1.3.8 custom tag?

2011-08-16 Thread Dave Newton
What script? The script that attaches the handler? Dave On Aug 16, 2011 1:46 PM, Anjib Mulepati anji...@hotmail.com wrote: Yes script runs fine. On 8/16/2011 1:19 PM, Eric Lentz wrote: There is no error at console but can run the script in console itself. Any suggestion? Are you saying that

Re: Does jQuery work with Struts 1.3.8 custom tag?

2011-08-16 Thread Eric Lentz
Yes script runs fine. I would suggest making it as simple as possible. For example, take your rendered form and make a html file out it and take your script and the jQuery framework and place them all on a file system and attempt to get that working (comment the ajax part out). If that works,

Re: [OT] JQuery or dojo?

2011-08-16 Thread Vishwa Sahan
dojo plugin is no longer supported i think... -- Vishwa Rajakaruna *...It does not take a new day to make a brand new start It only takes a deep desire to try with all your heart...*

Re: [OT] JQuery or dojo?

2011-08-16 Thread Dave Newton
But modern Dojo can be used on its own. Dave On Aug 16, 2011 10:20 PM, Vishwa Sahan vishwa.sa...@gmail.com wrote: dojo plugin is no longer supported i think... -- Vishwa Rajakaruna *...It does not take a new day to make a brand new start It only takes a deep desire to try with all your

Re: [OT] JQuery or dojo?

2011-08-16 Thread Vishwa Sahan
Thanks dave. I think I should check on that. On Wed, Aug 17, 2011 at 8:29 AM, Dave Newton davelnew...@gmail.com wrote: But modern Dojo can be used on its own. Dave On Aug 16, 2011 10:20 PM, Vishwa Sahan vishwa.sa...@gmail.com wrote: dojo plugin is no longer supported i think...

convention-plugin not work in jboss7

2011-08-16 Thread Lwen.ma
I report an issue at 19/Jul and get no response till today. Is the convention-plugin stoped? issue url: https://issues.apache.org/jira/browse/WW-3662 2011-08-17 Best Regards, Lwen Ma