Re: prepulating a form and changing behaviour

2008-10-13 Thread Michael Sparer

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: prepulating a form and changing behaviour

2008-10-12 Thread Timo Rantalaiho
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 OyURL: http://www.ri.fi/ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



prepulating a form and changing behaviour

2008-10-10 Thread miro

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]