Re: SV: Dynamic wizard content

2009-01-13 Thread bjolletz

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



SV: Dynamic wizard content

2009-01-13 Thread Wilhelmsen Tor Iver

Med vennlig hilsen

TOR IVER WILHELMSEN
Senior systemutvikler
Arrive AS
T (+47) 48 16 06 18
E-post: toriv...@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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Dynamic wizard content

2009-01-13 Thread bjolletz

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org