Close but no donut, copper.  That occurred to me, but it was too late.  The
source doesn't seem to give much away, I do see the JavaScript on the Div
though.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title></title>
    <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>

</head>
    <body>
        <form wicket:id="form" id="form1" method="post"
action="?wicket:interface=:0:form::IFormSubmitListener::"><div
style="display:none"><input type="hidden" name="form1_hf_0" id="form1_hf_0"
/></div>
            top: <input type="text" wicket:id="top" value="400"
name="top"/><br/>
            left: <input type="text" wicket:id="left" value="400"
name="left"/><br/>
            length: <input type="text" wicket:id="height" value="100"
name="height"/><br/>
            width: <input type="text" wicket:id="width" value="100"
name="width"/><br/>

            color: <input type="text" wicket:id="color" value="blue"
name="color"/><br/>
            <input type="submit"/>
        </form>
        <div wicket:id="superDiv" style="position: static;top: 400;left:
400;height: 100;width: 100;background-color: blue;" onmousedown="var
wcall=wicketAjaxGet('?wicket:interface=:0:superDiv::IBehaviorListener:0:',null,null,
function() {return Wicket.$('superDiv2') != null;}.bind(this));"></div>
    </body>
</html>

Thanks again
-- 
View this message in context: 
http://www.nabble.com/AjaxEventBehavior-onclick-for-WebMarkupContainer-Precondition-Check-tp24074285p24078270.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to