Re: I18N question

2002-03-26 Thread liquid
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

RE: I18N question

2002-03-26 Thread Alex Paransky
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.