Examples
The Body component is used here to dynamically set the page's background
color using the informal parameter 'bgcolor'.
Please also see the Shell example which illustrates
how to integrate style sheets into your applications.
Your account of $645.35 is 2 Months overdue. | |
<body jwcid="@Body" bgcolor="ognl:statusColor">
Your account <span jwcid="@Insert" value="ognl:accountStatus"/>.
</body>
<property-specification name="accountStatus" type="java.lang.String" persistent="yes"/> <property-specification name="statusColor" type="java.lang.String" persistent="yes"/>
public abstract class AccountPage extends BasePage {
public void setAccountStatus(String accountStatus);
public void setStatusColor(String statusColor);
}
|