Hmm that doen't sound right; have you tried getting the locale from the enclosing page?

public void yourMethod(IRequestCycle cycle)
{
        IPage page = cycle.getPage("yourpage");
        Locale locale = page.getLocale();
        ...

why do you need a .properties file?

Dan

Mark Stang wrote:
Hi,
I am using 3.0.3 and it appears that I must localize at the component level.  I have a 
single page and I can localize there for "page" specific stuff, however, when I 
try and localize at the component level it seems to require a .properties file for each 
component.  Is this true?

thanks,

Mark

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

--

Dan Garland
------------------------
[EMAIL PROTECTED]
mob: +44 (0) 7979 770053
icq: 120963437
aim: dmgarland1767


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

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

Reply via email to