Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-1916

JS error occurs if contextMenu is attached to panelBar.


    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.1.4, 3.2.0
    • Component/s: None
    • Labels:
    • Environment:

      FF, IE


      <rich:panelBar height="400" width="500">
      <rich:panelBarItem label="Create a modern rich user interface look-and-feel with skins-based technology">
      Ajax4jsf provides a skinnability feature that allows easily define and manage different color schemes and other parameters of the UI with the help of named skin parameters. Hence it is possible to access the skin parameters from JSP code and the Java code (e.g. to adjust generated on-the-fly images based on the text parts of the UI). Note: skinnability is not an equivalent of traditional CSS, but a complement.
      <rich:panelBarItem label="Test the components, actions, listeners, and pages as you are creating them">
      An automated testing facility is in our roadmap for the near future. This facility will generate test cases for your component as soon as you develop it. The testing framework will not just test the components, but also any other server-side or client-side functionality including JavaScript code. What is more, it will do all of this without deploying the test application into the Servlet container.
      <rich:contextMenu event="oncontextmenu" attached="true" submitMode="none">
      <rich:menuItem value="Zoom In" id="zin"></rich:menuItem>
      <rich:menuItem value="Zoom Out" id="zout"></rich:menuItem>

      Error in FireBug:
      this.header has no properties
      [Break on this error] this.header.onclick=this.headerOnClick.bindAsEventListener(this);
      panelbar.js.jsf (line 196)

      Panel bar don't work after page loaded, context menu works fine.

        Gliffy Diagrams




              • Assignee:
                ayanul Aleksej Yanul
                sergeyhalipov Sergey Halipov
              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created: