Hi,
it looks like we cannot make the page stateless as we have many links that
require the model etc.
Martin- regarding RedirectPolicy#Never - is there any way we can 'mark' the
page to use that? As people are coming to this page from a mount url (with
a parameter), so we never get a chance to
You can setup your own PageRenderer
via org.apache.wicket.Application#setPageRendererProvider.
It should return the correct redirect policy per page type.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Nov 14, 2014 at 12:57 PM, Wayne W
Ah yes, brilliant - didn't think of that. Thanks Martin - that works a
treat.
On Fri, Nov 14, 2014 at 11:00 AM, Martin Grigorov mgrigo...@apache.org
wrote:
You can setup your own PageRenderer
via org.apache.wicket.Application#setPageRendererProvider.
It should return the correct redirect
Hi,
We have an issue with hyperlinks Microsoft Word and Excel documents. Its
seems to vary from version and OS, but the long and short of it is that
Word when a user clicks on a link it uses an internal library to try and
access the page, and once it gets a HTTP 200 it will open the default
Hi,
make your page stateless, then no redirection will occur.
Sven
On 11/13/2014 11:55 AM, Wayne W wrote:
Hi,
We have an issue with hyperlinks Microsoft Word and Excel documents. Its
seems to vary from version and OS, but the long and short of it is that
Word when a user clicks on a link it
Hi Sven,
I tried setting setStatelessHint(true); but it always does a 302 redirect.
I see something like this in the Net panel in Firebug:
https://www.example.com/share/df43f 302
https://www.example.com/share/df43f?1 200
Any idea?
thanks
On Thu, Nov 13, 2014 at 11:07 AM, Sven Meier
Hi,
your page doesn't become stateless, just by claiming it to be.
#setStatelessHint() is just a hint.
Here's a real stateless page:
http://www.wicket-library.com/wicket-examples/stateless/foo
Regards
Sven
On 11/13/2014 03:27 PM, Wayne W wrote:
Hi Sven,
I tried setting
See how RequestCycle#setResponsePage() works.
You need to use RedirectPolicy#Never.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Nov 13, 2014 at 4:56 PM, Sven Meier s...@meiers.net wrote:
Hi,
your page doesn't become stateless, just by claiming it to