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

DAN IS THE GREATEST!  Singing the praises.


From: Dave Newton [mailto:[EMAIL PROTECTED] 
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?

ts_login.setLabel(getText("menu.login"));

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to