URLs using wicket wizard

2010-12-01 Thread bamse

I am rather new to Wicket, still I am building an application using the
Wizard-functionality, since this is very suitable for the app.
The app consists of several modules, implemented as wizards. Each wizard
obviously has a number of steps, using the WizardStep, which is a panel.
This works fine, but as an example I would like to have the url for a single
step look like this: "/module1/step1", instead of
"/?wicket:interface=:26".

I mount each wizard as a page, so the url then looks nice. But when step two
is accessed, the url is the strange one. I do not want to destroy the
functionality that Wicket gives such as regarding the pagemap, therefore I
am reluctant to making too much on my own.

I have searched the forum, but haven't found anything that really helps me.
I would be grateful for any help.

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/URLs-using-wicket-wizard-tp3066862p3066862.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: URLs using wicket wizard

2010-12-01 Thread Korbinian Bachl - privat
What type of URLCodingStrategy do you use? IMHO the 
HybridURLCodingStrategy should do what you want


Best

Am 01.12.10 10:13, schrieb bamse:


I am rather new to Wicket, still I am building an application using the
Wizard-functionality, since this is very suitable for the app.
The app consists of several modules, implemented as wizards. Each wizard
obviously has a number of steps, using the WizardStep, which is a panel.
This works fine, but as an example I would like to have the url for a single
step look like this: "/module1/step1", instead of
"/?wicket:interface=:26".

I mount each wizard as a page, so the url then looks nice. But when step two
is accessed, the url is the strange one. I do not want to destroy the
functionality that Wicket gives such as regarding the pagemap, therefore I
am reluctant to making too much on my own.

I have searched the forum, but haven't found anything that really helps me.
I would be grateful for any help.



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



Re: URLs using wicket wizard

2010-12-01 Thread Martin Grigorov
Even better IndexedHybridUrlCodingStrategy to see "stepN" as parameter

On Wed, Dec 1, 2010 at 10:17 AM, Korbinian Bachl - privat <
korbinian.ba...@whiskyworld.de> wrote:

> What type of URLCodingStrategy do you use? IMHO the HybridURLCodingStrategy
> should do what you want
>
> Best
>
> Am 01.12.10 10:13, schrieb bamse:
>
>
>> I am rather new to Wicket, still I am building an application using the
>> Wizard-functionality, since this is very suitable for the app.
>> The app consists of several modules, implemented as wizards. Each wizard
>> obviously has a number of steps, using the WizardStep, which is a panel.
>> This works fine, but as an example I would like to have the url for a
>> single
>> step look like this: "/module1/step1", instead of
>> "/?wicket:interface=:26".
>>
>> I mount each wizard as a page, so the url then looks nice. But when step
>> two
>> is accessed, the url is the strange one. I do not want to destroy the
>> functionality that Wicket gives such as regarding the pagemap, therefore I
>> am reluctant to making too much on my own.
>>
>> I have searched the forum, but haven't found anything that really helps
>> me.
>> I would be grateful for any help.
>>
>>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: URLs using wicket wizard

2010-12-01 Thread bamse

Thanks for a really quick aswer. For mounting the wizards I use
QueryStringUrlCodingStrategy. I'll take a closer look at
HybridURLCodingStrategy and will come back.

Thanks
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/URLs-using-wicket-wizard-tp3066862p3066877.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: URLs using wicket wizard

2010-12-02 Thread bamse

Using HybridURLCodingStrategy did the trick, though I ran into some strange
behaviour using the browsers back-button. That may however be a result from
things I have done in my code.
Thanks for your help!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/URLs-using-wicket-wizard-tp3066862p3069072.html
Sent from the Users forum mailing list archive at Nabble.com.

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