force model update on a wicket form

2012-04-28 Thread albgentius
I've noticed that only when one of the component has changed value in the UI
of a form, then wicket calls updateFormComponentModels.

I was wondering if there is any way to force an update to the model of the
components even if none of the form components has changed value.

Thank you,
Greg

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/force-model-update-on-a-wicket-form-tp4594765p4594765.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: force model update on a wicket form

2012-04-28 Thread albgentius
I haven't seen updateFormComponentModels() being called if none of the values
has changed in UI.

That to me means that the model is not being changed(updated). It make sense
since nothing has really changed but I want to force wicket to update even
though nothing has changed.

Hope that is clear.

Greg

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/force-model-update-on-a-wicket-form-tp4594765p4595041.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: force model update on a wicket form

2012-04-28 Thread albgentius
Thank you very much,
I will give that a try.

Greg

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/force-model-update-on-a-wicket-form-tp4594765p4595374.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: force model update on a wicket form

2012-04-28 Thread albgentius
No there are no validation errors as far as I know. 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/force-model-update-on-a-wicket-form-tp4594765p4595383.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: disable editing for the whole page

2012-03-22 Thread albgentius
That sounds very simple and nice.

Thank you,

I was under impression that we need to disable every component.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/disable-editing-for-the-whole-page-tp4496524p4496739.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



WicketTester.startPanel is returning DummyHomePage instead of DummyPanelPage

2012-03-15 Thread albgentius
I have a Panel that has a form and inside that inner form there is another
panel with another internal form.
Before I used to have only the inner panel with the form and all wicket
tests were running fine.
Once I simply refactored that form to get a few buttons out of it so we
could re-use the internal panel with the form and modified the test
accordingly, I am not getting anymore a DummyPanelPage but a DummyHomePage
instead.

I thought a WicketTester.startPanel always returns a DummyPanelPage.

Any insight or any direction is highly appreciated.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-is-returning-DummyHomePage-instead-of-DummyPanelPage-tp4475046p4475046.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: WicketTester.startPanel is returning DummyHomePage instead of DummyPanelPage

2012-03-15 Thread albgentius
We will probably upgrade sometime soon but probably not right now.

At the moment we're still using 1.4.18.

Thank you, 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-is-returning-DummyHomePage-instead-of-DummyPanelPage-tp4475046p4475192.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