struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li <ampyx...@gmail.com>
Subject Re: Validation on String[]
Date Thu, 21 Sep 2006 10:27:26 GMT
hi,
there is no such type : java.lang.String[], try to use List or ArrayList

On 9/21/06, Sahil Gupta <sahil@netedgecomputing.com> wrote:
>
> Hi,
>
> I have used a dyna form in which I have a property which is a
> multi-select pick list defined as
>
> form-property name="location" type="java.lang.String[]
>
> Now I want to put validation (required and/or mask) on this. Can anyone
> please guide me. I want it to show an error if the user clicks on submit
> button without selecting anything in the picklist. I have handled this
> validation in my Action but I want to do this through validation.xml
>
>
>
> Regards,
>
> Sahil Gupta
>
>
>
>


-- 
When we invent time, we invent death.

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