In general, I doubt that you're going to find much support for that kind of approach.  This is because you'd be hard-coding styles into the component, which make them difficult to "skin" later on without changing code.
 
-jjk


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ayodeji Aladejebi
Sent: Wednesday, July 19, 2006 1:46 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] More CSS support in wicket?

Please can one regex expert give me the regex for retrieving name from ${name}?

Thanks and for CSS integration, i dream of this:

@CSS (
 font-family="Verdana",
[EMAIL PROTECTED]("bg.gif,MyPanel.class")}
)
private class MyPanel extends Panel {

}

will generate this header for the panel:

<style type="text/css">
.[panel_id] {
 font-family="Verdana...";
}
</style>

its a dream :)

On 7/19/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
* Eelco Hillenius:
> Did you take a look at what's in wicket.extensions.util.resource? I
> think that package has exactly what you are looking for, e.g.
> PackagedTextTemplate.

I can't find it neither in Wicket's API documentation nor in
Wicket Extensions's.  Do you have a link please?
--
     Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/

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



--
"It takes insanity to drive in sanity" - Me

Aladejebi Ayodeji A.,
DabarObjects Solutions
Email: [EMAIL PROTECTED]
Mobile: +234 803 589 1780
Web: www.dabarobjects.com

Community:
www.cowblock.net
-------------------------------------------------------------------------
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