Try...
IModel skinModel = new AbstractReadOnlyModel() {
private static final long serialVersionUID = 1L;
@Override
public Map getObject() {
Map<String, CharSequence> variables = new
HashMap<String,
CharSequence>(1);
variables.put("brand", urlFor(new
ResourceReference(HomePage.class, ""))
+ "brandxx");
return variables;
}
};
add(TextTemplateHeaderContributor.forCss(HomePage.class,
"style.css",
skinModel));
shetc wrote:
>
> There is a style and it still doesn't work.
>
-----
http://ntsrikanth.blogspot.com/
--
View this message in context:
http://www.nabble.com/How-to-use-TextTemplateHeaderContributor.forCss-method--tp20411565p20463802.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]