On Thu, Dec 16, 2010 at 6:04 AM, jensiator <jens.alen...@megasol.se> wrote:

> Even better....
> IRequestTarget target = RequestCycle.get().getRequestTarget();
>         if(target instanceof AjaxRequestTarget) {
>


The easier way to do this is to say:

if (AjaxRequestTarget.get() != null)

-- 
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*

Reply via email to