Ok, sorry for posting before having thought hard enough ;-)
At least i found a solution:
logic:equal name=bean property=priority value=lowbean:message
key=priority.low//logic:equal
logic:equal name=bean property=priority value=normalbean:message
key=priority.normal//logic:equal
logic:equal
Well, the value you store in the actual field would have to be
priority.low, priority.normal, or priority.hi instead of normal,
high, or low. Then you can simply use the bean:message instead of
bean:write. The bean:message tag will treat the property= as the key in
to the resource bundle.
2 matches
Mail list logo