sturts... is there a way (small correction)
From: John Jimenez (johnjim_at_us.ibm.com)
Date: 04/30/04
- Next message: evil_***: "jsp:use bean"
- Previous message: John Jimenez: "sturts... is there a way?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Apr 2004 06:37:19 -0700
I need to be able to translate user input...
For example if on one page I have this...
== page1.jsp =========================
...
<html:select property="color">
<html:option value="green"><bean:message key="messages.color.green"
/></html:option>
<html:option value="blue"><bean:message key="messages.color.blue"
/></html:option>
<html:option value="red"><bean:message key="messages.color.red"
/></html:option>
<html:option value="yellow"><bean:message key="messages.color.yellow"
/></html:option>
</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="messages.color.<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
- Next message: evil_***: "jsp:use bean"
- Previous message: John Jimenez: "sturts... is there a way?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]