aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Labels in Struts-Layout" Watch "Labels in Struts-Layout" New topic
Author

Labels in Struts-Layout

Stefano Palma
Greenhorn

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="http://www.eclipse.org"/>
I see:
???it.Eclipse???
Where I'm wrong?
Thanks


Stefano
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Labels in Struts-Layout