Re: getStatelessHint()?

2010-12-07 Thread Pierre Goupil
Hello,

According to the JavaDoc: getStatelessHint():
*Description copied from class:
Component<http://static.ddpoker.com/javadoc/wicket/1.4-m1/org/apache/wicket/Component.html#getStatelessHint%28%29>
* Returns whether the component can be stateless. Also the component
behaviors must be stateless, otherwise the component will be treat as
stateful. In order for page to be stateless (and not to be stored in
session), all components (and component behaviors) must be statelessIn a
repeater, the getObject() method of the underlying model is caused at each
step of rendering, so it's a good practice not to put it in session, (but
rather manage a cache for it if the retrieval is costly).


HTH,

Pierre






On Tue, Dec 7, 2010 at 5:43 PM, Douglas Ferguson  wrote:

> getStatelessHint()




-- 
Sans ami était le grand maître des mondes
Eprouvait manque, ce pourquoi il créa les Esprits.
Mais au vrai il ne trouva aucun égal,
Du calice de ce royaume total des âmes
Ecume jusqu'à lui L'Infinité.

Schiller, "l'amitié"


getStatelessHint()?

2010-12-07 Thread Douglas Ferguson
I'm seeing some exceptions in my production log with this message

"it could be that the component is inside a repeater make your component return 
false in getStatelessHint()"

What does this mean?
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org