Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-316

JSF Component javascript not being rendered

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0-M3
    • 2.1
    • Demo Portlets
    • None
    • Windows XP, Jakarta Tomcat 5.5.9, Jetspeed 2.0 M3, JDK 1.5.0_04, MyFaces 1.09

    Description

      The x:swapImage component is not generating the link to it's javascript file. I had a look at the myfaces render class for it (HtmlSwapImageRenderer), and it includes the following line:

      Line 57: AddResource.addJavaScriptToHeader(HtmlSwapImage.class, "swapimage.js", facesContext);

      I assume that the JSF framework will then add a link to this javascript file in the header. But it is not being included in the portal page.

      Attachments

        Activity

          People

            shinsuke Shinsuke Sugaya
            uglyog Ronald Holshausen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: