Re: Struts2 validation

2009-08-24 Thread Arthur Neves
Tks Chris, however I'm asking here because I'd like to know if there are some way to make validations like in the JSF. Making validation directly in JSP. If there isn't a similar way in Struts2, It will be cool to create! Because in struts1, I've already had some problems with validation.xml, like

Re: Struts2 validation

2009-08-24 Thread Chris Pratt
Yes, the workflow interceptor handles programmatic validation. Unless you are talking about client side validation (since you mention the JSP), then I would suggest looking at jQuery Validate. (*Chris*) On Mon, Aug 24, 2009 at 5:19 AM, Arthur Neves arthu...@gmail.com wrote: Tks Chris,

Re: Struts2 validation

2009-08-24 Thread Brian Pontarelli
Actually, I think this is in regards to the JSF validation attributes yo can specify on the JSF tags. I believe that this either does some serialization magic or some session magic to connect the attributes specified on the tags with the server-side validator. I think it looks like:

Re: Struts2 validation

2009-08-24 Thread Arthur Neves
Chris, you're right, I've already looked at jQuery Validate, and my suggestion is implementing a new plug-in that include some validation(JS validation) tags, using the JQuery Validate API. We can make the client validations, without XML, it's more simple, and the client validations are at the

Re: Struts2 validation

2009-08-24 Thread Chris Pratt
There's a team currently developing a jQuery plugin. Maybe this is a candidate for inclusion. (*Chris*) On Mon, Aug 24, 2009 at 11:12 AM, Arthur Neves arthu...@gmail.com wrote: Chris, you're right, I've already looked at jQuery Validate, and my suggestion is implementing a new plug-in that

Struts2 validation

2009-08-23 Thread Arthur Neves
Is there any way to make validations on struts2 not through xml validation.

Re: Struts2 validation

2009-08-23 Thread Chris Pratt
Yes there is, but you'll need to ask that question over on the User list. This list is for the development of Struts itself. (*Chris*) On Sun, Aug 23, 2009 at 7:59 PM, Arthur Neves arthu...@gmail.com wrote: Is there any way to make validations on struts2 not through xml validation.