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 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 JSP, like happens in JSF. > > 2009/8/24 Brian Pontarelli <br...@pontarelli.com> > > > 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: > > > > <jsf:text ...> > > <jsf:validatorLength minimum="3" maximum="20"/> > > </jsf:text> > > > > I've always wondered if validation belongs there or not. I personally > like > > to see validation closer to the data itself and would rather use the > > validation JSR for everything moving forward. > > > > -bp > > > > > > > > On Aug 24, 2009, at 9:41 AM, Chris Pratt wrote: > > > > 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, 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 > >>> in dynamic JSPs, or in JSPs that some fields can't be rendering. > >>> > >>> So, do we have this in Struts2? > >>> > >>> ..Regards. > >>> > >>> > >>> 2009/8/24 Chris Pratt <thechrispr...@gmail.com> > >>> > >>> 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. > >>>> > >>>>> > >>>>> > >>>> > >>> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > > For additional commands, e-mail: dev-h...@struts.apache.org > > > > >