This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Labels in Struts-Layout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Labels in Struts-Layout" Watch "Labels in Struts-Layout" New topic

Labels in Struts-Layout

Stefano Palma

Joined: Mar 10, 2004
Posts: 1
I use Struts-Layout but I am not able of display a litteral string in the attribute "key" of many tags. The documentation says: "If the key does not have a corresponding value in the message resources, the key is displayed."
but if I write:
<layout:menuItem key="Eclipse" link=""/>
I see:
Where I'm wrong?

Jeremy Wilson
Ranch Hand

Joined: Feb 18, 2003
Posts: 166
Take this on with a grain of salt but I have a hunch that the eclipse menu item is below a menu item named it. If so it may be concat of the higher level menu item and lower menu item.

Jeremy Wilson
Don't get me started about those stupid light bulbs.
subject: Labels in Struts-Layout