How would one get the Request object within Resource_View or is that even
possible?
The issue I need to solve is dynamically setting the view script path based
on a custom routing rule. Route rule: resources.router.routes.main.route =
":skin/:controller/:action/*" resources.router.routes.main.defaults.skin =
"default" resources.router.routes.main.defaults.controller = "join"
resources.router.routes.main.defaults.action = "index" I need to change the
script path to: $viewRenderer->setViewBasePathSpec( 'views/:skin' );
However, I keep getting: A replacement identifier : was found inside the
inflected target, perhaps a rule was not satisfied with a target source?
It's not understanding ':skin'. Is there some way to get this working right?
I'm attaching the view through the Bootstrap resource method:
$bootstrap->registerPluginResource( new PPC_Application_Resource_View() );



---
Philip
[email protected]
http://www.gpcentre.net/

Reply via email to