This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Can we give a bean:message tag inside an bean:message tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Can we give a bean:message tag inside an bean:message tag" Watch "Can we give a bean:message tag inside an bean:message tag" New topic
Author

Can we give a bean:message tag inside an bean:message tag

bhuvan sundar
Ranch Hand

Joined: Mar 02, 2005
Posts: 104
Hi all,
An you tell me whether the following statemnt is valid... though Iam getting errors..
<bean:message key="title.font.size" arg0='<bean:message name="title.page"/>' />
If the above statment is incorrect, then is there any way to use the a <bean:message> tag inside <bean:message> tag..
Thanks in advance
Bhuvana
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

It is not legal to place one bean tag inside another like that.

It is legal to replace the inner of the two bean tags with a scriptlet.


A good workman is known by his tools.
 
 
subject: Can we give a bean:message tag inside an bean:message tag