Christine,
I misunderstood your intention. I guess rather than redirecting you want to
provide some sort of completion message, right? Then, after completing the
action, use rundata.setMessage() method to provide a message. In your .jsp
template, use rundata.getMessage() to retrieve it and display it:
<%
String message = ((RunData) request.getAttribute("rundata")).getMessage();
if (message != null) {
%>
<p><b><%=message%></b></p>
<%
}
%>
Hope this helps.
Best regards,
Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: [EMAIL PROTECTED]
web: http://www.ngsltd.com
> -----Original Message-----
> From: Christine Q. [mailto:Bella-C@;gmx.net]
> Sent: Thursday, October 24, 2002 10:01 AM
> To: 'Jetspeed Users List'; [EMAIL PROTECTED]
> Subject: AW: setTemplate / JspPortletAction
>
>
> Hey Mark,
>
> when I use rundata.setScreenTemplate("template") for redirecting on jsp
> file this file will be opened in my browser window and not placed in the
> previous portlet. Do you know how to open it in the portlet window? When
> there isn't a possibility I guess I have to find another solution.
>
> Ciao Christine
>
>
> -----Urspr�ngliche Nachricht-----
> Von: Mark Orciuch [mailto:mark_orciuch@;ngsltd.com]
> Gesendet: Donnerstag, 24. Oktober 2002 16:34
> An: Jetspeed Users List
> Betreff: RE: setTemplate / JspPortletAction
>
> Christine,
>
> I tried setTemplate method and it doesn't seem to work. I have to look
> into
> it. For now, you can use rundata.setScreenTemplate("template") in your
> "do"
> method to redirect to another .jsp file.
>
> Best regards,
>
> Mark C. Orciuch
> Next Generation Solutions, Ltd.
> e-Mail: [EMAIL PROTECTED]
> web: http://www.ngsltd.com
>
>
> > -----Original Message-----
> > From: Christine Q. [mailto:Bella-C@;gmx.net]
> > Sent: Thursday, October 24, 2002 8:00 AM
> > To: [EMAIL PROTECTED]
> > Subject: setTemplate / JspPortletAction
> >
> >
> > Hi all,
> >
> > I have a question about how to use the setTemplate method in
> > JspPortletAction / JspAction. My intention is to redirect to another
> jsp
> > page after passing the doSomething method.
> > For Example a user has clicked the submit button in a form. First the
> > relating "do" method is called, which manipulates the passed data.
> After
> > that I want to redirect to another jsp file. This file shall inform
> the
> > user what has been made with the data. This jsp file shall be placed
> in
> > the portal page where the jsp file with the form has been before.
> >
> > Ciao Christine
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:jetspeed-user-help@;jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:jetspeed-user-help@;jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:jetspeed-user-help@;jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>