[jboss-user] [JBoss Portal] - Re: styling/css issue when running pages with richfaces unde

u268 do-not-reply at jboss.com
Sun Aug 24 14:36:09 EDT 2008


I'm defining styles in jboss-portlet.xml:


  | <portlet>
  | 		<portlet-name>tList</portlet-name>
  | 		<header-content>
  | 			<script src="/faces/rfRes/org/ajax4jsf/framework.pack.js"
  | 				type="text/javascript">
  | 			</script>
  | 			<script src="/faces/rfRes/org/richfaces/ui.pack.js" type="text/javascript">
  | 			</script>
  | 			<link rel="stylesheet" type="text/css"
  | 				href="/styles/mmm-skin-local.css" />
  | 		</header-content>
  | </portlet>
  | 

But I still on 1st request see in page HTML source weird CSS link:
<link rel="stylesheet" type="text/css" href="/mmm/faces/rfRescss/table.xcss/DATB/eAELXT5DOhSIAQ.sA18_?org.jboss.portletbridge.NAMESPACE=jbpns_2fmmm_2fE_2dC_2fT_2fT_20Listsnpbj">

It is right before rich:dataTable rendered HTML.
I did not find a way to turn off this link generation.

So my workaround here was to put links to my CSSs at end of page so it now overrides that unwanted one.



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

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



More information about the jboss-user mailing list