[Trinidad] AssertionError including commandLink within panelLabelAndMessage
I'm using JSF 1.2, Facelets 1.1.12, Trinidad 1.2.1 and am trying to include a commandLink within a panelLabelAndMessage component, but am getting an AssertionError. Is this a bug or am I doing something wrong? The JSF snippet in question is: The exception stack trace is as below. at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.CommandLinkRenderer.encodeBegin (CommandLinkRenderer.java:102) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeBegin( CoreRenderer.java:185) at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeBegin( UIXComponentBase.java:700) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild( CoreRenderer.java:271) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer.encodeChild (PanelGroupLayoutRenderer.java:177) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer._encodeChildren (PanelGroupLayoutRenderer.java:143) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer.encodeAll (PanelGroupLayoutRenderer.java:95) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd( CoreRenderer.java:208) at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd( UIXComponentBase.java:733) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild( CoreRenderer.java:287) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren( CoreRenderer.java:304) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelLabelAndMessageRenderer.renderFieldCellContents (PanelLabelAndMessageRenderer.java:105) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell (LabelAndMessageRenderer.java:375) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll (LabelAndMessageRenderer.java:270) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd( CoreRenderer.java:208) at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd( UIXComponentBase.java:733) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild( CoreRenderer.java:287) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormItem (PanelFormLayoutRenderer.java:746) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormColumns (PanelFormLayoutRenderer.java:672) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeChildren (PanelFormLayoutRenderer.java:313) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer.encodeAll (PanelFormLayoutRenderer.java:199) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd( CoreRenderer.java:208) at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd( UIXComponentBase.java:733) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild( CoreRenderer.java:287) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren( CoreRenderer.java:304) at org.apache.myfaces.trinidadinternal.renderkit.html.CellFormatRenderer.encodeAll (CellFormatRenderer.java:96) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd( CoreRenderer.java:208) at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd( UIXComponentBase.java:733) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild( CoreRenderer.java:287) at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeChild (RowLayoutRenderer.java:110) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren( CoreRenderer.java:304) at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeAll (RowLayoutRenderer.java:88) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd( CoreRenderer.java:208) at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd( UIXComponentBase.java:733) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild( CoreRenderer.java:287) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren( CoreRenderer.java:304) at org.apache.myfaces.trinidadinternal.renderkit.html.TableLayoutRenderer.encodeAll (TableLayoutRenderer.java:87) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd( CoreRenderer.java:208) at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd( UIXComponentBase.java:733) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild( CoreRenderer.java:287) at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer.encodeChild (PanelGroupLayoutRenderer.java:177) at org.apache.myfaces.trinidadinternal.re
Re: [Trinidad] AssertionError including commandLink within panelLabelAndMessage
It's a bug - the assertion is catching a faulty assumption, which is what they're supposed to do. I think it'll repro any time you put a commandLink inside of a panelLabelAndMessage. -- Adam On 9/24/07, Fred Davis <[EMAIL PROTECTED]> wrote: > I'm using JSF 1.2, Facelets 1.1.12, Trinidad 1.2.1 and am trying to include > a commandLink within a panelLabelAndMessage component, but am getting an > AssertionError. Is this a bug or am I doing something wrong? > > The JSF snippet in question is: > > >id="supplier" > value="#{pageFlowScope.expenditureBean.supplier }" > showRequired="true" > requiredMessageDetail="Supplier must be specified." > > disabled="#{pageFlowScope.expenditureBean.fieldReadOnly }"> >value="#{listOfValuesFactoryBean.supplierLOVBean.selectItems}"/> > > src="/home/expenditure/supplierLink.xhtml" /> > > useWindow="false" > partialSubmit="false" windowHeight="300" windowWidth="400" > id="createSupplierCommand" immediate="true" > shortDesc="Create a new supplier record."> >source="/skins/tn/images/ico_new.gif" /> >from="#{generalActionsBean.newSupplierBean}" > to="#{pageFlowScope.supplierBean}" /> > > to="#{pageFlowScope.supplierBean.operation}" /> > > > > The exception stack trace is as below. > > > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.CommandLinkRenderer.encodeBegin(CommandLinkRenderer.java:102) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeBegin(CoreRenderer.java > :185) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeBegin(UIXComponentBase.java:700) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:271) > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer.encodeChild > (PanelGroupLayoutRenderer.java:177) > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer._encodeChildren(PanelGroupLayoutRenderer.java:143) > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer.encodeAll > (PanelGroupLayoutRenderer.java:95) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java > :733) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:287) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:304) > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelLabelAndMessageRenderer.renderFieldCellContents > (PanelLabelAndMessageRenderer.java:105) > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell(LabelAndMessageRenderer.java:375) > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll > (LabelAndMessageRenderer.java:270) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java > :733) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:287) > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java > :746) > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormColumns(PanelFormLayoutRenderer.java:672) > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeChildren > (PanelFormLayoutRenderer.java:313) > at > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:199) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd > (CoreRenderer.java:208) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:733) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:287) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:304) > at > org.apache.myfaces.trinidadinternal.renderkit.html.CellFormatRenderer.encodeAll(CellFormatRenderer.java:96) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:208) > at > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:733) > at > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild > (CoreRenderer.java:287) > at > org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeChi
Re: [Trinidad] AssertionError including commandLink within panelLabelAndMessage
Adam - Thanks for the response. Is this already logged as a bug or do I need to do something? If the latter can you point me in the right direction as I'm (unashamedly!) new to the open source game. thanks. On 24/09/2007, Adam Winer <[EMAIL PROTECTED]> wrote: > > It's a bug - the assertion is catching a faulty assumption, > which is what they're supposed to do. I think it'll repro > any time you put a commandLink inside of a > panelLabelAndMessage. > > -- Adam > > > On 9/24/07, Fred Davis <[EMAIL PROTECTED]> wrote: > > I'm using JSF 1.2, Facelets 1.1.12, Trinidad 1.2.1 and am trying to > include > > a commandLink within a panelLabelAndMessage component, but am getting an > > > AssertionError. Is this a bug or am I doing something wrong? > > > > The JSF snippet in question is: > > > > > > > id="supplier" > > value="#{pageFlowScope.expenditureBean.supplier }" > > showRequired="true" > > requiredMessageDetail="Supplier must be specified." > > > > disabled="#{pageFlowScope.expenditureBean.fieldReadOnly }"> > >> value="#{listOfValuesFactoryBean.supplierLOVBean.selectItems}"/> > > > > > src="/home/expenditure/supplierLink.xhtml" /> > > > > > useWindow="false" > > partialSubmit="false" windowHeight="300" > windowWidth="400" > > id="createSupplierCommand" immediate="true" > > shortDesc="Create a new supplier record."> > >> source="/skins/tn/images/ico_new.gif" /> > >> from="#{generalActionsBean.newSupplierBean}" > > to="#{pageFlowScope.supplierBean}" /> > >> > > to="#{pageFlowScope.supplierBean.operation}" /> > > > > > > > > The exception stack trace is as below. > > > > > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.CommandLinkRenderer.encodeBegin > (CommandLinkRenderer.java:102) > > at > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeBegin ( > CoreRenderer.java > > :185) > > at > > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeBegin( > UIXComponentBase.java:700) > > at > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild ( > CoreRenderer.java:271) > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer.encodeChild > > (PanelGroupLayoutRenderer.java:177) > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer._encodeChildren( > PanelGroupLayoutRenderer.java:143) > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer.encodeAll > > (PanelGroupLayoutRenderer.java:95) > > at > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd ( > CoreRenderer.java:208) > > at > > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd( > UIXComponentBase.java > > :733) > > at > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild ( > CoreRenderer.java:287) > > at > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren( > CoreRenderer.java:304) > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelLabelAndMessageRenderer.renderFieldCellContents > > (PanelLabelAndMessageRenderer.java:105) > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell > (LabelAndMessageRenderer.java:375) > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll > > (LabelAndMessageRenderer.java:270) > > at > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd( > CoreRenderer.java :208) > > at > > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd( > UIXComponentBase.java > > :733) > > at > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild( > CoreRenderer.java :287) > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormItem > (PanelFormLayoutRenderer.java > > :746) > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormColumns( > PanelFormLayoutRenderer.java:672) > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeChildren > > (PanelFormLayoutRenderer.java:313) > > at > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer.encodeAll > (PanelFormLayoutRenderer.java:199) > > at > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd > > (CoreRenderer.java :208) > > at > > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd( > UIXComponentBase.java:733) > > at > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild( > CoreRenderer.java :287) > > at > > org.apache.myfaces.tri
Re: [Trinidad] AssertionError including commandLink within panelLabelAndMessage
The site you're looking for is http://issues.apache.org/jira/browse/TRINIDAD -- Adam On 9/24/07, Paolo Fragapane <[EMAIL PROTECTED]> wrote: > Adam - Thanks for the response. Is this already logged as a bug or do I need > to do something? If the latter can you point me in the right direction as > I'm (unashamedly!) new to the open source game. > > thanks. > > > On 24/09/2007, Adam Winer <[EMAIL PROTECTED]> wrote: > > It's a bug - the assertion is catching a faulty assumption, > > which is what they're supposed to do. I think it'll repro > > any time you put a commandLink inside of a > > panelLabelAndMessage. > > > > -- Adam > > > > > > On 9/24/07, Fred Davis <[EMAIL PROTECTED]> wrote: > > > I'm using JSF 1.2, Facelets 1.1.12 , Trinidad 1.2.1 and am trying to > include > > > a commandLink within a panelLabelAndMessage component, but am getting an > > > AssertionError. Is this a bug or am I doing something wrong? > > > > > > The JSF snippet in question is: > > > > > > > > > > > id="supplier" > > > value="#{pageFlowScope.expenditureBean.supplier }" > > > showRequired="true" > > > requiredMessageDetail="Supplier must be specified." > > > > > > disabled="#{pageFlowScope.expenditureBean.fieldReadOnly > }"> > > >> > > value="#{listOfValuesFactoryBean.supplierLOVBean.selectItems}"/> > > > > > > > > src="/home/expenditure/supplierLink.xhtml" /> > > > > > > > > useWindow="false" > > > partialSubmit="false" windowHeight="300" > windowWidth="400" > > > id="createSupplierCommand" immediate="true" > > > shortDesc="Create a new supplier record."> > > >> > source="/skins/tn/images/ico_new.gif" /> > > >> > from="#{generalActionsBean.newSupplierBean}" > > > to="#{pageFlowScope.supplierBean}" /> > > >> > > > > to="#{pageFlowScope.supplierBean.operation}" /> > > > > > > > > > > > > The exception stack trace is as below. > > > > > > > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.CommandLinkRenderer.encodeBegin(CommandLinkRenderer.java:102) > > > at > > > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeBegin > (CoreRenderer.java > > > :185) > > > at > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeBegin(UIXComponentBase.java:700) > > > at > > > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild > (CoreRenderer.java:271) > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer.encodeChild > > > (PanelGroupLayoutRenderer.java:177) > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer._encodeChildren > (PanelGroupLayoutRenderer.java:143) > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelGroupLayoutRenderer.encodeAll > > > (PanelGroupLayoutRenderer.java:95) > > > at > > > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd > (CoreRenderer.java:208) > > > at > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java > > > :733) > > > at > > > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild > (CoreRenderer.java:287) > > > at > > > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:304) > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelLabelAndMessageRenderer.renderFieldCellContents > > > (PanelLabelAndMessageRenderer.java:105) > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell(LabelAndMessageRenderer.java:375) > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll > > > (LabelAndMessageRenderer.java:270) > > > at > > > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd( > CoreRenderer.java :208) > > > at > > > > org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java > > > :733) > > > at > > > > org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java > :287) > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java > > > :746) > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormColumns > (PanelFormLayoutRenderer.java:672) > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeChildren > > > (PanelFormLayoutRenderer.java:313) > > > at > > > > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:199) > > >