struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stanlick <stanl...@gmail.com>
Subject Re: [S2] <s:select> and Integer lists
Date Fri, 05 Sep 2008 21:11:11 GMT

If getting one of these tags to work requires either 

leaving an attribute off

or

intValue()

or

%{intValue()} 

Should it be referred to as intelligent?  I seriously think these crazy S2
tags are causing new Struts 2 users more pain than they are worth.  







Lyallex wrote:
> 
> 2008/9/5 Lukasz Lenart <lukasz.lenart@googlemail.com>:
>>> <s:select label="Year of birth" name="yob" list="years"
>>> listKey="intValue" listValue="intValue" required="true"/>
> ...
>>
>> or don't specify listKey and listValue
> 
> Dave and Lukasz
> 
> Thanks, it works, no idea how just yet, it must be those 'intelligent
> defaults' I keep reading about ...
> 
> Lyallex
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-S2--%3Cs%3Aselect%3E-and-Integer-lists-tp19329661p19339564.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


Mime
View raw message