Re: Example for FormComponentPanel/best-practice for reusable form-components

2009-05-05 Thread FlyingMustang
igor.vaynberg wrote: show us your code. Ok, I have a class 'Person' with an'Address-Property. My Form-object has a simple Model wrapping a Person-object. The constructor creating the Panel with the form contains these lines: form = new FormPerson(form, new ModelPerson());

Re: Example for FormComponentPanel/best-practice for reusable form-components

2009-05-05 Thread FlyingMustang
John Krasnay wrote: AddressFormComponent should extend Panel, not FormComponentPanel. Thank you for yout help! Now AddressFormComponent extends from Panel and fixed the wrong chainigs. I also asserted that the address is NOT null right before I submit the form in my test-case. But after

is Application switched to deployment-mode?

2009-01-11 Thread FlyingMustang
Hello, I'm developing an application using Wicket 1.3.5. Now I want to set deployment-mode for my application using -Dwicket.configuration=deployment as a parameter for my java vm. After that, the big warning-message about wickts's development-mode is gone. Although I see the following message

Re: is Application switched to deployment-mode?

2009-01-11 Thread FlyingMustang
OK, I solved the problem. It seems that Tomcat didn't restart correctly after setting the variable. Sorry!!! -- View this message in context: http://www.nabble.com/is-Application-switched-to-deployment-mode--tp21398415p21398604.html Sent from the Wicket - User mailing list archive at