Re: s:select selected option from a list based on a condition

2017-11-20 Thread Lukasz Lenart
2017-11-20 14:30 GMT+01:00 heberr...@gmail.com : > list="students" listKey="sid" listValue="name" > value="defaultStudent.equals('true')" > /> > > I have a select tag as above. The Student object has a boolean value > defaultStudent with getter isDefaultStudent. How to pre-select the default >

Re: s:select selected option from a list based on a condition

2017-11-20 Thread Yasser Zamani
On 11/20/2017 5:00 PM, heberr...@gmail.com wrote: >list="students" listKey="sid" listValue="name" > value="defaultStudent.equals('true')" > /> > > I have a select tag as above. The Student object has a boolean value > defaultStudent with getter isDefaultStudent. How to pre-select the defa

s:select selected option from a list based on a condition

2017-11-20 Thread heberr...@gmail.com
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.