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

JS error occurs if contextMenu is attached to panelBar.

    Details

    • 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:
      None
    • Environment:
      FF, IE

      Description

      <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>
      <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:panelBarItem>
      <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>
      </rich:contextMenu>
      </rich:panelBar>

      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

          Activity

          Hide
          akushunin Alexej added a comment -

          figsed

          Show
          akushunin Alexej added a comment - figsed
          Hide
          ilya_shaikovsky Ilya Shaikovsky added a comment -

          please merge this

          Show
          ilya_shaikovsky Ilya Shaikovsky added a comment - please merge this
          Hide
          akushunin Alexej added a comment -

          merged

          Show
          akushunin Alexej added a comment - merged

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development