Hi, I'm trying to do something similar like this (http://
chillenious.wordpress.com/tag/wicket/page/2/) but instead of a
"dynamic" javascript, i want to modify a css style.
The next code is similar to the previous page:
Map<String, CharSequence> cssMap = new MiniMap<String, CharSequence>
( 1 );
cssMap.put( "fieldWidth", txtWidth );
TextTemplateHeaderContributor.forCss( Spinner.class, "Spinner.css",
new Model( (Serializable) cssMap ) );
That works perfect, because if I print the content of the template,
the ${fieldWidth} is replaced by 12.
System.out.println(TextTemplateHeaderContributor.forCss
( Spinner.class, "Spinner.css", new Model( (Serializable) cssMap ) ));
But I don't see the code in the header. I'm missing something?.
I'm using 2.0-SNAPSHOT (checkout from today)
Thanks in advice.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user