This is the produced HTML for selSupplier:
<select name="parameterPanel:selSupplier" id="selSupplier9">
<option value="0">Supplier 0</option>       <option
value="1">Supplier 1</option>  <option value="2">Supplier
2</option>        <option value="3">Supplier 3</option>
<option value="4">Supplier 4</option>       <option
value="5">Supplier 5</option>  <option value="6">Supplier
6</option>        <option value="7">Supplier 7</option>
<option value="8">Supplier 8</option>       <option
value="9">Supplier 9</option></select>
This is the generated HTML of my test-page which is working:
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml";
xmlns:wicket="http://wicket.apache.org"><head><script
type="text/javascript"
src="./wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-1.11.1-ver-1407233400871.js"></script><script
type="text/javascript"
src="./wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-event-jquery-ver-1407233400871.js"></script><script
type="text/javascript"
src="./wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1407233400871.js"></script><script
type="text/javascript"
src="./wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug-ver-1407233400871.js"></script><script
type="text/javascript"
id="wicket-ajax-debug-enable">/*<![CDATA[*/Wicket.Ajax.DebugWindow.enabled=true;/*]]>*/</script><script
type="text/javascript"
id="wicket-ajax-base-url">/*<![CDATA[*/Wicket.Ajax.baseUrl="?0";/*]]>*/</script><meta
http-equiv="Content-Type" content="text/html;
charset=UTF-8"><title>WicketTest</title><script
type="text/javascript" >/*<![CDATA[*/Wicket.Event.add(window,
"domready", function(event) {
Wicket.Ajax.ajax({"u":"./?0-2.IBehaviorListener.0-form-panel-plantType","e":"change","c":"plantType1","ad":true,"m":"POST"});;;});/*]]>*/</script></head><body>
<form wicket:id="form" id="form2" method="post"
action="./?0-2.IFormSubmitListener-form"><div
style="width:0px;height:0px;position:absolute;left:-100px;top:-100px;overflow:hidden"><input
type="hidden" name="form2_hf_0" id="form2_hf_0" /></div>       
<wicket:container wicket:id="panel"><wicket:panel>       
<select wicket:id="plantType" name="panel:plantType"
id="plantType1"><option selected="selected" value="">Bitte
wählen</option><option value="0">Obst</option><option
value="1">Gemüse</option></select>        <select
wicket:id="plants" name="panel:plants" id="plants3"><option
selected="selected" value="">Bitte wählen</option></select>
</wicket:panel></wicket:container>
</form></body></html>
But the HTML of my original application does not contain a single
<script> tag.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-is-not-working-tp4666877p4666888.html
Sent from the Users forum 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