Greg Reddin ha scritto:
I think we still want to support it in the DTD for the <definition>
tag. When I've used controllers I've always declared them in the
tiles-defs.xml file.
Uh yeah forgot it :-)
* Controller for the class (or maybe TilesController) -
controllerClass and controllerUrl for tag attributes
Possible names could be:
Well, it's the controllerUrl I have the most trouble with. I don't
have any problem with declaring a class to be executed to prepare the
view. But an URL? An URL will always resolve to something - return a
response - and I don't think these view preparers should return
anything or resolve anything. They should simply be capable of
manipulating the context - preparing the context for the view (IMHO).
You're right, also because if you specify the URL directly in the
"template" attribute you have the same result. So maybe "controllerUrl"
should not be there.
Ciao
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]