Maybe for very specific ajax cases that could work
But most of the cases ajax updates state on the server side
that is then translated again to the client.

If there is anything for example that is replaced or created new a none
stateless page wouldnt work
because you can't recreate the exact same page

the auto complete could be the exception if the only thing that is its input
is the field itself.

johan


On 10/30/07, John Patterson <[EMAIL PROTECTED]> wrote:
>
> Nope.  It looks like the logic to store the page is in
> SEcondLevelCacheSessionStore and it always stores pages that were
> 'touched' that are not stateless.
>
>
>                        if (!page.isPageStateless())
>                        {
>                                String sessionId = getSession().getId();
>                                if (sessionId != null)
>                                {
>                                        getStore().storePage(sessionId,
> page);
>                                        setLastPage(page);
>                                        dirty();
>                                }
>                        }
>
> I think I need a BookmarkableBehaviorRequestTarget which doesn't seem
> to exist.
>
> It seems to me that AJAX behaviours could work with stateless pages
> and the back button if there was a behaviour equivalent of
> BookmarkableListenerInterfaceRequestTarget which would create the
> page if it did not exist and then call the behaviour.
>
> I was thinking about having a shot at it myself but can see all the
> places in the code that refer to
> BookmarkableListenerInterfaceRequestTarget and thought it would be
> better to leave it to someone who knows the code better.
>
> John
>
> On 29 Oct 2007, at 16:56, Igor Vaynberg wrote:
>
> > 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]
> >
>
>

Reply via email to