cycle.getResponseBuilder().isDynamic()

On Fri, Oct 10, 2008 at 9:50 PM, Rodrigo Barberá
<[EMAIL PROTECTED]> wrote:
> Hello everyone.
>
> I work on a big project written in T4.0 and would like to migrate it to
> T4.1.
>
> I've searched Google and mailing lists but still haven't found out how I
> should update methods that use AjaxWebRequest to identify the type of
> request (that is, whether it is result of an Ajax submission (asynchronous)
> or a normal one (synchronous)). As I said before, the project is big, and
> the amount of work to rewrite every component would be huge. Is there any
> equivalent class, or maybe a method in another class which would help me
> achieve a similar result in T4.1?
>
> An example of what we've been doing in T4.0 follows:
>
> public static boolean isAjaxReload(IRequestCycle cycle) {
>  if (cycle != null) {
>     AjaxWebRequest ajax = (AjaxWebRequest)
> cycle.getAttribute(AjaxWebRequest.AJAX_REQUEST);
>     if (ajax != null) {
>        return true;
>     }
>  }
>  return false;
> }
>
> How would I do that in T4.1?
>
> Thank you in advance,
>
> Rodrigo Barberá
>
> --
> Rodrigo Barberá
> -------------------------------------
> InfoPAE developer
> Tecgraf - PUC-Rio
> [EMAIL PROTECTED]
> +55 21 3527-2504
> +55 21 8763-3834 (cell)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to