struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PaweĊ‚ Wielgus" <poulw...@gmail.com>
Subject Re: Struts 2 Type Conversion for properties of a List
Date Wed, 24 Dec 2008 11:41:45 GMT
Hi Titus,
You can validate with annotations.

best greetings,
Pawel Wielgus

2008/12/24, Marsman <mars.man@gmx.de>:
>
>
> newton.dave wrote:
>>
>>
>>> if (   values[0] == null || values[0].length() == 0
>>>     && values[0].equalsIgnoreCase("v.a.")
>>          || values[0].equalsIgnoreCase("various artists"))
>>
>> This condition strikes me as odd... did you really mean "&&" there?
>>
>
> No, of course not. You found an old bug in my converter at that time written
> for a JSF application. Apperently this bug was never a problem. :thinking:
>
> Titus
>
> --
> View this message in context:
> http://www.nabble.com/Struts-2-Type-Conversion-for-properties-of-a-List-tp21144957p21156808.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message