Re: [Wicket-user] Having problems with ModalWindow and AjaxSubmitButton

2007-07-23 Thread Matej Knopp
Are you sure the form validates right?

-Matej

On 7/23/07, carbonbasednerd [EMAIL PROTECTED] wrote:

 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:IUnversionedBehaviorListenerwicket:behaviorId=0wicket: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:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom=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


-
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


Re: [Wicket-user] Having problems with ModalWindow and AjaxSubmitButton

2007-07-23 Thread carbonbasednerd

That was the issue.  Which is odd - really wasn't anything to validate.  To
test I had overridden the validate method on the form and did nothing with
it and now it works.

thanks for the help.


Matej Knopp-2 wrote:
 
 Are you sure the form validates right?
 
 -Matej
 
 On 7/23/07, carbonbasednerd [EMAIL PROTECTED] wrote:

 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:IUnversionedBehaviorListenerwicket:behaviorId=0wicket: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:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom=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

 
 -
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Having-problems-with-ModalWindow-and-AjaxSubmitButton-tf4131281.html#a11750892
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