In my parent page I create a ModalWindow which has ajaxsubmitbuttons and
works just fine.  Within that modal window I have a link which will take the
user to another page within the same ModalWindow.  That also has
AjaxSubmitButtons but they do not appear to be called.  The onclick in the
source is showing the link to be:

 onclick="var wcall=wicketSubmitFormById('blendedBuyForm',
'/?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true',
null, function() { }, function() { });;; return false;"

that -1 next to cancel doesn't look right.  Did I miss something when
setting this up?

This is the ajax debug:

NFO:
INFO: Initiating Ajax POST request on
/?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true&random=0.5978146078408596
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (69 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response></ajax-response>
INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
-- 
View this message in context: 
http://www.nabble.com/Having-problems-with-ModalWindow-and-AjaxSubmitButton-tf4131281.html#a11749014
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to