deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Kaltepoth <christ...@kaltepoth.de>
Subject Re: URL Rewriting
Date Fri, 15 Nov 2013 23:30:25 GMT
Thanks Gerhard. Building a Rewrite module for integration with DeltaSpike
should be easy with this API.


2013/11/15 Gerhard Petracek <gerhard.petracek@gmail.com>

> @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 <christian@kaltepoth.de>
>
>> 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 <thorsten.kisner@gmail.com>
>>
>> > 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message