Richard,
That's exactly how I tried to debug what's working and what's not :) I've
added a few alerts to your getScript() method, and this is how Wicked
rendered it on the page:
<script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
Wicket.Event.add(window, "domready", function() { alert('at least the DOM is
ready'); $('peopleLocatorFormf').observe('submit',
function(e){alert('success!!!');Event.stop(e);
$('submitLink10').onclick(null);});;});
/*-->]]>*/</script>
The first alert is working, the second is not.... Do you see anything
abnormal here?
--Victor
richardwilko wrote:
>
> im not sure, try putting an alert in the code to make sure that the submit
> event is being observed, and dont bother with the wicket version at until
> you know the javascript on its own is working.
>
--
View this message in context:
http://www.nabble.com/TextField-inside-a-ModalWindow-problems-tp20363183p20515116.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]