Greg Reddin ha scritto:

On Oct 10, 2006, at 3:31 AM, Antonio Petrelli wrote:

Last night (I should sleep, I know :-P ) I thought that "named preparers" could be introduced. I mean, instead of specifying the prepared class directly, they can be configured in tiles-defs.xml through a <preparer> element (and eventually in a <tiles:preparer> tag for page-scoped preparers) just like definitions are configured, then a "preparer" attribute could be added to <definition> and <tiles:definition> (and probably <tiles:insert> too) specifying the name and not the class.
How does it sound to you?

Is there any benefit to this other than not having to type the class name multiple times? If not, I'm not sure I see a big advantage, but I'm not against the idea.

They will be instantiated only once, just like Struts' actions.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to