You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by JetWork <mo...@gmail.com> on 2008/10/14 16:57:51 UTC

PortletURL excecution problem

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");
finishFromStep3URL.setParameter("view",
"com.customviews.ruleviews.TableRuleView");
finishFromStep3URL.setParameter("dbid",
(String)renderRequest.getAttribute("dbid"));
finishFromStep3URL.setParameter("createRuleAction","step4");
%>


When I click this button, it should go to TableRuleView class, but instead
it goes to Jetspeed Home page

I have one Filter also, it reaches till filter and then doesn't go to the
class

Please help 
-- 
View this message in context: http://www.nabble.com/PortletURL-excecution-problem-tp19975244p19975244.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


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