struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al so <volks...@gmail.com>
Subject Re: sample struts JSP for dependency validation among user input fields..
Date Thu, 23 Aug 2012 14:28:07 GMT
alternatively, how about using com.opensymphony.xwork2.validator.validators?

On Thu, Aug 23, 2012 at 7:05 AM, Dave Newton <davelnewton@gmail.com> wrote:

> This would be all via JavaScript.
>
> There's no tag library that would do this declaratively, out of the box.
> The JavaScript would be standard JavaScript, examples of things like this
> abound.
>
> Dave
>
> On Thu, Aug 23, 2012 at 10:01 AM, al so <volkswak@gmail.com> wrote:
>
> > Assuming one wants to build a simple UI with following components:
> >   Checkbox A
> >   TextInput  B
> >   SelectionList C ( E, F, G as dropdown items)
> >   TextInput D
> >
> > Here is the required validation:
> >  If A is checked, enable modification of all other fields.
> >  If A is unchecked, disable modification of all other fields
> >  If E is chosen from C, disable modification of D
> >  For all other items in C, enable modification of D
> >
> >
> > Is there a sample Struts 2.0 based JSP/taglib which can perform the above
> > validations?
> >
>
>
>
> --
> e: davelnewton@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton <https://twitter.com/dave_newton>
> b: Bucky Bits <http://buckybits.blogspot.com/>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message