I can't check the code right now, but pageAttached may be too early. Try either onActivate or setupRender.
Cheers, Nick. Mohammad Shamsi wrote:
i wrote this code to change locale, but i got NullPointerException, any idea please? public class Start { @Inject PersistentLocale locale; @PageAttached public void attached() { locale.set(Locale.GERMAN); } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]