ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-332

Composite Component - EditableTable throwing exceptions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P03
    • Fix Version/s: EE-1.8.2.GA_P04
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      IceFaces EE 1.8.2.GA_P03, Tomcat 7, JSF 1.2_15-B02, Chrome 16, Firefox 8, IE 9 (latest versions)

      Description

      1. Set up a sample IceFaces EE 1.8.2.GA_P03 project.

      2. Add code from attachedFiles to your project:
       - welcomeICEfaces.xhtml page:
      - Employee.java
      - EditableTableEventListener.java
      - PhonebookBean.java

      3. Compile, build & Run application.

      4. Notice in the server log the following exception appear each time you load welcome page:

      java.lang.IllegalArgumentException: Could not find the MenuPopup UIComponent referenced by attribute menuPopup="editableTable_namecol_createRowMenu" in UIComponent of type: com.icesoft.faces.component.ext.HtmlPanelGroup with id: "j_id28"
      at com.icesoft.faces.component.menupopup.MenuPopupHelper.findMenuPopup(MenuPopupHelper.java:140)
      at com.icesoft.faces.component.menupopup.MenuPopupHelper.renderMenuPopupHandler(MenuPopupHelper.java:54)
      at com.icesoft.faces.component.ext.renderkit.GroupRenderer.encodeBegin(GroupRenderer.java:171)
      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:816)
      at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:355)
      at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:364)
      .....
      (for full stack trace refer to the attached serverLog.rtf)

      5. Click on any row in the editable table to crash application with an exception demonstrated in attached screenshots. (see Screenshot1.jpg & Screenshot2.jpg)
      1. EditableTableEventListener.java
        1 kB
        Evgheni Sadovoi
      2. Employee.java
        0.8 kB
        Evgheni Sadovoi
      3. PhonebookBean.java
        2 kB
        Evgheni Sadovoi
      4. serverLog.rtf
        44 kB
        Evgheni Sadovoi
      5. welcomeICEfaces.xhtml
        1 kB
        Evgheni Sadovoi
      1. Screenshot1.jpg
        49 kB
      2. Screenshot2.jpg
        399 kB

        Issue Links

          Activity

          Hide
          Philip Breau added a comment -

          *30723 3/11/12 9:37 AM 7 philip.breau IPCK-332 Composite Component - EditableTable throwing exceptions

          Show
          Philip Breau added a comment - *30723 3/11/12 9:37 AM 7 philip.breau IPCK-332 Composite Component - EditableTable throwing exceptions

            People

            • Assignee:
              Unassigned
              Reporter:
              Evgheni Sadovoi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: