You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Adriano dos Santos Fernandes <ad...@uol.com.br> on 2008/10/31 14:06:57 UTC

Redirect from an AjaxSelfUpdatingTimerBehavior

Hi!

I added AjaxSelfUpdatingTimerBehavior to a WebMarkupContainer (div), and 
inside its onPostProcessTarget I loaded a PDF 
(ResourceStreamRequestTarget) and called 
RequestCycle.get().setRequestTarget(requestTarget).

After that, redirection doesn't happen, and I see the PDF content on the 
AJAX Debug Window.

Can (and how) I redirect to another page/resource from 
AjaxSelfUpdatingTimerBehavior?

Thanks,


Adriano


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Redirect from an AjaxSelfUpdatingTimerBehavior

Posted by Adriano dos Santos Fernandes <ad...@uol.com.br>.
Done: https://issues.apache.org/jira/browse/WICKET-1911


Adriano


Igor Vaynberg escreveu:
> yes
>
> -igor
>
> On Sat, Nov 1, 2008 at 11:25 AM, Adriano dos Santos Fernandes
> <ad...@uol.com.br> wrote:
>   
>> Yes. Do you want a quickstart demonstrating the problem?
>>     


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Redirect from an AjaxSelfUpdatingTimerBehavior

Posted by Igor Vaynberg <ig...@gmail.com>.
yes

-igor

On Sat, Nov 1, 2008 at 11:25 AM, Adriano dos Santos Fernandes
<ad...@uol.com.br> wrote:
> Yes. Do you want a quickstart demonstrating the problem?
>
>
> Adriano
>
>
> Igor Vaynberg wrote:
>>
>> does it work if you do not use ajax?
>>
>> -igor
>>
>> On Fri, Oct 31, 2008 at 6:38 AM, Adriano dos Santos Fernandes
>> <ad...@uol.com.br> wrote:
>>
>>>
>>> Francisco Diaz Trepat - gmail escreveu:
>>>
>>>>
>>>> Hi Adriano, maybe looking for PDF dynamic resource will bring something
>>>> up.
>>>> We had a similiar issue and discussed it on the list a while ago.
>>>> f(t)
>>>>
>>>
>>> Are you referring to this one
>>> http://www.nabble.com/Hi%2C-PDF-Question-td15050471.html#a15065319?
>>>
>>> It seems not my case, or I don't get it.
>>>
>>> And when I redirect with PageRequestTarget it works so seems an issue
>>> with
>>> ResourceStreamRequestTarget.
>>>
>>>
>>> Adriano
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Redirect from an AjaxSelfUpdatingTimerBehavior

Posted by Adriano dos Santos Fernandes <ad...@uol.com.br>.
Yes. Do you want a quickstart demonstrating the problem?


Adriano


Igor Vaynberg wrote:
> does it work if you do not use ajax?
>
> -igor
>
> On Fri, Oct 31, 2008 at 6:38 AM, Adriano dos Santos Fernandes
> <ad...@uol.com.br> wrote:
>   
>> Francisco Diaz Trepat - gmail escreveu:
>>     
>>> Hi Adriano, maybe looking for PDF dynamic resource will bring something
>>> up.
>>> We had a similiar issue and discussed it on the list a while ago.
>>> f(t)
>>>       
>> Are you referring to this one
>> http://www.nabble.com/Hi%2C-PDF-Question-td15050471.html#a15065319?
>>
>> It seems not my case, or I don't get it.
>>
>> And when I redirect with PageRequestTarget it works so seems an issue with
>> ResourceStreamRequestTarget.
>>
>>
>> Adriano
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Redirect from an AjaxSelfUpdatingTimerBehavior

Posted by Igor Vaynberg <ig...@gmail.com>.
does it work if you do not use ajax?

-igor

On Fri, Oct 31, 2008 at 6:38 AM, Adriano dos Santos Fernandes
<ad...@uol.com.br> wrote:
> Francisco Diaz Trepat - gmail escreveu:
>>
>> Hi Adriano, maybe looking for PDF dynamic resource will bring something
>> up.
>> We had a similiar issue and discussed it on the list a while ago.
>> f(t)
>
> Are you referring to this one
> http://www.nabble.com/Hi%2C-PDF-Question-td15050471.html#a15065319?
>
> It seems not my case, or I don't get it.
>
> And when I redirect with PageRequestTarget it works so seems an issue with
> ResourceStreamRequestTarget.
>
>
> Adriano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Redirect from an AjaxSelfUpdatingTimerBehavior

Posted by Adriano dos Santos Fernandes <ad...@uol.com.br>.
Francisco Diaz Trepat - gmail escreveu:
> Hi Adriano, maybe looking for PDF dynamic resource will bring something up.
> We had a similiar issue and discussed it on the list a while ago.
> f(t)
Are you referring to this one 
http://www.nabble.com/Hi%2C-PDF-Question-td15050471.html#a15065319?

It seems not my case, or I don't get it.

And when I redirect with PageRequestTarget it works so seems an issue 
with ResourceStreamRequestTarget.


Adriano


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Redirect from an AjaxSelfUpdatingTimerBehavior

Posted by Francisco Diaz Trepat - gmail <fr...@gmail.com>.
Hi Adriano, maybe looking for PDF dynamic resource will bring something up.
We had a similiar issue and discussed it on the list a while ago.
f(t)

On Fri, Oct 31, 2008 at 10:06 AM, Adriano dos Santos Fernandes <
adrianosf@uol.com.br> wrote:

> Hi!
>
> I added AjaxSelfUpdatingTimerBehavior to a WebMarkupContainer (div), and
> inside its onPostProcessTarget I loaded a PDF (ResourceStreamRequestTarget)
> and called RequestCycle.get().setRequestTarget(requestTarget).
>
> After that, redirection doesn't happen, and I see the PDF content on the
> AJAX Debug Window.
>
> Can (and how) I redirect to another page/resource from
> AjaxSelfUpdatingTimerBehavior?
>
> Thanks,
>
>
> Adriano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>