You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Alf Felis <Al...@gmx.de> on 2011/08/17 17:42:04 UTC
[Tobago] Question using rendered attribute within fixed rows
Hi all,
I have a question using the rendered attribute within a fixed row.
The test page below always shows 2 warnings:
WARN org.apache.myfaces.tobago.util.LayoutInfo - There are columns left but no more space! cellsLeft=1, tokens=fixed;hide;fixed; clientId='_idJsp0:_idJsp3'
WARN org.apache.myfaces.tobago.util.LayoutInfo - calculated spaces = "20;-1;20" clientId='_idJsp0:_idJsp3'
The resulting page looks ok, but why there are these warnings?
I'm using Tobago 1.0.37 and MyFaces: 1.1.7.
Thanks for your help :)
Alf
My example page:
<%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<f:view>
<tc:page>
<f:facet name="layout">
<tc:gridLayout rows="fixed;*" columns="*" />
</f:facet>
<tc:box label="Rendered Test">
<f:facet name="layout">
<tc:gridLayout rows="fixed;fixed;fixed" columns="*" />
</f:facet>
<tc:out value="Row 1" />
<tc:out value="Row 2" rendered="false" />
<tc:out value="Row 3" />
</tc:box>
<tc:panel />
</tc:page>
</f:view>
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de