Hi,
In an action method, I can redirect to a different pass url parameters and
redirect to a different url page as shown below:
public String login() {
//logic...
try
{
String contextPath = eContext.getRequestContextPath();
String servletPath = eContext.getRequestServletPath();
String viewId = context.getViewRoot().getViewId();
System.out.println(contextPath +
"/home.jsf?actionType=logout");
eContext.redirect(eContext.encodeActionURL(contextPath +
"/home.jsf?actionType=logout"));
}
catch (Exception e)
{
}
return null;
}
However, I'd like to do the same thing but use the jsf mechanism. How can I
pass url parameters in to another page using the jsf framework ?
Thanks,
Marc
--
View this message in context:
http://www.nabble.com/passing-url-parameters-in-jsf-action-method-tf4774747.html#a13659062
Sent from the MyFaces - Users mailing list archive at Nabble.com.