Hi all,

Ignore the earlier message, it was sent accidentally before I was finished
writing.

I have the following code in my jsp page:
<s:set name="hourMap" value="#{120 : '5 d', 48 : '48 h', 24 : '24 h', 12 :
'12 h'}" />

<s:doubleselect id="timeSelect" key="vehicleBased.period"
label="doubleselect test1" name="hours" list="hourMap"
     doubleName="intervalLength" doubleListKey="key" doubleListValue="value"

     doubleList="%{(top == '120') ? #{60: '1 h', 120: '2 h', 240: '4 h'} :
#{15: '15 min', 30: '30 min', 60: '1 h', 120: '2 h'}}" />

For some reason, this leaves the second selectbox completely empty. If I
change hourMap into a list, everything works fine.

Any idea what might be wrong?

Reply via email to