the below code works to make the select option required. If nothing is selected
displays the provided message.
In validation.xml
!(user.department).equals("1")
Please select a department.
--
This message was sent on behalf of aruna
--- On Fri, 12/12/08, Richa Pandharikar wrote:
> It saved me a few lines of code and dealing with Strings!
Yep--type conversion can be a huge time- and code-saver.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.o
Thanks Dave,
It saved me a few lines of code and dealing with Strings!
-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com]
Sent: Friday, December 12, 2008 12:52 PM
To: Struts Users Mailing List
Subject: Re: Help with S:Select
FWIW you can also get them as an array or
FWIW you can also get them as an array or collection.
--- On Fri, 12/12/08, Faraz Ali wrote:
> From: Faraz Ali
> Subject: Re: Help with S:Select
> To: "Struts Users Mailing List" ,
> richa.pandhari...@tdktech.com
> Date: Friday, December 12, 2008, 1:18 PM
> O ye
; HTH,
> Richa
>
>
> -Original Message-
> From: Faraz Ali [mailto:farazali.fa...@gmail.com]
> Sent: Thursday, December 11, 2008 9:28 PM
> To: Struts Users Mailing List; richa.pandhari...@tdktech.com
> Subject: Re: Help with S:Select
>
> Can you share us t
2008 9:28 PM
To: Struts Users Mailing List; richa.pandhari...@tdktech.com
Subject: Re: Help with S:Select
Can you share us the solution which you have found for reading the multiple
values for a select tag.
I also need it.
On Thu, Dec 11, 2008 at 6:10 AM, Richa Pandharikar <
richa.pandhari..
ect
> tag.
>
> -Original Message-
> From: Richa Pandharikar [mailto:richa.pandhari...@tdktech.com]
> Sent: Wednesday, December 10, 2008 3:43 PM
> To: 'Struts Users Mailing List'; richa.pandhari...@tdktech.com
> Subject: RE: Help with S:Select
>
> I have reso
I also found out the solution for reading the multiple values for a select
tag.
-Original Message-
From: Richa Pandharikar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2008 3:43 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: Help with S:Sele
department).equals("-1")
Department is required.
-Original Message-
From: Richa Pandharikar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2008 12:40 PM
To: 'Struts Users Mailing List'
Subject: RE: Help with S:Select
I tried to follow the informatio
and Sender does not
endorse distribution to any party other than intended recipient. Sender does
not necessarily endorse content contained within this transmission.
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
> Subject: RE: Help with S:Select
> Date: Wed, 10 Dec 2008 12:40
I tried to follow the information on one of the post on how to do this but
till it is not very clear to me.
Can anyone point me to the documentation where the usage are explained in
detail?
I am also facing the problem in validating the s:select field as a required
field.
I tried using this bu
11 matches
Mail list logo