I doubt it would prevent the page from being serialized. Versioning
doesn't spot all changes to page (e.g. setting a property) so we can't
rely on it, therefore we serialize it on every request.
However, if you really want to get around the serialization for certain
cases, you need to call Session.untouch(page) before
Session.requestDetached() is called.
I think calling it from Page.onDetach() should work. So you can set a
request cycle metadata if you don't want the page to be serialized and
then check for the meta data in page.onDetach().
-Matej
Igor Vaynberg wrote / napĂsal(a):
autocomplete.setversioned(false) do it?
-igor
On 10/29/07, John Patterson <[EMAIL PROTECTED]> wrote:
Hi,
I am using the AutoCompleteTextField and can see that every keystroke
causes the entire page to be serialised and stored which seems a bit
excessive. Is there anyway to say that the page has not changed and
so don't store it?
John
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]