Hi Mahaveer,

Thanks for the reply.

It is a JSPPortlet.

And you are right. The the new window opens in the portlet environment with decorators and everything. Now when you say use onload, the problem is I dont have any html tags. They are in the decorator headers. The portlet only renders content for that portlet and not for the entire HTML page ..

Any suggestions :-(



----Original Message Follows----
From: Mahaveer Jain <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[email protected]>
To: Jetspeed Users List <[email protected]>
Subject: Re: Struts Bridge - Redirect from action
Date: Thu, 13 Oct 2005 18:22:45 -0400

Amit,
 First of all what type of portlet are you using: Is it JSPPortlet or
iFramePortlet?
 One important thing, when you submit a page, it would return to the
portlet, so the new page may open in the portlet.
 So what you may like to do this after you finish your processing, you come
back to whatever page in the portlet and then you may call body onload which
opens this page
www.xyz.com?param1=val1&param2=val2<http://www.xyz.com?param1=val1&param2=val2>
 And if you are using Javascript, use window.open('
www.xyz.com?param1=val1&param2=val2<http://www.xyz.com?param1=val1&param2=val2>',
...) check for other parameters in some book or website.
 hope this helps.
Mahaveer
 On 10/10/05, Shah Amit <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Jetspeed M3, Tomcat 5.0.28, Struts-Bridge is my environment. Now my
> website
> is lets say --
>
> www.abc.com <http://www.abc.com>
>
> I have a form on my webpage. When that form is submitted, I want to do
> some
> processing in my action, and then redirect to a completely different
> website
> -
>
> ww.xyz.com <http://ww.xyz.com> which is totally different from my current
> website
>
> It is important that I redirect to this "new website" from my action
> because
> I need to do some processing in my action and based on that I need to pass > some parameters -- www.xyz.com?param1=val1&param2=val2<http://www.xyz.com?param1=val1&param2=val2>
>
> Is it possible to do this ? I tried doing this, but the portal always
> picks
> it up ...
>
> Thanks,
> Amit
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to