if you are using ajaxfallbacklink and get a null target then that means the
fallback was used, so the browser doesnt support ajax/javascript. that is
the whole point of ajaxfallbacklink, your impl should look like this

onclick(target) {
 dosomething();
 if (target!=null) {
   // ajax
   processajaxtarget(target);
  } else {
     //falback
     processregularroundtrip();
  }
}

-igor


On 5/22/07, sf <[EMAIL PROTECTED]> wrote:


Hi,

When I try to deploy my wicket application in Liferay, ajax doesnt seem to
work.
eventhough the default value of ajaxable in Liferay is true, I get a null
AjaxRequestTarget on the onclick event of my AjaxFallbackLink.

can anyone advise what to do?

Thanks,

--
View this message in context:
http://www.nabble.com/newbie---getting-a-null-AjaxRequestTarget-tf3795611.html#a10735611
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to