struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ""<>
Subject s:select selected option from a list based on a condition
Date Mon, 20 Nov 2017 13:30:28 GMT
<s:select name='student' 
 list="students" listKey="sid" listValue="name"

I have a select tag as above. The Student object has a boolean value defaultStudent with getter
isDefaultStudent. How to pre-select the default student based on this boolean value. Value
accepts only static value, not condition.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message