You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by bjolletz <da...@pagero.com> on 2009/01/13 11:10:48 UTC
Dynamic wizard content
Hi!
I am trying to build a wizard but have a problem with dynamic content. My
problem breaks down to this:
* Assume a wizard with two steps, A and B.
* The content of step B depends on the user input from step A. In my
particular case I want to have a gridview in step B and the data in it
depends on what is submitted in step A.
* As far as I understand, all steps are constructed at the same time. How,
then, can I make the content of step B dynamic?
In my particular case, I create a GridView in step B, which as far as I can
see will be rendered at the same time as the wizard is created, and at this
time I dont know which data the gridview should contain.
Any help appreciated!
/Daniel
--
View this message in context: http://www.nabble.com/Dynamic-wizard-content-tp21432585p21432585.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: SV: Dynamic wizard content
Posted by bjolletz <da...@pagero.com>.
Thanks for the reply, that seems lika a good approach!
/Daniel
> * As far as I understand, all steps are constructed at the
> same time. How, then, can I make the content of step B dynamic?
No it's rendered at render time; what you want to do is use a model
which step A configures; e.g. a LoadableDetachableModel which receives
properties from step A and then will load the actual data when asked to
by the view.
--
View this message in context: http://www.nabble.com/Dynamic-wizard-content-tp21432585p21439706.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
SV: Dynamic wizard content
Posted by Wilhelmsen Tor Iver <To...@arrive.no>.
Med vennlig hilsen
TOR IVER WILHELMSEN
Senior systemutvikler
Arrive AS
T (+47) 48 16 06 18
E-post: toriverw@arrive.no
http://servicedesk.arrive.no
> * As far as I understand, all steps are constructed at the
> same time. How, then, can I make the content of step B dynamic?
No it's rendered at render time; what you want to do is use a model
which step A configures; e.g. a LoadableDetachableModel which receives
properties from step A and then will load the actual data when asked to
by the view.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org