You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bogdan Sava (JIRA)" <de...@myfaces.apache.org> on 2007/11/26 07:22:43 UTC

[jira] Created: (TOMAHAWK-1156) UIColumns component must be a child of a UIData component

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.


[jira] Updated: (TOMAHAWK-1156) UIColumns component must be a child of a UIData component

Posted by "Grant Smith (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grant Smith updated TOMAHAWK-1156:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.7-SNAPSHOT
           Status: Resolved  (was: Patch Available)

Patch applied. Thanks Bogdan. Please note that patches are usually applied sooner if they are SVN diffs.

> 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
>            Assignee: Grant Smith
>            Priority: Blocker
>             Fix For: 1.1.7-SNAPSHOT
>
>
> 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.


[jira] Commented: (TOMAHAWK-1156) UIColumns component must be a child of a UIData component

Posted by "raj (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556700#action_12556700 ] 

raj commented on TOMAHAWK-1156:
-------------------------------

I would like to know if there is  a fix to this issue. If not is there a timeline by
when this will be fixed. 

Thanks,
Raghu

> 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.


[jira] Issue Comment Edited: (TOMAHAWK-1156) UIColumns component must be a child of a UIData component

Posted by "Bogdan Sava (JIRA)" <de...@myfaces.apache.org>.
    [ 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.


[jira] Updated: (TOMAHAWK-1156) UIColumns component must be a child of a UIData component

Posted by "Ramy Siha (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramy Siha updated TOMAHAWK-1156:
--------------------------------

    Status: Patch Available  (was: Open)

> 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.


[jira] Commented: (TOMAHAWK-1156) UIColumns component must be a child of a UIData component

Posted by "Bogdan Sava (JIRA)" <de...@myfaces.apache.org>.
    [ 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.