Re: AJAX Validation

2009-07-28 Thread Zoran Avtarovski
I’ve seen others use a customised version of DWR in combination with annotations. We looked at it to the point of almost going with it but in the end the decision was made it wasn’t worth the effort. We have little in the way of duplication. The approach we took was to be all nice-nice on the JS v

Re: Convention plugin blues

2009-07-28 Thread Jim Collings
> Hi > Is there a setting/property I can set to get the Convention plugin to > tell me where & what it's looking for to resolve to the result > classes. Having split a Struts 2 (2.1.7) application that was running > solely on Tomcat to now serve static content from an Apache Webserver > and pass St

Re: Struts vs Other competitors

2009-07-28 Thread musomesa
It is not clear how one gets to help -- I have submitted bugs with fixes a few times and then wondered what to do next so they sit there and ferment ... Chris -Original Message- From: Musachy Barroso To: Struts Users Mailing List Sent: Tue, Jul 28, 2009 12:33 am Subject: Re: Str

Re: Convention plugin blues

2009-07-28 Thread Musachy Barroso
set the debug level to TRACE, the output is quite verbose. musachy On Tue, Jul 28, 2009 at 1:33 AM, Roger Varley wrote: > Hi > > Is there a setting/property I can set to get the Convention plugin to > tell me where & what it's looking for to resolve to the result > classes. Having split a Struts

Re: AJAX Validation

2009-07-28 Thread Dale Newfield
Wes Wannemacher wrote: why don't you put in a JIRA Done: https://issues.apache.org/struts/browse/WW-3206 (although it's more a documentation fix than anything else) -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.ap

Re: AJAX Validation

2009-07-28 Thread Nicolas Baron
Very clear. I'll check what you've just mentionned and try to find the best strategy related to our context. Thanks a lot your help. Nicolas On Tue, Jul 28, 2009 at 1:54 PM, Wes Wannemacher wrote: > On Tue, Jul 28, 2009 at 9:48 AM, Nicolas Baron wrote: > > @Wes : Thanks for the samples, I'll ch

Re: AJAX Validation

2009-07-28 Thread Wes Wannemacher
On Tue, Jul 28, 2009 at 9:48 AM, Nicolas Baron wrote: > @Wes : Thanks for the samples, I'll check it. The struts2-jquery-plugin you > are talking about is the same as the one released in 1.0 last night ? No, this is different. When I started this one (many moons ago), I knew of at least a few othe

Re: AJAX Validation

2009-07-28 Thread Wes Wannemacher
On Tue, Jul 28, 2009 at 9:48 AM, Dale Newfield wrote: > Wes Wannemacher wrote: >> >> There is an interceptor called JSONValidation (or something like >> that). If you cruise to the bottom of this page, you will see an >> example of using it with Prototype - >> >> http://struts.apache.org/2.x/docs/a

Re: AJAX Validation

2009-07-28 Thread Dale Newfield
Wes Wannemacher wrote: There is an interceptor called JSONValidation (or something like that). If you cruise to the bottom of this page, you will see an example of using it with Prototype - http://struts.apache.org/2.x/docs/ajax-validation.html That's fairly slick, but I wonder if there's a wa

Re: AJAX Validation

2009-07-28 Thread Nicolas Baron
@Wes : Thanks for the samples, I'll check it. The struts2-jquery-plugin you are talking about is the same as the one released in 1.0 last night ? @Martin : I agree. Coordinating the 2 layers (ie. client-side & server-side validation) is one of my main goal to avoid rewriting validation rules twice,

RE: AJAX Validation

2009-07-28 Thread Martin Gainty
is JS validation thru a JS function faster than allowing the FieldValidationInterceptor to verify? is there a way to coordinate validations between the 2 layers (so that the effort is not duplicated) possibly an advised method from spring? http://struts.apache.org/2.1.2/struts2-core/apidocs/com/

Re: AJAX Validation

2009-07-28 Thread Wes Wannemacher
There is an interceptor called JSONValidation (or something like that). If you cruise to the bottom of this page, you will see an example of using it with Prototype - http://struts.apache.org/2.x/docs/ajax-validation.html I started a JQuery plugin that is sitting in the sandbox right now waiting

Re: Handle Japanese characters from jsp page into ActionClass

2009-07-28 Thread Ashish Kulkarni
HiSo basically in my web.xml i add CharacterEncodingFilter as the first filter and it will be handled in web application as first filter, i have 3 different filters already defined, so adding CharacterEncodingFilter on top will ensure that it will be the first filter to be called On Mon, Jul 27

Re: Struts 2.x and Java 6 and/or Servlet 2.5

2009-07-28 Thread Dave Newton
Lee Clemens wrote: With Java 5's EOL coming on October 30th and the additional features available in Servlet API 2.5 - is there any timeline for updating Struts 2.x's platform requirements? Or have I misunderstood and these are only Minimum requirements? They're minimum requirements. Dave --

Re: AJAX Validation

2009-07-28 Thread Zoran Avtarovski
It depends on the approach you want to take in validation. For security reasons we run two layers of validation, a simple model using jQuery checking mandatory fields and limits checks and then a more rigorous model server side. As for setting up, we looked at how it was done with S2 and dojo, in

Re: Struts vs Other competitors

2009-07-28 Thread Zoran Avtarovski
Sadly, I have kids so I either have no time for video games or can¹t get access to the gear. My past time is daydreaming about having a past time. As for testing, and documentation these tasks are as valid as any others, but again the problem from my perspective, and I don¹t mean that in a negativ

Re: AJAX Validation

2009-07-28 Thread Nicolas Baron
Hi Zoran, Thank you for your answer. Since you are using JQuery directly, how do you perform data validation ? Is it possible to use the XML Files or annotations provided by Struts ? Cheers, Nicolas On Tue, Jul 28, 2009 at 11:26 AM, Zoran Avtarovski wrote: > From what I can tell Dojo has been

Re: AJAX Validation

2009-07-28 Thread Zoran Avtarovski
>From what I can tell Dojo has been moved out into a plugin, but still exists. Honestly though, I¹d take the opportunity move away from an integrated solution to using a javascript framework directly. We use jQuery and it integrates with Struts without any major issues and more often than not off

AJAX Validation

2009-07-28 Thread Nicolas Baron
Hi everybody, I'm currently working on a project based on Struts 2.0.11. We're planning to migrate to the last 2.1.x version but I've just seen that the Dojo plugin has been deprecating. Consequently, what's your recommandation to perform proper AJAX validation since the example on the Wiki is sti

Convention plugin blues

2009-07-28 Thread Roger Varley
Hi Is there a setting/property I can set to get the Convention plugin to tell me where & what it's looking for to resolve to the result classes. Having split a Struts 2 (2.1.7) application that was running solely on Tomcat to now serve static content from an Apache Webserver and pass Struts reques

Re: Java template custom component problem

2009-07-28 Thread ManiKanta G
I m sorry, I missed out the jsp part: templateDir="com/nic/eawedan/components" label="Data > grid"> > Regards, ManiKanta G twitter.com/manikantag

Java template custom component problem

2009-07-28 Thread ManiKanta G
Hi, I m trying to write a custom component in Java template. I've gone through the documentation and the java template plugin source code and able to write a simple component (in fact I've copied one of the tag and changed the name nad trying to use it) *DataGridHandler.java* public class DataG