Re: pass information through ajax without form

2007-10-03 Thread David Bernard
ywtsang wrote: my case is: there is a javascript variable (let say "var STATE;") that will be updated througout the client side javascript event there is a link (for example) that I want to use to pass the "STATE" through ajax to server. in your codes, does client side javascript method "DnD

Re: pass information through ajax without form

2007-10-03 Thread swaroop belur
gt; it is no problem to use form, but we have a restriction that no form is >>> used >>> (may look weird to all here), so I would like to see if there is >>> workaround >>> in wicket. >> >> ---

Re: pass information through ajax without form

2007-10-03 Thread ywtsang
o get the states of other html >>>> elements/javascript >>>> states in this ajax event >>>> >>>> it is no problem to use form, but we have a restriction that no form is >>>> used >>>> (may look weird to all here), so I would lik

Re: pass information through ajax without form

2007-10-03 Thread David Bernard
Currently I have no simple example :-( In my case (wicketstuff-jquery), I've got a link that call a javascript function generated (with a template on server side). In this function : var wcall = wicketAjaxGet('${callbackUrl}&' + DnDSortableBehavior.asQueryString(), function(){}, function(){});

Re: pass information through ajax without form

2007-10-03 Thread ywtsang
d like to see if there is >> workaround >> in wicket. > > ----------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [E

Re: pass information through ajax without form

2007-10-03 Thread David Bernard
For a similar case, I override (in MyBehavior) @Override public final void respond(AjaxRequestTarget target) { try { Request req = RequestCycle.get().getRequest(); String param1 = req.getParameter("param1"); // to stuff super.respond(

pass information through ajax without form

2007-10-03 Thread ywtsang
event it is no problem to use form, but we have a restriction that no form is used (may look weird to all here), so I would like to see if there is workaround in wicket. -- View this message in context: http://www.nabble.com/pass-information-through-ajax-without-form-tf4560660.html#a13015360 Sent