Ahh will try it.

2010/11/23 Vitaly Tsaplin <[email protected]>

>   Sorry, I was a part of my code :)
> RequestCycle.get ().getRequestTarget () instanceof AjaxRequestTarget
>
> On Tue, Nov 23, 2010 at 2:18 PM, Vitaly Tsaplin
> <[email protected]> wrote:
> >    AjaxUtils.isAjaxRequest ()
> >
> > On Tue, Nov 23, 2010 at 2:13 PM, nino martinez wael
> > <[email protected]> wrote:
> >> Hi
> >>
> >> I have a page which are ajax enabled, on first rendering (non ajax) it
> >> should render some css. On subsequent renderings(ajax) it should only
> render
> >> if new css has been added.
> >>
> >> So I need to figure out if the the current request are a "full non ajax
> >> refresh"  or "ajax", so how's that done? I thought that calling
> >> AjaxRequestTarget.get would give an indication or maybe the request or
> the
> >> requestcycle.. But havent found a way yet.
> >>
> >> regards Nino
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to