[ https://issues.apache.org/jira/browse/TOMAHAWK-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558216#action_12558216 ]
bogdan.sava edited comment on TOMAHAWK-1156 at 1/12/08 2:01 AM: ---------------------------------------------------------------- Yes ! It is a patch available! In the /tomahawk/core/src/main/java/org/apache/myfaces/custom/crosstable/UIColumns.java protected void setDataModel(DataModel dataModel) { /* code to add */ if (dataModel == null && getParent() == null) { return; } /* end of code to be added*/ UIComponent parent = getParentUIData().getParent(); ....... } was (Author: bogdan.sava): Yes ! It is a patch available! In the /tomahawk/core/src/main/java/org/apache/myfaces/custom/crosstable/UIColumns.java protected void setDataModel(DataModel dataModel) { /* code to add */ if (dataModel == null && getParent() == null) { return; } /* end of code to be added*/ UIComponent parent = getParentUIData().getParent(); ....... } > UIColumns component must be a child of a UIData component > ---------------------------------------------------------- > > Key: TOMAHAWK-1156 > URL: https://issues.apache.org/jira/browse/TOMAHAWK-1156 > Project: MyFaces Tomahawk > Issue Type: Bug > Components: Columns > Affects Versions: 1.1.7-SNAPSHOT > Environment: java version "1.6.0_03"; > tomcat6; > JSF RI 1.2_06 > Reporter: Bogdan Sava > Priority: Blocker > > By using t:colums from 1.1.7 version with Sun JSF RI 1.2_06 get > java.lang.IllegalStateException > with message: UIColumns component must be a child of a UIData component > Please note that it is working with MyFaces 1.2 implementation. > Can be seen by configuring Dynamic number of columns, add a column > tomahawk example with Sun JSF RI 1.2_06 get. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.