Thank you Gilberto - I managed to develop a bad habit of managing control 
states without using the benefits of using the Stateful interface:).

Date: Tue, 22 Apr 2014 08:53:35 -0300
Subject: Fwd: Serialized PageLink...
From: [email protected]
To: [email protected]

Hi, Tamas! You need to create a different topic when posting on mail list - I 
did it for you right now :)!





>I was trying to attach a PageLink instance to a session object, but Tomcat 
>logged an error as >apache.click.Context is not Serializable. 


            Click is a stateless framework. Quoting the documentation:



  Control state is not saved and restored automatically by Click.
  Instead, state saving and restoring is under full control of the
  developer through a public API.



As you can see from the Stateful interface's doc, several controls implements 
that contract and using the "Search Table Page" example as a reference you can 
implement your use case.



Hth,


Gilberto


    

                                          

Reply via email to