sturts... is there a way?
From: John Jimenez (johnjim_at_us.ibm.com)
Date: 04/30/04
- Next message: John Jimenez: "sturts... is there a way (small correction)"
- Previous message: Thomas Weidenfeller: "Re: Get the containing JAR's root"
- Next in thread: Sudsy: "Re: sturts... is there a way?"
- Reply: Sudsy: "Re: sturts... is there a way?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Apr 2004 06:34:30 -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 value="blue"><bean:message key="messages.color.blue" />
<html:option value="red"><bean:message key="messages.color.red" />
<html:option 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
- Next message: John Jimenez: "sturts... is there a way (small correction)"
- Previous message: Thomas Weidenfeller: "Re: Get the containing JAR's root"
- Next in thread: Sudsy: "Re: sturts... is there a way?"
- Reply: Sudsy: "Re: sturts... is there a way?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]