[jboss-user] [JBoss Seam] - Using the expression language in CSS - CSS as XML

jrwsampson do-not-reply at jboss.com
Mon Dec 3 11:09:56 EST 2007


I would like to be able to use the expression language in my CSS files, so that I can do things like this:

<f:verbatim>
  | <style>
  | #sscontainer{
  | top: #{brandedPageManager.user.webpage.webpagetype.sspTop};
  | }
  | </style>
  | </f:verbatim>


This works fine inside the head element of my xhtml file, but I would like to be able to do the same thing in an externally linked file (for SEO reasons). What do I need to do to get Seam to parse the CSS file and perform the variable replacement?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109909#4109909

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109909



More information about the jboss-user mailing list