Thanks, Archana.

I want to redirect to the Jetspeed Home page from my action event handler.
In my action:

public void doEvent(RunData rundata, Portlet portlet)
{
    // Here I want to redirect to Jetspeed Home
}

setTemplate will only select another template for my portlet, I want to
redirect to a completely different page...

-Stijn


----- Original Message ----- 
From: "Archana Turaga" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 09, 2004 4:17 PM
Subject: Re: Redirection with DynamicURI, what is $jslink?


Check out the JSPSTOCKQUOTE example. That will give you an idea of using
actions in JSP. To redirect to a template...you can use setTemplate (the jsp
page) .
Hope that helps

>>> [EMAIL PROTECTED] 03/09/04 07:01AM >>>
I found this snippet of .html on the user list, it supposedly sets up the
action in such a way as to allow redirection from a Velocity action event.
However, it does so, 'assuming Velocity'. does anybody know if something
like this is necessary to get redirection to work using jsp templates?

<!--Assuming Velocity-->
<form action="$jslink.setAction("myAction")">
<input type="submit" name="eventSubmit_doTest" value="Submit"/>
</form>

What is $jslink?
Does anyone know of a good tutorial/guide to redirection using the whole
DynamicURI thing?
Thanks.

-Stijn


---------------------------------------------------------------------
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