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

JSF Component javascript not being rendered

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0-M3
    • Fix Version/s: 2.1
    • Component/s: Demo Portlets
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: