0

In reference to the question css file with version appending, is there any way to use JSF builtin resource library versioning in JSF 1.2?

The tags <h:outputStylesheet> and <h:outputScript> are not available in JSF 1.2.

Community
  • 1
  • 1
mbulau
  • 359
  • 1
  • 7
  • 19

1 Answers1

0

AFAIK jsf1.2 doesn't support version appending.

For our application we have implemented this mechanism manually by means of a system property.

<link href="/gcdm/style/basic_#{g:getSystemProperty('cssVersion','1.0')}.css" rel="stylesheet" type="text/css" media="all" />

For g: details you can refer this link

Now with every release we just update the System Property and put in the new css file.

Hope this helps!!!

Community
  • 1
  • 1
Bharat Sinha
  • 13,973
  • 6
  • 39
  • 63