@PageLoaded or pageLoaded()
This is invoked once when the page is first constructed.
On Thu, Dec 27, 2012 at 9:32 AM, Ken in Nashua kcola...@live.com wrote:
I have a page and I only want to do certain things during bootstrap... not
specifically setupRender or onActivate
Thanks in advance
Thanks for tryin...
my properties are @persistent
@PageLoaded
public void pageLoaded()
{
//if (itemsPerPage == null)
if (securityService.getSubject().isAuthenticated())
itemsPerPage = getLayout().getItemsPerPage();
else
Well I cannot take this the whole mile...
I have two persistent properties and just trying to persist them on subsequent
authentications from the database.
and I cant
I beat these three routines to death.
The afterRender works beautiful.
I have never had luck with the init cycle and
My main catching issue being
on login... my persistent properties are null... and I can predictably load
them from the database
so i go ahead and use my app... then i decide to click logout button...
app is still running though... just unauthenticated...
so I go ahead and click login link...
Hi,
@Persist defaults to session storage, it sounds like you are not discarding
your session on logout and/or not always creating a new session on
(re)login.
--
Chris
On Thu, Dec 27, 2012 at 7:28 PM, Ken in Nashua kcola...@live.com wrote:
My main catching issue being
on login... my
Thanks Chris,
I will think about that. Good practice anyway... it may be the condition case I
am looking to operate.
- cheers
Ken