The ViewConfig definition is so clean you kinda just want to parse it yourself :-) Almost a shame it's not needed at all.
Christian, that module would be very well received I think, me personally would love to have it. cheers On 16 November 2013 00:30, Christian Kaltepoth <[email protected]>wrote: > Thanks Gerhard. Building a Rewrite module for integration with DeltaSpike > should be easy with this API. > > > 2013/11/15 Gerhard Petracek <[email protected]> > > > @christian: > > basically +1, however, you don't have to analyze it on your own > > (just use methods provided by > > org.apache.deltaspike.core.api.config.view.metadata.ViewConfigResolver -> > > ConfigDescriptor#getPath, ConfigDescriptor#getMetaData,...) > > > > regards, > > gerhard > > > > > > > > 2013/11/15 Christian Kaltepoth <[email protected]> > > > >> Hey Thorsten, > >> > >> I'm sorry for the delayed response. I'm busy as hell. As I'm also a > >> Rewrite > >> committer, I would like to raise my voice here. :) > >> > >> Currently there are no plans to add an URL rewriting feature directly to > >> DeltaSpike. I talked with Mark about this topic last week and he agreed > >> with me that DeltaSpike isn't the right place for this. > >> > >> Instead it would be possible to add a DeltaSpike integration module to > >> Rewrite which could basically allow to use Rewrite annotations on > >> DeltaSpike's view config types. I think it makes more sense to add the > >> integration code to Rewrite instead of DeltaSpike. Rewrite would just > have > >> to analyse the hierarchical structure of the view config to get the > >> view-id > >> which should be mapped. > >> > >> Other thoughts on this? > >> > >> Christian > >> > >> > >> > >> 2013/11/1 Thorsten Kisner <[email protected]> > >> > >> > Hello List, > >> > > >> > SEAM Faces has the great feature of integrated URL rewriting: > >> > > >> > @ViewPattern("/jsf/admin/index.xhtml") > >> > @UrlMapping(pattern="/admin") > >> > @LoginView("/jsf/loginRequired.xhtml") > >> > @AccessDeniedView("/jsf/accessDenied.xhtml") > >> > > >> > I don't find anything like this on the DeltaSpike web pages, the mail > >> > archive or JIRA. > >> > > >> > For SEAM-Faces the library PrettyFaces was used, currently the > successor > >> > of PrettyFaces "Rewrite" (http://ocpsoft.org/rewrite/) is available. > >> Are > >> > there any plans to integrate this into DeltaSpike or should URL > >> rewriting > >> > to be done outside of DeltaSpike? > >> > > >> > Thank you, > >> > Thorsten > >> > >> > >> > >> > >> -- > >> Christian Kaltepoth > >> Blog: http://blog.kaltepoth.de/ > >> Twitter: http://twitter.com/chkal > >> GitHub: https://github.com/chkal > >> > > > > > > > -- > Christian Kaltepoth > Blog: http://blog.kaltepoth.de/ > Twitter: http://twitter.com/chkal > GitHub: https://github.com/chkal >
