You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bart Kummel (JIRA)" <de...@myfaces.apache.org> on 2009/02/27 13:27:13 UTC
[jira] Created: (TRINIDAD-1410) does not
behave as documented
<tr:panelBorderLayout> does not behave as documented
----------------------------------------------------
Key: TRINIDAD-1410
URL: https://issues.apache.org/jira/browse/TRINIDAD-1410
Project: MyFaces Trinidad
Issue Type: Bug
Environment: Trinidad 1.2.10, MyFaces 1.2.4, Facelets 1.1.14
Reporter: Bart Kummel
The documentation states for the innerLeft facet: "Content to be rendered to the left of the children and between any innerTop and innerBottom facets, to the right of the left facet." But if you try this code:
<tr:panelBorderLayout inlineStyle="width:300px;">
<f:facet name="bottom"><tr:panelBox inlineStyle="width:100%; height=100%">bottom</tr:panelBox></f:facet>
<f:facet name="innerBottom"><tr:panelBox inlineStyle="width:100%; height=100%">innerBottom</tr:panelBox></f:facet>
<f:facet name="innerLeft"><tr:panelBox inlineStyle="width:100%; height=100%">innerLeft</tr:panelBox></f:facet>
<f:facet name="innerRight"><tr:panelBox inlineStyle="width:100%; height=100%">innerRight</tr:panelBox></f:facet>
<f:facet name="innerTop"><tr:panelBox inlineStyle="width:100%; height=100%">innerTop</tr:panelBox></f:facet>
<f:facet name="left"><tr:panelBox inlineStyle="width:100%; height=100%">left</tr:panelBox></f:facet>
<f:facet name="right"><tr:panelBox inlineStyle="width:100%; height=100%">right</tr:panelBox></f:facet>
<f:facet name="top"><tr:panelBox inlineStyle="width:100%; height=100%">top</tr:panelBox></f:facet>
<tr:panelBox>child</tr:panelBox>
</tr:panelBorderLayout>
The innerLeft contents are not rendered between the innerTop and innerBottom facets. Actually it is the other way around, the innerTop and innerBottom are rendered between the innerLeft and innerRight.
--
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: (TRINIDAD-1410)
does not behave as documented
Posted by "Bart Kummel (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677344#action_12677344 ]
bkummel edited comment on TRINIDAD-1410 at 2/27/09 4:44 AM:
----------------------------------------------------------------
The result of the code that is in the bug description can be seen in the attached PNG image.
was (Author: bkummel):
This is the result of the code that is in the bug description.
> <tr:panelBorderLayout> does not behave as documented
> ----------------------------------------------------
>
> Key: TRINIDAD-1410
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1410
> Project: MyFaces Trinidad
> Issue Type: Bug
> Environment: Trinidad 1.2.10, MyFaces 1.2.4, Facelets 1.1.14
> Reporter: Bart Kummel
> Attachments: panelBorderLayout.png
>
>
> The documentation states for the innerLeft facet: "Content to be rendered to the left of the children and between any innerTop and innerBottom facets, to the right of the left facet." But if you try this code:
> <tr:panelBorderLayout inlineStyle="width:300px;">
> <f:facet name="bottom"><tr:panelBox inlineStyle="width:100%; height=100%">bottom</tr:panelBox></f:facet>
> <f:facet name="innerBottom"><tr:panelBox inlineStyle="width:100%; height=100%">innerBottom</tr:panelBox></f:facet>
> <f:facet name="innerLeft"><tr:panelBox inlineStyle="width:100%; height=100%">innerLeft</tr:panelBox></f:facet>
> <f:facet name="innerRight"><tr:panelBox inlineStyle="width:100%; height=100%">innerRight</tr:panelBox></f:facet>
> <f:facet name="innerTop"><tr:panelBox inlineStyle="width:100%; height=100%">innerTop</tr:panelBox></f:facet>
> <f:facet name="left"><tr:panelBox inlineStyle="width:100%; height=100%">left</tr:panelBox></f:facet>
> <f:facet name="right"><tr:panelBox inlineStyle="width:100%; height=100%">right</tr:panelBox></f:facet>
> <f:facet name="top"><tr:panelBox inlineStyle="width:100%; height=100%">top</tr:panelBox></f:facet>
> <tr:panelBox>child</tr:panelBox>
> </tr:panelBorderLayout>
> The innerLeft contents are not rendered between the innerTop and innerBottom facets. Actually it is the other way around, the innerTop and innerBottom are rendered between the innerLeft and innerRight.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TRINIDAD-1410) does not
behave as documented
Posted by "Bart Kummel (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677353#action_12677353 ]
Bart Kummel commented on TRINIDAD-1410:
---------------------------------------
If the "layout" is set to "positioned", the result is as expected. In other words, the problem only occurs with the default "expand" layout.
> <tr:panelBorderLayout> does not behave as documented
> ----------------------------------------------------
>
> Key: TRINIDAD-1410
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1410
> Project: MyFaces Trinidad
> Issue Type: Bug
> Environment: Trinidad 1.2.10, MyFaces 1.2.4, Facelets 1.1.14
> Reporter: Bart Kummel
> Attachments: panelBorderLayout.png
>
>
> The documentation states for the innerLeft facet: "Content to be rendered to the left of the children and between any innerTop and innerBottom facets, to the right of the left facet." But if you try this code:
> <tr:panelBorderLayout inlineStyle="width:300px;">
> <f:facet name="bottom"><tr:panelBox inlineStyle="width:100%; height=100%">bottom</tr:panelBox></f:facet>
> <f:facet name="innerBottom"><tr:panelBox inlineStyle="width:100%; height=100%">innerBottom</tr:panelBox></f:facet>
> <f:facet name="innerLeft"><tr:panelBox inlineStyle="width:100%; height=100%">innerLeft</tr:panelBox></f:facet>
> <f:facet name="innerRight"><tr:panelBox inlineStyle="width:100%; height=100%">innerRight</tr:panelBox></f:facet>
> <f:facet name="innerTop"><tr:panelBox inlineStyle="width:100%; height=100%">innerTop</tr:panelBox></f:facet>
> <f:facet name="left"><tr:panelBox inlineStyle="width:100%; height=100%">left</tr:panelBox></f:facet>
> <f:facet name="right"><tr:panelBox inlineStyle="width:100%; height=100%">right</tr:panelBox></f:facet>
> <f:facet name="top"><tr:panelBox inlineStyle="width:100%; height=100%">top</tr:panelBox></f:facet>
> <tr:panelBox>child</tr:panelBox>
> </tr:panelBorderLayout>
> The innerLeft contents are not rendered between the innerTop and innerBottom facets. Actually it is the other way around, the innerTop and innerBottom are rendered between the innerLeft and innerRight.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.