myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Sava (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-1156) UIColumns component must be a child of a UIData component
Date Sat, 12 Jan 2008 10:01:46 GMT

    [ https://issues.apache.org/jira/browse/TOMAHAWK-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558216#action_12558216
] 

Bogdan Sava commented on TOMAHAWK-1156:
---------------------------------------

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.


Mime
View raw message