I know this is a _javascript_ question more than wicket, but I'm going crazy! I'm trying to do some helper class to construct my Ajax code, simply I tried dojo.io.bind and Ajax.Request and failed to use post method to send the data to my wicket Ajax handler, here is the generated code.
Dojo
<input onkeyup="dojo.io.bind({url:'/?path=0:myNumber&interface=IBehaviorListener&behaviourId=1', mimetype:'text/plain', method : 'POST', content:{ 'myNumber:705}'});" value="------" type="text" name="myNumber" id="myNumber"/ >
prototype
<input onkeyup="new Ajax.Request('/?path=0:myNumber&interface=IBehaviorListener&behaviourId=1', { method : 'POST', postBody: 'myNumber=705' });" value="------" type="text" name="myNumber" id="myNumber"/ >
I'm really in a mess here, although I can easly send this info just by construct the full call back URL cause my application is simple, I just want what I wrote to work :(, PLEASE HELP! what am I missing?
--
Regards, Ali
