[TYPO3-50-general] Need help with Routing
Bastian Waidelich
bastian at typo3.org
Wed Feb 11 14:44:44 CET 2009
Christoph Blömer wrote:
Hi Christoph,
> yes I need help. I just played around a little, but I think the
> RoutePartHandler doesn't solve my problem.
I've built a RoutePartHandler that accepts infinitive URI segments and
successfully tested your requirements.
The respective Route config might look something like:
WebDAVRoute:
uriPattern: 'webdav/[path]'
defaults:
@package: 'WebDAV'
@controller: 'Default'
@action: 'index'
path: '/'
routePartHandlers:
path: 'F3\WebDav\RoutePartHandlers\PathRoutePartHandler'
I'd like to add this (and maybe a few more reasonable handlers) to the
FLOW3 package.
I've reworked a few parts of the Routing mechanism - Please give me a
couple of days to test and commit the changes. I hope I can do this
until this coming weekend.
btw: your WebDAV RoutePartHandler might even validate the input and only
match when the given path exists.
Bastian
More information about the TYPO3-project-5_0-general
mailing list