Hello,
I've got a problem while integrating a JQuery Slider in a project that
I'm working on. The basic idea is that when the value of the slider
changes, a hidden textfield is changed as well and the value of this
textfield is submitted using an AjaxFormComponentUpdatingBehavior. This
is all working in Firefox, but in IE7 the ajax callback isn't fired.
When the slider is changed I see the following message in the Ajax Debug
log: *: *INFO: Ajax POST stopped because of precondition check,
url:?wicket:interface=:3:formulier:opslaanform:pagina:0:element:elementen:0:element:vraagPanelContent:indentContainer:invoer:sliderPanel:slidercontainer:slider:valueField::IActivePageBehaviorListener:0:-1&wicket:ignoreIfNotActive=true
The following is the part of the generated HTML that takes care of this:
<div aria-disabled="false" id="id2e" style="width: 785px;"
class="center ui-slider ui-widget ui-widget-content ui-corner-all
ui-slider-horizontal"><div style="left: 25%;"
class="ui-slider-handle ui-state-default ui-corner-all"></div></div>
<input id="id28"
name="pagina:0:element:elementen:0:element:vraagPanelContent:indentContainer:invoer:sliderPanel:slidercontainer:slider:valueField"
value="1" onchange="var wcall=wicketSubmitFormById('id9',
'?wicket:interface=:3:formulier:opslaanform:pagina:0:element:elementen:0:element:vraagPanelContent:indentContainer:invoer:sliderPanel:slidercontainer:slider:valueField::IActivePageBehaviorListener:0:-1&wicket:ignoreIfNotActive=true',
null,null,null, function() {return
Wicket.$$(this)&&Wicket.$$('id9')}.bind(this));;"
type="hidden">
<script>$('#id2e').slider({min: 0, max: 4, change: function (e, ui)
{ document.getElementById('id28').value = ui.value; var ajaxCall =
eval(document.getElementById('id28').onchange); ajaxCall(e);},
steps: 4}).slider('enable');</script>
Does anyone have an idea about what is going wrong here?
Thanks in advance
Rik Overvelde
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]