Hi all, I have a problem using one modal window with several links which change the modal window content. Despite I do change window modal content panel for another panel before showing it, the modal window shows blank. I was trying to reproduce this behavior in a quick start without luck. I can confirm that the html is being replacing according to Wicket Ajax Debug.
Any help I will really appreciate it. *INFO:* *INFO: * Initiating Ajax GET request on ?x=6*:1:vsContenido:showedView:moduloInscriptosEquipoA:menu:tabs-container:tabs:0:link:2:IBehaviorListener:0:&random=0.6642544791102409 *INFO: *Invoking pre-call handler(s)... *INFO: *Received ajax response (3117 characters) *INFO: * <?xml version="1.0" encoding="UTF-8"?><ajax-response><header-contribution encoding="wicket1" ><![CDATA[<head xmlns:wicket=" http://wicket.apache.org "><script type="text/javascript" src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script> <script type="text/javascript" src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script> <script type="text/javascript" src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script> <script type="text/javascript" id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/ wicketAjaxDebugEnable=true; /*-->]^]^>*/</script> <script type="text/javascript" src="resources/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal.js"></script> <link rel="stylesheet" type="text/css" href="resources/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal.css" /> </head>]]></header-contribution><component id="dialog26" encoding="wicket1" ><![CDATA[<div id="dialog26" style="display:none"> <div id="content27"> <div align="center"> <form id="formulario48" action="?x=6*:1:vsContenido:showedView:moduloInscriptosEquipoA:vs:dialog:content:formulario:2:IFormSubmitListener::" method="post"><div style="display:none"><input type="hidden" name="formulario48_hf_0" id="formulario48_hf_0" /></div> <div> Se está por inscribir. <br/> Se enviará un mail .... </div> <button id="submit49" name=":submit" value="[Inscriptos en el equipo: [Inscripto: ]^, Inscriptos en el equipo: []^]^ pendientes: []^ no inscriptos: []^" onclick="this.className='ButtonDesactivado';this.disabled=true;wicketShow('veil');var wcall=wicketSubmitFormById('formulario48', '?x=6*:1:vsContenido:showedView:moduloInscriptosEquipoA:vs:dialog:content:formulario:submit:2:IActivePageBehaviorListener:0:-1%26wicket:ignoreIfNotActive%3Dtrue', ':submit' ,function(){;wicketHide('veil');}.bind(this),function() { ;wicketHide('veil');}.bind(this), function() {return Wicket.$$(this)&&Wicket.$$('formulario48')}.bind(this));;; return false;" type="submit"> Aceptar <img align="absmiddle" src="images/buttonOk.jpg"> </button> </form> </div> </div> </div>]]></component><evaluate><![CDATA[var element = document.getElementById("content27"); var settings = new Object(); settings.minWidth=200; settings.minHeight=200; settings.className="w_blue"; settings.width="825"; settings.height="570"; settings.resizable=false; settings.widthUnit="px"; settings.heightUnit="px"; settings.element = element; settings.title="Dialogo"; settings.mask="semi-transparent"; settings.onCloseButton = function() { wicketShow('veil');var wcall=wicketAjaxGet('?x=6*:1:vsContenido:showedView:moduloInscriptosEquipoA:vs:dialog:2:IBehaviorListener:0:-1',function(){;wicketHide('veil');}.bind(this),function() { ;wicketHide('veil');}.bind(this), function() {return Wicket.$('dialog26') != null;}.bind(this));return !wcall;}; Wicket.Window.create(settings).show(); ]]></evaluate></ajax-response> *INFO: *Response parsed. Now invoking steps... *INFO: *Response processed successfully. *INFO: *Invoking post-call handler(s)... *INFO: *refocus last focused component not needed/allowed -- Fernando Wermus. www.linkedin.com/in/fernandowermus