Thank you for your answers.

Indeed, "setResponsePage(getPage());" will also result in a stateful page.

I did the following to workaround the issue for now since the panel containing the stateless link appears on all pages of my site:
    Page page = getPage();
    if (page.isStateless())
        // Creates a new stateless page instance
        setResponsePage(page.getClass());
    else
        setResponsePage(page);

Martin, is WICKET-4046 <https://issues.apache.org/jira/browse/WICKET-4046> the issue you mentioned for this?

On 14/09/2011 3:50 AM, Martin Grigorov wrote:
Indeed this change was reverted after RC7.
Now only "setResponsePage(new StatelessPage());" is automatically
promoted to stateful.

We tried to make it more general but apparently it was wrong...

On Wed, Sep 14, 2011 at 9:06 AM, Mike Mander<[email protected]>  wrote:
Am 13.09.2011 23:59, schrieb Bertrand Guay-Paquet:
This is fixed in trunk. The fix will be available in 1.5.1
Martin wrote to me in a former post
This is fixed in trunk. The fix will be available in 1.5.1
Maybe we should try it again with 1.5.1

---------------------------------------------------------------------
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