Hi Antonio,
Thank you so much for a response regarding a new attribute type.
What I want to do is a new attribute type of a "WebWork" (or Struts2)
type. This is basically the same as putting in a Tile attribute a JSP that
is executing a WebWork action (with the provided action tag), ex:
A Tile:
<definition name="app.page.home" extends="core.page" >
<put-attribute name="title" value="Home"/>
<put-attribute name="body" value="..."/>
<put-attribute name="dynamicFooter" value="DynamicFooter.jsp"/>
</definition>
the DynamicFooter.jsp:
<ww:action name=" DynamicFooter" executeResult="true" />
By writing such an attribute I want to avoid creation of those small,
intermediate "action JSPs". At the same time it would allow me to build
pages from "true" components, having their own controllers. For me this is
a legitimate use case - what do you think? Is there a better way to
achieve this?
Of course changing BasicTilesContainer would be possible (the code is
really clean and readable) but hey, I would like to benefit from future
releases of Tiles2 and not to start my own branch ;-)
Once again, thnx for the response.
Cheers,
Pawel
PS Sorry for not linking this post with a thread - from now on I'll be a
good citizen - I've subscribed to the list :-)