[ 
https://issues.apache.org/jira/browse/TOBAGO-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474433
 ] 

Volker Weber commented on TOBAGO-295:
-------------------------------------

Hi Guido,

components with rendered=false are NOT included into calculation. e.g.:

<tc:panel>
  <f:facet name="layout">
    <tc:gridlayout rows="1*;100px;100px;fixed"/>
   </f:facet>

  <tc:textarea value="some text"/>

  <tc:textarea value="doRender is true" rendered="#{bean.doRender}"/>

  <tc:textarea value="doRender is false" rendered="#{!bean.doRender}"/>  

  <tc:button action="#{bean.toggleDoRender}"/>

<tc:panel>

In this example only the second OR the third textarea are rendered, and no 
space is reserved for the other.

If you still have problems please post your code on the myfaces users 
mailinglist [1], prefixed with [Tobago].

[1]: http://myfaces.apache.org/tobago/mail-lists.html


> gridlayout - components which have "rendered" attribute "false" are included 
> in calculation of space
> ----------------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-295
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-295
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 1.0.9
>         Environment: winxp prof, tomcat 5.5.20, myfaces 1.1.5 snap 
> (06.02.2007 04:51), tobago 1.0.10 snap (16.02.2007 5:11)
>            Reporter: Guido Dubois
>
> I have to insert a <tc:box> in some cases into a cell of the grid. In the 
> case the box have not to be rendered, the height of the box is included in 
> the calculation of vertical space (horizontally I don't know). The box is not 
> rendered but you get a not wanted vertical blank space. For <tx:in> it's the 
> same...
> I think that components which won't be rendered have not to be included in 
> calculation...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to