Would like put a property in the component that will be rendered only in the context of a page, picking up, say, a page property.
To illustrate, lets say we want Layout.tml to have the following pseudo-html-element: <htmlelement id="${pageProperty}" /> <t:body /> Layout.java is empty. Index.java: public class Index { @Property private String pageProperty= "indexProperty"; } Index.tml can be whatever, but would like to avoid putting html element in there to avoid repetition - the htmlelement could be very big - like a menu for the entire application, whereby the page property is used to customize the menu for the individual pages. Basically, is there is a way for a component to "inherit" properties of child component (page)? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Can-Component-Template-be-Informed-by-Page-Class-tp5681397.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org