Re: Question With Detachable Models

2007-09-16 Thread Jonathan Locke
just before the page is rendered. In addition, as the object instance is marked as transient, it shouldn't be stored in the session. -- View this message in context: http://www.nabble.com/Question-With-Detachable-Models-tf4446686.html#a12697727 Sent from the Wicket - User mailing list

Re: Question With Detachable Models

2007-09-15 Thread Jan Kriesten
hi, Are my objects still being stored in the session when I use this kind of query. transient fields are never stored in a session at all. but since you have neither an id nor a logic to load your object to be restored, you certainly will get a NPE when the object is about to be restored.

Re: Question With Detachable Models

2007-09-15 Thread Jan Kriesten
transient fields are never stored in a session at all. sorry, i meant they are never serialized at all. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Question With Detachable Models

2007-09-15 Thread Jonathan Locke
QueryDetachableModel(object); } public int size() { // TODO Auto-generated method stub return queryCommand.queryCount(); } -- View this message in context: http://www.nabble.com/Question-With-Detachable-Models-tf4446686.html#a12687727 Sent from

Re: Question With Detachable Models

2007-09-15 Thread carloc
); } public int size() { // TODO Auto-generated method stub return queryCommand.queryCount(); } -- View this message in context: http://www.nabble.com/Question-With-Detachable-Models-tf4446686.html#a12690353 Sent from the Wicket - User mailing list archive