[
https://issues.apache.org/jira/browse/TOBAGO-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Udo Schnurpfeil deleted TOBAGO-395:
-----------------------------------
> component-height-calculation-problem
> ------------------------------------
>
> Key: TOBAGO-395
> URL: https://issues.apache.org/jira/browse/TOBAGO-395
> Project: MyFaces Tobago
> Issue Type: Bug
> Reporter: Matthias Wronka
>
> Consider the following jsp-code:
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc"%>
> <%@ taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx"%>
> <f:view>
> <tc:page id="edit" state="#{screenSizeBean}"
> width="#{screenSizeBean.clientWidth}"
> height="#{screenSizeBean.clientHeight}"
> label="#{appBundle.application}">
> <%@ include file="/base/include/layout.jspf"%>
> <%-- content --%>
> <tc:panel>
> <f:facet name="layout">
> <tc:gridLayout columns="*" rows="*"
> margin="10px" border="0"/>
> </f:facet>
>
> <tc:box label="Detailansicht">
> <f:facet name="layout">
> <tc:gridLayout rows="fixed;*"
> border="0"/>
> </f:facet>
>
> <tc:panel>
> <f:facet name="layout">
> <tc:gridLayout
> rows="fixed;fixed;fixed;fixed" columns="2*;60px;3*;40px" border="0" />
> </f:facet>
> <%-- row 1 --%>
>
> <tx:in value="12" required="false"
> readonly="true" label="Zeile 1" tip="Bereitstellungszinsen" markup="number">
>
>
> </tx:in>
> <tc:label value="%" />
> <tx:in value="12.10.2006"
> required="false" readonly="true" label="Bereitstellungszinsen ab"
> tip="Bereitstellungszinsen ab"/>
> <tc:cell/>
> <%-- row 2 --%>
>
> <tx:in value="12" required="false"
> readonly="true" label="Zeile 2" rendered="false" markup="number">
>
> <f:validateLength
> maximum="3" />
> <f:validateLongRange
> minimum="0"/>
> </tx:in>
> <tc:label value="Mon."
> rendered="false"/>
> <tc:cell spanX="2" rendered="false"/>
>
> <%-- row 3 --%>
> <tx:in value="12" required="false"
> readonly="true" label="Zeile 3" rendered="false" markup="number">
>
> <f:validateLength
> maximum="3" />
> <f:validateLongRange
> minimum="0"/>
> </tx:in>
> <tc:label value="Mon."
> rendered="false"/>
> <tc:cell spanX="2" rendered="false"/>
>
> <%-- row 4 --%>
> <tx:in value="12" required="false"
> readonly="true" label="Zeile 4" tip="Bereitstellungszinsen" markup="number">
>
>
> </tx:in>
> <tc:label value="%" />
> <tx:in value="12.11.2006"
> required="false" readonly="true" label="Bereitstellungszinsen ab"
> tip="Bereitstellungszinsen ab"/>
> <tc:cell/>
> </tc:panel>
> <tc:cell/>
> </tc:box>
> </tc:panel>
> </tc:page>
> </f:view>
> This jsp contains a panel with 4 rows. The 2 rows in the middle are set to
> rendered=false. The page, that is rendered cuts off the lower part of the
> fourth row (see screenshot). If you change the layout of the inner panel to
> <f:facet name="layout">
> <tc:gridLayout
> rows="fixed;fixed;fixed;fixed" columns="2*;60px;3*;40px" border="0" />
> </f:facet>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira