Yep fantastic thanks.
I already use a superclass for these 2 components (they are identical
except for how they provide/handle data) so this is the ideal solution.
p.
On 13/01/2012 10:59 PM, Thiago H. de Paula Figueiredo wrote:
On Fri, 13 Jan 2012 06:14:52 -0200, Kalle Korhonen
<[email protected]> wrote:
On Thu, Jan 12, 2012 at 11:45 PM, Paul Stanton <[email protected]>
wrote:
I have two components who's tml is identical.
Is it possible to have tapestry load the tml from one location?
Yes, use inheritance:
http://tapestry.apache.org/component-templates.html
In other words, create a superclass for both in the base package, give
it the template you want shared, then create the components are
subclasses. If two components share the same template, I'd guess
they'd share some code too, so probably the superclass won't be empty.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]