But that breaks the common sense of "strategy", doesn't it?
And if it works "special" for HybridUrlCodingStrategy, then it should also
work with the other ones, right? "Consistency" rule makes it a bug, right?

HybridUrlCodingStrategy  messes with the original name. I'd rather use
QueryStringUrlCodingStrategy that keeps urls proper. It's "almost" there
with using wicket parameter, shouldn't it be fully compliant with the
strategy of the parent? It just makes sense (to me).

- Alex 

-----Original Message-----
From: Jeremy Thomerson [mailto:jer...@wickettraining.com] 
Sent: Wednesday, October 06, 2010 8:13 PM
To: users@wicket.apache.org
Subject: Re: urls after a form submission

On Wed, Oct 6, 2010 at 6:59 PM, Alex Rass <a...@itbsllc.com> wrote:

> Hi.
>
> After an on-page (wicket) form is submitted, the followed url doesn't 
> follow the page's URL encoding strategy (QueryStringUrlCodingStrategy 
> or any others).
>
> It just becomes "http://site.com/?wicket..."; and loses original page
>
> Could someone please tell me if there's a way to fix it easily?
> Is this a bug that should be fixed or a normal behavior?
>
> I REALLY need this working. Otherwise a 200 page site becomes a class 
> nightmare.
>
> - Alex
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
It's standard behavior.  You're redirecting to a stateful page - with the
state of the form - when you submit the form.  If you want a bookmarkable
URL that still has state, use HybridUrlCodingStrategy.

--
Jeremy Thomerson
http://www.wickettraining.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to