Hi All,

I'm trying to use a ModalWindow for a confirmation dialog.  Based on the
button clicked I'm setting a value in  in a hidden field that has an
AjaxFormComponentUpdatingBehavior that I'm trying to use to invoke an action
method based on the user selection.  I want to reuse this for pages that use
a confirmation dialog so I have it in a base page.  Everything works as
expected except that the onchange method on the hidden field is not invoked. 
I've attached a quickstart that illustrates what I am trying to do with the
hidden field replaced by a text field.  The field value does change based on
which button in the modal window is clicked.  However, the onUpdate method
for the text field at line 64 in BasePage.java is never called.

If anyone can take a look at this and help me out I'd appreciate it.

Also if there is a better way to do a confirmation dialog that invokes a
method when the Yes button is selected I'd be interested in hearing how to
go about  http://www.nabble.com/file/p18831847/ModalTest.zip ModalTest.zip
it.  

Thanks,
Jim
-- 
View this message in context: 
http://www.nabble.com/Help-with-ModalWindow-tp18831847p18831847.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]

Reply via email to