Sorry, I've missed an important step. You should call clearInput() on the outer form. You could try with something like this:

....
cmodel.setObject(e);
((Form)form.getParent()).clearInput();
art.add(cont);

Hi,


Tried but did not work for me :(


.............

     info("saved file: " + uploadedFile.getClientFileName());
                         HrpFiles e=new HrpFiles();
                         e.setTitle(uploadedFile.getClientFileName());
                         cmodel.setObject(e);
                         art.add(cont);
............


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Nested-form-model-refresh-tp4649877p4649884.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to