Re: resetting form components

2011-07-04 Thread ruchi
thanks it worked but how do i refresh the ManageAATemplatePanel now? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/resetting-form-components-tp3640382p3643093.html Sent from the Users forum mailing list archive at Nabble.com.

Re: resetting form components

2011-07-03 Thread ruchi
yes i have debugged it, all the other code inside the onSubmit of button is executed perfectly fine. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/resetting-form-components-tp3640382p3641578.html Sent from the Users forum mailing list archive at Nabble.com.

Re: resetting form components

2011-07-03 Thread ruchi
yes the button im using is ajaxButton, could you pls expalin a bit what do u mean by adding form to ajaxrequesttarget. thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/resetting-form-components-tp3640382p3641614.html Sent from the Users forum mailing list

Re: replace panel in dialog box

2011-07-03 Thread ruchi
thanks i tried it but it still works only 1st time. i debugged it and im able to see that the blank panel is replaced by the correct panel but still when it displays the dialog box it shows the blankPanel. -- View this message in context:

Re: resetting form components

2011-07-03 Thread ruchi
i did this target.addComponent(createTemplateForm); but still its not clearing. i actually have one page which has one panel(manageAATemplatePanel), this panel has one ajaxLink and one dailog(createDialog). On click of link this dialog box opens which contains one panel(createAATemplatePanel).

replace panel in dialog box

2011-07-02 Thread ruchi
Hi, im trying to replace panels inside a dialog box, but it wroks only first time. i have a page which contains a dialog box, when i initially create the page i put a blank panel inside the dialog box, the page also has one link on click of which i want to replace the panel inside the dialog box.

resetting form components

2011-07-02 Thread ruchi
Hi, im taking input from user in the form components and trying to reset them when they are shown next time, i have tried doing form.clearInput(), i have also set model values to blank, and also done form.modelChanged() after setting the default model. i have also specifically set the