Re: [shale-validator] view controller – site navigation

2007-03-05 Thread gerrit
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}","

Re: [shale-validator] view controller site navigation

2007-03-05 Thread Gary VanMatre
>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

SV: [shale-validator] view controller - site navigation

2007-03-05 Thread Hermod Opstvedt
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

Re: [shale-validator] view controller – site navigation

2007-03-05 Thread Craig McClanahan
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

Re: [shale-validator] view controller – site navigation

2007-03-06 Thread gerrit
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

Re: [shale-validator] view controller – site navigation

2007-03-06 Thread Craig McClanahan
- 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