Hello,
I have these keys in resources:
status.active=Active
status.done=Done
I have enum instances for each status in list and want to display it in select
control:
<s:select name="item.status" list="statusList" listKey="name()"
listValue="%{getText('status.%{name()}')}" />
This works except of the listValue parameter.
This works:
listValue="%{getText('status.active')}"
listValue="name()"
but how can I parametrize the resource key with the value of enum item?
Thanks a lot.
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]