0 Replies Latest reply on Nov 18, 2012 1:37 PM by zenig

    Header File Links Double Extension

    zenig

      Environment: Seam 2.3.0; Richfaces 4.2.3; JBoss AS 7.1.1

       

      Looking at my webpage's source code, I see script and CSS links like the following:

      <script type="text/javascript" src="/javax.faces.resource/richfaces.js.xhtml">

      The additional extension appears to be added by JSF or Richfaces.

       

      All my hardcoded non-JSF links like the one below output fine (without the added .xhtml extension):


       

      Is there a way to clean up these links so they look like "/javax.faces.resource/richfaces.js", removing the ".xhtml" extension?

       

      Shawn