Hi Eelco;

Thanks for your reply, it's working now, just minutes before your email arrive, anyway, it work now with dojo (put not with prototype), the problem with dojo is that I missplaced the ' in (content:{ 'myNumber:705}'} ), what I want to do is a class AjaxDojoBind, which simply I feed callback URL, method, placeholder, and add parameters to it, and it construct the whole request, I also used something like $_ to tell the class that this parameter should be a _javascript_ not a string variable, when I'm done with it I will post it for eveybody.

with prototype for some reason the above request doesn't work, and I don't want to make an issue of it since this is a _javascript_ code problem.

As I said, I hope when I'm done and post this class for wicket comunity that they find it useful :)

Regards, Ali


On 1/31/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Ali,

It's not clear to me what exactly isn't working. Could you explain a
bit more, and maybe provide us with some more code?

Eelco


On 1/31/06, Ali Zaid <[EMAIL PROTECTED]> wrote:
> Hi;
>
> 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
> >> mimetype:'text/plain', method : 'POST', content:{ 'myNumber:705}'});"
> value="------" type="text"
> name="myNumber" id="myNumber"/
> >
>
>
> prototype
> <input >> 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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



--
Regards, Ali

Reply via email to