hello marc,

i'm not sure if i got your question/idea... - why do you need a (special)
parameter to login/logout?
just a try to answer your question:
did you already consider to use simple navigation rules instead of
parameters?

regards,
gerhard



2007/11/9, nikkomarc <[EMAIL PROTECTED]>:
>
>
> 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.
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to