Hi! Harald, Florian,
the plan is to check the consistency at boot time via an Extension. We already have to parse the ViewConfig at boot time. It is planed to also validate if the xhtml pages which are configured via the ViewConfig do exist. I have not verified if this is already implemented. Please file a JIRA for it. LieGrue, strub ----- Original Message ----- > From: "i...@softwareentwicklung-hell.de" <i...@softwareentwicklung-hell.de> > To: deltaspike-users@incubator.apache.org > Cc: > Sent: Thursday, March 28, 2013 10:43 AM > Subject: Re: Goals for JSF examples? > > Hello Harald, > > one interessting approach is when you're developing an application for > different presentation layers e.g. JSF and SWT. With the "typesave" > Viewconfig you are abled to build one single java based navigation handling > and > use it in multiple presentation layers, apart from faces-config.xml > > Just for simple JSF applications I would use it just for security reasons > with > @Secured Annotation. > > Regards > Florian > > Quoting Harald Wellmann <hwellmann...@gmail.com>: > >> Yes, I've seen these slides before. But I don't see what problem >> you're trying to solve. There are lots of annotations with unclear >> purpose. To me, this looks like a simple thing (i.e. navigation by >> view name, without faces-config.xml navigation rules) made complex for >> no obvious benefit. >> >> What does it help to have a class Pages.Index corresponding to >> /pages/index.xhtml? If I rename index.xhtml to welcome.xhtml, I >> probably have to rename Pages.Index to Pages.Welcome, there is no IDE >> refactoring doing that for me. So what's the point....? >> >> Best regards, >> Harald >> >> >> 2013/3/27 Gerhard Petracek <gerhard.petra...@gmail.com>: >>> hi harald, >>> >>> for now you could have a look e.g. at [1] (esp. slide #4). >>> >>> regards, >>> gerhard >>> >>> [1] >>> > http://os890.blogspot.co.at/2012/02/slides-make-jsf-more-type-safe-with-cdi.html >>> >> >