You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Enrique Perez <pe...@dit.upm.es> on 2007/03/06 16:56:10 UTC

Can a portlet refresh the portal page?

Hi,

Is it possible to call the portal page to refresh from a portlet which 
is inside that portal page?
Just as if I were clicking on the tab...

I mean, I have a portlet in some psml page (supposed A.psml, at 
http://localhost:8080/jetspeed/portal/A.psml)...
That portlet leads in one case to an exception state of the web 
application which is connected to... But it can be omitted to the user 
if I can make the portal to call again the page URL where the portlet 
is... (if I click on the "Go To" browser button, that exception state is 
omitted)
Is this possible?

Thanks in advance.

Regards,
Enrique

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Can a portlet refresh the portal page?

Posted by Enrique Perez <pe...@dit.upm.es>.
Thanks again =)
Actually, the javascript has worked =)


Enrique Perez escribió:
> Thanks a lot Aaron.
>
> I will try to do it via javascript... I hope it works =)
>
>
> Aaron Evans escribió:
>> If you create an action URL from your portlet's render response, then
>> clicking that link (or by some javascript trickery) will call the
>> action phase of your portlet and the render phases of all the portlets
>> in that page by definition.
>>
>> You can of course always just reload the current location (ie. current
>> browser URL) via javascript...
>>
>>
>> On 3/6/07, Enrique Perez <pe...@dit.upm.es> wrote:
>>> Hi,
>>>
>>> Is it possible to call the portal page to refresh from a portlet which
>>> is inside that portal page?
>>> Just as if I were clicking on the tab...
>>>
>>> I mean, I have a portlet in some psml page (supposed A.psml, at
>>> http://localhost:8080/jetspeed/portal/A.psml)...
>>> That portlet leads in one case to an exception state of the web
>>> application which is connected to... But it can be omitted to the user
>>> if I can make the portal to call again the page URL where the portlet
>>> is... (if I click on the "Go To" browser button, that exception 
>>> state is
>>> omitted)
>>> Is this possible?
>>>
>>> Thanks in advance.
>>>
>>> Regards,
>>> Enrique
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Can a portlet refresh the portal page?

Posted by Enrique Perez <pe...@dit.upm.es>.
Thanks a lot Aaron.

I will try to do it via javascript... I hope it works =)


Aaron Evans escribió:
> If you create an action URL from your portlet's render response, then
> clicking that link (or by some javascript trickery) will call the
> action phase of your portlet and the render phases of all the portlets
> in that page by definition.
>
> You can of course always just reload the current location (ie. current
> browser URL) via javascript...
>
>
> On 3/6/07, Enrique Perez <pe...@dit.upm.es> wrote:
>> Hi,
>>
>> Is it possible to call the portal page to refresh from a portlet which
>> is inside that portal page?
>> Just as if I were clicking on the tab...
>>
>> I mean, I have a portlet in some psml page (supposed A.psml, at
>> http://localhost:8080/jetspeed/portal/A.psml)...
>> That portlet leads in one case to an exception state of the web
>> application which is connected to... But it can be omitted to the user
>> if I can make the portal to call again the page URL where the portlet
>> is... (if I click on the "Go To" browser button, that exception state is
>> omitted)
>> Is this possible?
>>
>> Thanks in advance.
>>
>> Regards,
>> Enrique
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Can a portlet refresh the portal page?

Posted by Aaron Evans <aa...@gmail.com>.
If you create an action URL from your portlet's render response, then
clicking that link (or by some javascript trickery) will call the
action phase of your portlet and the render phases of all the portlets
in that page by definition.

You can of course always just reload the current location (ie. current
browser URL) via javascript...


On 3/6/07, Enrique Perez <pe...@dit.upm.es> wrote:
> Hi,
>
> Is it possible to call the portal page to refresh from a portlet which
> is inside that portal page?
> Just as if I were clicking on the tab...
>
> I mean, I have a portlet in some psml page (supposed A.psml, at
> http://localhost:8080/jetspeed/portal/A.psml)...
> That portlet leads in one case to an exception state of the web
> application which is connected to... But it can be omitted to the user
> if I can make the portal to call again the page URL where the portlet
> is... (if I click on the "Go To" browser button, that exception state is
> omitted)
> Is this possible?
>
> Thanks in advance.
>
> Regards,
> Enrique
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org