Hi,

I use the c:forEach tag in some pages and it worked with myFaces 1.1.4. Now I 
had to switch to myFaces 1.1.5
(because there was an other bug with Tobago and myFaces 1.1.4) and it doesn't 
work anymore. When the page is
displayed for the first time everything is ok. But when the number of rows in 
the underlying list changes and the
page is redisplayed I always get an exception:

java.lang.ArrayIndexOutOfBoundsException: 5
        at 
org.apache.myfaces.tobago.util.LayoutInfo.getSpaceForColumn(LayoutInfo.java:206)
        at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.setColumnWidths(GridLayoutRenderer.java:706)
        at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.layoutWidth(GridLayoutRenderer.java:543)
        at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.layoutEnd(GridLayoutRenderer.java:493)
        at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(GridLayoutRenderer.java:233)

or

java.lang.IllegalStateException: Client-id : _idJsp350 is duplicated in the 
faces tree. Component : editPage:detailView:anteileView2:_idJsp350, path:
{Component-Path : [Class: 
org.apache.myfaces.tobago.component.UIViewRoot,ViewId: /edit.jsp][Class: 
org.apache.myfaces.tobago.component.UIPage,Id: edit
Page][Class: org.apache.myfaces.tobago.component.UIPanel,Id: panel][Class: 
org.apache.myfaces.tobago.component.UIPanel,Id: mainPanel][Class: org.apach
e.myfaces.tobago.component.UICell,Id: _idJsp86][Class: 
javax.faces.component.UINamingContainer,Id: detailView][Class: 
org.apache.myfaces.tobago.compon
ent.UIPanel,Id: panel][Class: 
org.apache.myfaces.tobago.component.UITabGroup,Id: _idJsp87][Class: 
org.apache.myfaces.tobago.component.UIPanel,Id: ante
ileTab][Class: javax.faces.component.UINamingContainer,Id: anteileView2][Class: 
org.apache.myfaces.tobago.component.UIPanel,Id: panel][Class: org.apac
he.myfaces.tobago.component.UIPanel,Id: copartnerPanel][Class: 
org.apache.myfaces.tobago.component.UICell,Id: _idJsp349][Class: 
org.apache.myfaces.tob
ago.component.UIPanel,Id: _idJsp350]}
        at 
org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:329)


Do I have to change my code when I switch to myFaces 1.1.5? Do I need a new 
jstl version?
I'm using jstl 1.1.0 and Tobago 1.0.11 snapshot from a week ago.

Regards
Helmut


Reply via email to