If you specify the navigation in the faces-config.xml, then you are already using a configuration parameter... I this case you would not have to define another web-context parameter...
The idea sounds like the "DefaultServlet" from Tomcat... easy to become addited to ;) regards Alexander -----Original Message----- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 9:52 AM To: MyFaces Development Subject: Re: Option for NavigationHandler to support viewIds as outcome I definitely think Ernst's idea is a good one - and I do think that a configuration-parameter for adding this would be optimal. The dummy-form stuff was not compatible with the RI, overwriting a navigation-handler in tomahawk, behaving differently if a configuration parameter is set; would of course be! regards, Martin On 10/30/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > look at the nh_impl. > > you see it :) > > On 10/30/06, Ernst Fastl <[EMAIL PROTECTED]> wrote: > > Hmm, sounds interesting, what exactly would you have in mind, > > something like a Callback for additional security checks which receives > > the viewId and then can check wheather or not access is allowed and > > return a boolean or so? > > > > On 10/30/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > > > Ernst, you also wanna check some of the *extensions* in the MyFAcesNH_Impl > > > > > > for accessing navigation cases. It is important in security cases to > > > *check* navigation cases ... > > > > > > so your impl could benefit from that ! > > > > > > On 10/29/06, Ernst Fastl <[EMAIL PROTECTED]> wrote: > > > > You're right, an alternate NavigationHandler shipped with MyFaces > > > > is probably the better choice let's go with that approach. > > > > > > > > thanks for your ideas > > > > > > > > On 10/29/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > > > > > > > 2) since in JSF 1.1 navigation outcomes are string it is completely possible > > > > > > > for a programmer to have a syntax error in out comes > > > > > > > > > > > > Sorry don't get your point here, if an action returns a misspelled outcome > > > > > > or a misspelled viewId you would not want to navigate in both cases right? > > > > > > > > > > I think he means the 404 error, ... > > > > > > > > > > > > > > > However, I kinda like stuff like that, but not configurable! > > > > > We had had enough fun with bogus features like dummyForm. > > > > > > > > > > We can provide a LazyNavigationHandlerImpl for that in Tomahawk and if > > > > > sb. really really > > > > > want that, use that particular NH. > > > > > > > > > > just my $0.02 > > > > > > > > > > -M > > > > > > > > > > > > > > > -- > > > > > Matthias Wessendorf > > > > > http://tinyurl.com/fmywh > > > > > > > > > > further stuff: > > > > > blog: http://jroller.com/page/mwessendorf > > > > > mail: mwessendorf-at-gmail-dot-com > > > > > > > > > > > > > > > > > > -- > > > Matthias Wessendorf > > > http://tinyurl.com/fmywh > > > > > > further stuff: > > > blog: http://jroller.com/page/mwessendorf > > > mail: mwessendorf-at-gmail-dot-com > > > > > > > > -- > Matthias Wessendorf > http://tinyurl.com/fmywh > > further stuff: > blog: http://jroller.com/page/mwessendorf > mail: mwessendorf-at-gmail-dot-com > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces