You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kurtis Williams <kw...@mshare.net> on 2005/01/31 20:14:25 UTC

Dynamic Template Location?

I've got a page that I'd like to re-use the .html template and the java
class, but NOT the .page.  It's the same exact page used in two places
in my application, but the properties of the .page are different.

So, what I'd really like to do is have true page inheritance, including
the specifications, and then simply change what is different.  But I
don't see any way to do that.

Instead, is it possible to have the same .html template used by two
different .page files?  This would screw up Spindle, no doubt!

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Dynamic Template Location?

Posted by Mikaël Cluseau <nw...@nwrk.dyndns.org>.
Le lundi 31 janvier 2005 à 12:14 -0700, Kurtis Williams a écrit :
> I've got a page that I'd like to re-use the .html template and the java
> class, but NOT the .page.  It's the same exact page used in two places
> in my application, but the properties of the .page are different.
> 
> So, what I'd really like to do is have true page inheritance, including
> the specifications, and then simply change what is different.  But I
> don't see any way to do that.
> 
> Instead, is it possible to have the same .html template used by two
> different .page files?  This would screw up Spindle, no doubt!

Under Linux you can use a symbolic link ;-) This requires that the page
is in an "exploded" context, thought.

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org