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