J
John Jimenez
I need to be able to translate user input...
For example if on one page I have this...
== page1.jsp =========================
....
<html:select property="color">
<htmlption value="green"><bean:message key="messages.color.green"
/>
<htmlption value="blue"><bean:message key="messages.color.blue" />
<htmlption value="red"><bean:message key="messages.color.red" />
<htmlption value="yellow"><bean:message key="messages.color.yellow"
/>
</html:select>
....
== end page1.jsp ======================
and on the next page I would like to be able to redisplay the info
above translated. I would like to do something like this (altho this
doenst work!)...
== end page2.jsp ======================
<bean:message key="<bean:write name="actionForm1" property="color"/>"
/>
This is what i need to do but the tag libs do not support parsing
other tags inside an attribute value!!
Any ideas are greatly welcome!!
John
For example if on one page I have this...
== page1.jsp =========================
....
<html:select property="color">
<htmlption value="green"><bean:message key="messages.color.green"
/>
<htmlption value="blue"><bean:message key="messages.color.blue" />
<htmlption value="red"><bean:message key="messages.color.red" />
<htmlption value="yellow"><bean:message key="messages.color.yellow"
/>
</html:select>
....
== end page1.jsp ======================
and on the next page I would like to be able to redisplay the info
above translated. I would like to do something like this (altho this
doenst work!)...
== end page2.jsp ======================
<bean:message key="<bean:write name="actionForm1" property="color"/>"
/>
This is what i need to do but the tag libs do not support parsing
other tags inside an attribute value!!
Any ideas are greatly welcome!!
John