struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Williams, Marlon" <>
Subject RE: International Menu Help
Date Tue, 30 Sep 2008 21:28:32 GMT

Your solution works great! Syntax issue, bad on me. Thanks very much!

DAN IS THE GREATEST!  Singing the praises.

From: Dave Newton [] 
Sent: Tuesday, September 30, 2008 2:22 PM
To: Struts Users Mailing List
Subject: Re: International Menu Help

--- On Tue, 9/30/08, Williams, Marlon wrote:
> Menu ts_login = new Menu();
> ts_login.setId("1102");
> //ts_login.setLabel("Login");                    
>          // This is hard coding
> ts_login.setLabel("menu.login");                 
>        // This also is hard coding
> //ts_login.setLabel("%{getText('menu.login')}");
>    //The prevents the menu from dispalying at all

I'm lost; this is Java code in an ActionSupport-derived action? That
shouldn't even *compile* let alone do anything useful.

Doesn't normal Java work?



To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message