portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: PortletURL not executing
Date Thu, 16 Oct 2008 07:03:00 GMT

On Oct 14, 2008, at 7:55 AM, JetWork wrote:

>
> I have a jsp page containing a button, on click of button i invoke the
> following javascript method
>
> function <%=NSP%>doSubmit(btnName){
>
>                if(btnName == "Finish"){
> 		
> 		form.action = "<%=finishFromStep3URL.toString()%>" +
> <%=NSP%>getIterationParameters()
>                form.submit();
> 		}
> }
>
> , and finishFromStep3URL is created in scriplet like this:
> <%
> PortletURL finishFromStep3URL= renderResponse.createActionURL();
> finishFromStep3URL.setParameter("action", "myfolder/folder/ 
> customview");

Is this supposed to be a link to another page?
Regardless all PortletURLs always point back to the portal
If you want to redirect to another page try using the portlet api to  
do that in your process action


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


Mime
View raw message