ICEfaces
  1. ICEfaces
  2. ICE-3053

panelPositioned not working with Acegi configuration

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      NA

      Description

      Can not get panelPositioned to work with Acegi configuration. Other components on the same page (panelCollapsible, inputText etc) work fine.

      May 6, 2008 10:24:17 AM com.icesoft.faces.component.panelpositioned.PanelPositionedRenderer encodeChildren
      SEVERE: Encode Children
      java.lang.ClassCastException: [Lcom.icesoft.icefaces.samples.PostionedPanelPerson;
      at com.icesoft.faces.component.panelpositioned.PanelPositionedRenderer.encodeChildren(PanelPositionedRenderer.java:190)
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
      at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:353)
      at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
      at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:629)
      at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:566)

        Issue Links

          Activity

          Hide
          Mark Collette added a comment -

          Is there a test case for this?

          Show
          Mark Collette added a comment - Is there a test case for this?
          Hide
          Mandeep Hayher added a comment -

          Yes, You can use ICE-3022 in the repo to test this.

          Show
          Mandeep Hayher added a comment - Yes, You can use ICE-3022 in the repo to test this.
          Hide
          Ken Fyten added a comment -

          This is still failing regression testing on Glassfish v2 only.

          failed on glassfish. When tested it manually, it could not be deployed to the local host. The following error shows in the log file: Error loading deployment descriptors for module ICE-1816 Line 83 Column 19 – Deployment descriptor file WEB-INF/web.xml in archive ICE-1816. Element type "dispatcher" must be declared.

          Summary

          renderedOnUserRole doesn't work with panelCollapsible

          environment: ACEGI 1.0.1

          The renderedOnUserRole attribute has no effect at all, the panels within the
          panelAccordion component get rendered no matter which role is specified.
          Steps Expected Results

          1. Load test application
          2. Log in use steve/icefaces as username/password
          3. Verify panelCollapsible is present
          4. Expand the collapsible panel
          5. Verify that the panel did expand
          6. Collapse the collapsible panel
          7. Verify that the panel did collapse

          • The component can behaves as though not using the attribute
          • The component is disabled when not using correct user role
          Show
          Ken Fyten added a comment - This is still failing regression testing on Glassfish v2 only. failed on glassfish. When tested it manually, it could not be deployed to the local host. The following error shows in the log file: Error loading deployment descriptors for module ICE-1816 Line 83 Column 19 – Deployment descriptor file WEB-INF/web.xml in archive ICE-1816 . Element type "dispatcher" must be declared. Summary renderedOnUserRole doesn't work with panelCollapsible environment: ACEGI 1.0.1 The renderedOnUserRole attribute has no effect at all, the panels within the panelAccordion component get rendered no matter which role is specified. Steps Expected Results 1. Load test application 2. Log in use steve/icefaces as username/password 3. Verify panelCollapsible is present 4. Expand the collapsible panel 5. Verify that the panel did expand 6. Collapse the collapsible panel 7. Verify that the panel did collapse The component can behaves as though not using the attribute The component is disabled when not using correct user role
          Hide
          Ken Fyten added a comment -

          This problem is related to the test app. config. not specifying the correct Servlet spec. version in the DOCTYPE. Glassfish validates this but Tomcat and others do not seem to. The fix involved changing the DOCTYPE to:

          <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://java.sun.com/xml/ns/j2eeweb-app_2_4.xsd"
          version="2.4" >

          Show
          Ken Fyten added a comment - This problem is related to the test app. config. not specifying the correct Servlet spec. version in the DOCTYPE. Glassfish validates this but Tomcat and others do not seem to. The fix involved changing the DOCTYPE to: <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2eeweb-app_2_4.xsd" version="2.4" >

            People

            • Assignee:
              Unassigned
              Reporter:
              Mandeep Hayher
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: