You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ralph Jacobs (JIRA)" <de...@myfaces.apache.org> on 2012/06/26 11:37:53 UTC

[jira] [Created] (TOBAGO-1164) tc:sheet displayed with wrong height when contained in tc:tab and "auto" outer layout

Ralph Jacobs created TOBAGO-1164:
------------------------------------

             Summary: tc:sheet displayed with wrong height when contained in tc:tab and "auto" outer layout 
                 Key: TOBAGO-1164
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1164
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.5.6
            Reporter: Ralph Jacobs


In this example tc:sheet will be displayed with a height of 63 pixels although it should be rendered according to its "rows" setting. The surrounding tc:tab gets the correct height.

<tc:panel id="layout-panel">
   <f:facet name="layout">
      <tc:gridLayout rows="auto" />
   </f:facet>
         
      <tc:tabGroup>
         <tc:tab>
         <tc:sheet 	columns="*;*">
...	
         </tc:sheet>
      </tc:tab>
   </tc:tabGroup>
</tc:panel>  


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TOBAGO-1164) Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height

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

Hudson commented on TOBAGO-1164:
--------------------------------

Integrated in tobago-1.5.x #57 (See [https://builds.apache.org/job/tobago-1.5.x/57/])
    TOBAGO-1164: Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height 
Merged from trunk [from revision 1354437] (Revision 1354440)

     Result = FAILURE
lofwyr : http://svn.apache.org/viewvc/?view=rev&rev=1354440
Files : 
* /myfaces/tobago/branches/tobago-1.5.x
* /myfaces/tobago/branches/tobago-1.5.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUITabGroupLayout.java
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/tabGroup/tabGroup-layout-1164.xhtml

                
> Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1164
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1164
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.6, 1.6.0-beta-2
>            Reporter: Ralph Jacobs
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.5.7, 1.6.0-beta-3
>
>
> In this example tc:sheet will be displayed with a height of 63 pixels although it should be rendered according to its "rows" setting. The surrounding tc:tab gets the correct height.
> <tc:panel id="layout-panel">
>    <f:facet name="layout">
>       <tc:gridLayout rows="auto" />
>    </f:facet>
>          
>       <tc:tabGroup>
>          <tc:tab>
>          <tc:sheet 	columns="*;*">
> ...	
>          </tc:sheet>
>       </tc:tab>
>    </tc:tabGroup>
> </tc:panel>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TOBAGO-1164) Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402142#comment-13402142 ] 

Udo Schnurpfeil commented on TOBAGO-1164:
-----------------------------------------

The bug is for both dimesions: for width and height.

The reason is, that the AbstractUITabGroupLayout doesn't call the "mainProcessing" recursively, in the case of "auto"-layout.
                
> Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1164
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1164
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0-beta-2, 1.5.6
>            Reporter: Ralph Jacobs
>            Assignee: Udo Schnurpfeil
>
> In this example tc:sheet will be displayed with a height of 63 pixels although it should be rendered according to its "rows" setting. The surrounding tc:tab gets the correct height.
> <tc:panel id="layout-panel">
>    <f:facet name="layout">
>       <tc:gridLayout rows="auto" />
>    </f:facet>
>          
>       <tc:tabGroup>
>          <tc:tab>
>          <tc:sheet 	columns="*;*">
> ...	
>          </tc:sheet>
>       </tc:tab>
>    </tc:tabGroup>
> </tc:panel>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TOBAGO-1164) Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height

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

Hudson commented on TOBAGO-1164:
--------------------------------

Integrated in tobago-trunk #806 (See [https://builds.apache.org/job/tobago-trunk/806/])
    TOBAGO-1164: Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height (Revision 1354437)

     Result = SUCCESS
lofwyr : http://svn.apache.org/viewvc/?view=rev&rev=1354437
Files : 
* /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUITabGroupLayout.java
* /myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tabGroup/tabGroup-layout-1164.xhtml

                
> Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1164
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1164
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0-beta-2, 1.5.6
>            Reporter: Ralph Jacobs
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.5.7, 1.6.0-beta-3
>
>
> In this example tc:sheet will be displayed with a height of 63 pixels although it should be rendered according to its "rows" setting. The surrounding tc:tab gets the correct height.
> <tc:panel id="layout-panel">
>    <f:facet name="layout">
>       <tc:gridLayout rows="auto" />
>    </f:facet>
>          
>       <tc:tabGroup>
>          <tc:tab>
>          <tc:sheet 	columns="*;*">
> ...	
>          </tc:sheet>
>       </tc:tab>
>    </tc:tabGroup>
> </tc:panel>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TOBAGO-1164) Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402135#comment-13402135 ] 

