I've never used onPassivate()

You need to have @Persist otherwise the value will be null.


-----Original Message-----
From: 976 [mailto:amsc...@gmail.com] 
Sent: 06 October 2009 14:48
To: users@tapestry.apache.org
Subject: Re: passing values between pages (search -> result)


Hi.
Thanks for the info - I've read it all again, and added passivate
returning
my search criteria client in SearchClient and list of clients in
ClientList
and still no luck;(
I added sysouts in activate and passivate methods and one in setter and
the
output is:
___setting client with name: John
___ List passivate
___ List activate
getting all
___ List passivate
_____ search passivate return false
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate
___ List passivate

Somehow it says client is null in SearchClients - like it wasn't passed
from
SearchClient at all, but the setter is invoked - client property is set
and
in activate it says it's null;(
I think I don't understand onActivate and onPassivate in proper way;(

Thanks,
Adam

Hello

Have a look at http://tapestry.apache.org/tapestry5.1/guide/pagenav.html

If you want to use 'activate' you have also to define the pending
'passivate' method.

Christophe.


-- 
View this message in context:
http://www.nabble.com/passing-values-between-pages-%28search--%3E-result
%29-tp25765698p25769048.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


**************************************************************************
 
Experience the British Library online at http://www.bl.uk/
 
The British Library’s new interactive Annual Report and Accounts 2007/08 : 
http://www.bl.uk/knowledge
 
Help the British Library conserve the world's knowledge. Adopt a Book. 
http://www.bl.uk/adoptabook
 
The Library's St Pancras site is WiFi - enabled
 
*************************************************************************
 
The information contained in this e-mail is confidential and may be legally 
privileged. It is intended for the addressee(s) only. If you are not the 
intended recipient, please delete this e-mail and notify the 
mailto:postmas...@bl.uk : The contents of this e-mail must not be disclosed or 
copied without the sender's consent.
 
The statements and opinions expressed in this message are those of the author 
and do not necessarily reflect those of the British Library. The British 
Library does not take any responsibility for the views of the author.
 
*************************************************************************
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to