tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From netdawg <net.d...@yahoo.com>
Subject Re: Can Component Template be Informed by Page Class
Date Wed, 02 May 2012 20:06:41 GMT
OK...I think I got it...this works...swapping the property to the component
instead and have it intercept the page request


<htmlelement id="${pageProperty}" />
<t:body />

Layout.java : 
public class Layout
{ 
  @ActivationRequestParameter
  @Property 
  private String pageProperty= "default"; 
} 


Index.java is now empty

But Index page will have to be called by invoked index?pageProperty=

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Can-Component-Template-be-Informed-by-Page-Class-tp5681397p5681501.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Mime
View raw message