This is the way I tried, but it works not for me.
Init-method
FacesContext facesContext = FacesContext.getCurrentInstance();
NavigationHandler navigationHandler =
facesContext.getApplication().getNavigationHandler();
navigationHandler.handleNavigation(facesContext,
"#{projekteFace.fake}","
>From: gerrit [EMAIL PROTECTED]
>
>This is the way I tried, but it works not for me.
>
>Init-method
>FacesContext facesContext = FacesContext.getCurrentInstance();
>NavigationHandler navigationHandler =
>facesContext.getApplication().getNavigationHandler();
> navigationHandler.handleNavigati
e.jsp}","successAufgaben");
facesContext.renderResponse();
Your from view id has to match. Also note my previous mail about doing it
this way.
Hermod
-Opprinnelig melding-
Fra: gerrit [mailto:[EMAIL PROTECTED]
Sendt: 5. mars 2007 13:10
Til: user@shale.apache.org
Emne: Re: [s
On 3/5/07, gerrit <[EMAIL PROTECTED]> wrote:
This is the way I tried, but it works not for me.
Init-method
FacesContext facesContext = FacesContext.getCurrentInstance();
NavigationHandler navigationHandler =
facesContext.getApplication().getNavigationHandler();
navigationHandler.handleNav
Hi
If I output the view root ViewId I get the following:
ViewRoot1: /faces/projekte.jsp
ViewRoot2: /faces/aufgaben.jsp
FacesContext facesContext = FacesContext.getCurrentInstance();
log.debug("ViewRoot1: "+facesContext.getViewRoot().getViewId());
NavigationHandler navigationHa
-
From: gerrit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2007 10:04 AM
To: user@shale.apache.org
Subject: Re: [shale-validator] view controller – site navigation
Hi
If I output the view root ViewId I get the following:
ViewRoot1: /faces/projekte.jsp
ViewRoot2: /faces/aufgab