Details
-
Type: Bug
-
Status: Closed
-
Priority: 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)
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
- blocks
-
ICE-3022 panelPositioned: There is no security attributes for render and disable on user role.
- Closed
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" >