File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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
It is sorta covered in the JavaRanch Style Guide.
subject: Labels in Struts-Layout
Similar Threads
struts-layout TABS
Tree view
paging in struts
setting bg in jDialog
Best practice for Tabbed pages