click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Schellink <>
Subject Light-weight stateful controls
Date Mon, 25 Oct 2010 05:28:17 GMT
Over the weekend I've checked in the stateful control feature. It provides a light-weight way
persisting state in the session (although cookies could be used as well), across multiple

The new Stateful interface exposes two methods:

public Object getState();
public void setState(Object state);

Each control is responsible for setting and getting it's own state. A Field might only store
value, while a Table could store it's page number and sorted column.

Click-extra controls still need to be implemented.


View raw message