Hmm im not completly sure on what you mean. But you could either have a link to 
the css and use the wicked:head tag to link to it if you are using a panel, or 
the same just using a package resource reference.

You could take a looking how the wicket.extensions.palette handles this 
(although as I remember it does this for javascript .js files but the same 
should apply for .css)


Regards Nino

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manuel Barzi
Sent: 2. oktober 2006 09:49
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] Fwd: Can we totally separate styles?

Dear Sirs,

Have data list with navigation & sortable columns & radio buttons to
select - exclusively - rows... as follows:

RadioSel   SortRow1     SortRow2
=======================
(o)              data...          data...
(o)              data...          data....

the original html has its styles, but when handling this view at
Wicket's java-side, had no other choice than hard-coding the style as
following (example) by means of OrderByLink.CssProvider:

radioGroup.add(new
OrderByBorder("CaocMantenimentRolsCertficatsCiutadaPage-order-2",
"CaocMantenimentRolsCertficatsCiutadaPage-field-2", provider, new
OrderByLink.CssProvider("celdaTablaRoja", "celdaTablaRoja",
"celdaTablaRoja")) { ... blah, blah, blah... }

This is not very good for us, as styles would depend on customer
preferences when this webapp will be in production...

What other alternatives do I have to correctly separate html-css-side
from java-side?

Thank you, in advance.

Regards.

M

-------------------------------------------------------------------------
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


-------------------------------------------------------------------------
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

Reply via email to