You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by miro <mi...@yahoo.com> on 2008/10/10 20:21:05 UTC

prepulating a form and changing behaviour

I have  a Page which has a form   , I assume prepopulating is just  setting
model object to my form which has the same properties as the form is this
right ?
Second   If I want to  change the   construction   of the page with
extending this class   and overriding some methods   in this case do I have
to create a new bookmark ?
-- 
View this message in context: http://www.nabble.com/prepulating-a--form--and-changing-behaviour-tp19923467p19923467.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: prepulating a form and changing behaviour

Posted by Michael Sparer <mi...@gmx.at>.
What about trying out first and then ask if something doesn't work as
desired?


miro wrote:
> 
> I have  a Page which has a form   , I assume prepopulating is just 
> setting model object to my form which has the same properties as the form
> is this right ?
> Second   If I want to  change the   construction   of the page with
> extending this class   and overriding some methods   in this case do I
> have to create a new bookmark ?
> 


-----
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: http://www.nabble.com/prepulating-a--form--and-changing-behaviour-tp19923467p19952321.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: prepulating a form and changing behaviour

Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Fri, 10 Oct 2008, miro wrote:
> I have  a Page which has a form   , I assume prepopulating is just  setting
> model object to my form which has the same properties as the form is this
> right ?

Well, more or less. Each FormComponent must resolve its 
modelObject to the desired default value. Read the wiki page
on models and try out for example by modifying the Form
examples from wicket-examples.

> Second   If I want to  change the   construction   of the page with
> extending this class   and overriding some methods   in this case do I have
> to create a new bookmark ?

What?-)

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

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