2010年4月14日星期三

[fw-mvc] Problems with Routes

Hello,

i define the route

resources.router.routes.suche.route = Suche/:searchparam/:page
resources.router.routes.suche.defaults.controller = Suche
resources.router.routes.suche.defaults.action = __call
resources.router.routes.suche.defaults.page = 1
resources.router.routes.suche.defaults.searchparam =

everyhing works good with

Suche/
Suche/xyz
Suche/xyz/1

But if i call "Suche/?q=123" Zend Routes me to __call - this is not correct, because after "?" are GET Params.

How can i resolve that ?

Thanks
Marcel

没有评论: