portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joachim Müller <joac...@wemove.com>
Subject Re: how to call psml from a portlet's doView method.
Date Mon, 23 Jan 2006 10:12:06 GMT
Hi I have 2 questions for this case:


1.) Is this a HTTP redirect response that travels back to the browser
and results in a new request?

@Parambathu quick and dirty alternativ: specify a link in your template
that points to the page

<a href="portal/cognizant/home.psml">


2.) How can I specify parameters for a portlet on another page? Is there
another way than:

response.sendRedirect("/jetspeed/portal/cognizant/home.psml?param=...");





joachim


David Sean Taylor wrote:
> Parambathu Kandy, Yasser Arafat (Cognizant) wrote:
>> Hi,
>>
>> I have a portal page with 7 portlets using j2.
>>
>>
>> In one of the portlet, clicking on submit should take me to another page
>> with 3 portlets.
>>
>>
>> Is it possible to call the psml directly from the portlet doView method
>> ? if yes, how is it done?
>>
> The portlet should post back to itself (and the same page) to execute
> the action correctly. At the end of your action, after you have
> processed everything else, you may redirect to another portlet page with
> the ActionResponse.sendRedirect method:
> 
> http://www.bluesunrise.com/portlet-api/javax/portlet/ActionResponse.html#sendRedirect(java.lang.String)
> 
> 
>     public void processAction(ActionRequest request,
>             ActionResponse response) throws PortletException, IOException
>     {
>     ...
>      response.sendRedirect("/jetspeed/portal/cognizant/home.psml");
>     }
> 
>>
>>
>>
>> Also, I don't want to use an external link to call a psml.
>>
>> The processAction of the portlet should perform certain logic before
>> navigating to the next page.
>>
>>
>>
>>
>>
>>
>>
>> help needed desperately,
>>
>>
>>
>>
>> Thanks in advance,
>>
>>
>> Yasser
>>
>> This e-mail and any files transmitted with it are for the sole use of
>> the intended recipient(s) and may contain confidential and privileged
>> information.
>> If you are not the intended recipient, please contact the sender by
>> reply e-mail and destroy all copies of the original message.
>>
>> Any unauthorised review, use, disclosure, dissemination, forwarding,
>> printing or copying of this email or any action taken in reliance on
>> this e-mail is strictly
>>
>> prohibited and may be unlawful.
>>
>>   Visit us at http://www.cognizant.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>
> 
> 


-- 

. frankfurt am main, -6°c, die gefühlte temperatur
  liegt bei -12°c. zur zeit keine wolken unter 1500 m
  und keine kumulunimbus oder gewitterwolken. die
  sichtweite reicht weiter als 10 km.

< joachim müller
  joachim@wemove.com
  t +49 69 759003 11

  wemove digital solutions GmbH
  www.wemove.com



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


Mime
View raw message