Udo Schnurpfeil commented on TOBAGO-1164:
-----------------------------------------

When having a sheet in the tab, you got an error message in the log file: no height in parent container, setting to 100
                
> Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1164
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1164
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0-beta-2, 1.5.6
>            Reporter: Ralph Jacobs
>            Assignee: Udo Schnurpfeil
>
> In this example tc:sheet will be displayed with a height of 63 pixels although it should be rendered according to its "rows" setting. The surrounding tc:tab gets the correct height.
> <tc:panel id="layout-panel">
>    <f:facet name="layout">
>       <tc:gridLayout rows="auto" />
>    </f:facet>
>          
>       <tc:tabGroup>
>          <tc:tab>
>          <tc:sheet 	columns="*;*">
> ...	
>          </tc:sheet>
>       </tc:tab>
>    </tc:tabGroup>
> </tc:panel>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TOBAGO-1164) Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height

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

Hudson commented on TOBAGO-1164:
--------------------------------

Integrated in tobago-1.5.x #53 (See [https://builds.apache.org/job/tobago-1.5.x/53/])
    TOBAGO-1164: Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height 
Merged from trunk [from revision 1354437] (Revision 1354440)

     Result = SUCCESS
lofwyr : http://svn.apache.org/viewvc/?view=rev&rev=1354440
Files : 
* /myfaces/tobago/branches/tobago-1.5.x
* /myfaces/tobago/branches/tobago-1.5.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUITabGroupLayout.java
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/tabGroup/tabGroup-layout-1164.xhtml

                
> Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1164
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1164
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0-beta-2, 1.5.6
>            Reporter: Ralph Jacobs
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.5.7, 1.6.0-beta-3
>
>
> In this example tc:sheet will be displayed with a height of 63 pixels although it should be rendered according to its "rows" setting. The surrounding tc:tab gets the correct height.
> <tc:panel id="layout-panel">
>    <f:facet name="layout">
>       <tc:gridLayout rows="auto" />
>    </f:facet>
>          
>       <tc:tabGroup>
>          <tc:tab>
>          <tc:sheet 	columns="*;*">
> ...	
>          </tc:sheet>
>       </tc:tab>
>    </tc:tabGroup>
> </tc:panel>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TOBAGO-1164) Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height

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

Hudson commented on TOBAGO-1164:
--------------------------------

Integrated in tobago-1.5.x #58 (See [https://builds.apache.org/job/tobago-1.5.x/58/])
    TOBAGO-1164: Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height 
Merged from trunk [from revision 1354437] (Revision 1354440)

     Result = SUCCESS
lofwyr : http://svn.apache.org/viewvc/?view=rev&rev=1354440
Files : 
* /myfaces/tobago/branches/tobago-1.5.x
* /myfaces/tobago/branches/tobago-1.5.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUITabGroupLayout.java
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc
* /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/tabGroup/tabGroup-layout-1164.xhtml

                
> Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1164
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1164
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.6, 1.6.0-beta-2
>            Reporter: Ralph Jacobs
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.5.7, 1.6.0-beta-3
>
>
> In this example tc:sheet will be displayed with a height of 63 pixels although it should be rendered according to its "rows" setting. The surrounding tc:tab gets the correct height.
> <tc:panel id="layout-panel">
>    <f:facet name="layout">
>       <tc:gridLayout rows="auto" />
>    </f:facet>
>          
>       <tc:tabGroup>
>          <tc:tab>
>          <tc:sheet 	columns="*;*">
> ...	
>          </tc:sheet>
>       </tc:tab>
>    </tc:tabGroup>
> </tc:panel>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TOBAGO-1164) Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height

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

Ralph Jacobs resolved TOBAGO-1164.
----------------------------------

    Resolution: Fixed
    
> Using "auto" layout with tc:tabGroup: The components inside of the tab are displayed with wrong height
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1164
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1164
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0-beta-2, 1.5.6
>            Reporter: Ralph Jacobs
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.5.7, 1.6.0-beta-3
>
>
> In this example tc:sheet will be displayed with a height of 63 pixels although it should be rendered according to its "rows" setting. The surrounding tc:tab gets the correct height.
> <tc:panel id="layout-panel">
>    <f:facet name="layout">
>       <tc:gridLayout rows="auto" />
>    </f:facet>
>          
>       <tc:tabGroup>
>          <tc:tab>
>          <tc:sheet 	columns="*;*">
> ...	
>          </tc:sheet>
>       </tc:tab>
>    </tc:tabGroup>
> </tc:panel>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira