Just put in the attribute. So, if you wanted color, you would put
color="blue". If you need it to be variable, then I usually do something like:
.html:
<td jwcid="class1">
.jwc:
<component id="class1" type="Any">
<binding name="class" expression="classType"/>
</component>
.java:
public String getClassType()
{
if (lastIndex == -1)
return "plain";
else
return "disabled";
}
HTH,
Mark
-----Original Message-----
From: Aj Gregory [mailto:[EMAIL PROTECTED]
Sent: Thu 3/30/2006 5:30 PM
To: Tapestry users
Subject: Informal parameters in component html template
How do you insert the informal parameters in a component's html template?
Thanks!
-Aj
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]