You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dom W. (JIRA)" <de...@myfaces.apache.org> on 2012/04/27 15:41:50 UTC
[jira] [Issue Comment Edited] (TOBAGO-1106) tc:menu still occupies
some space, when rendered is set to "false"
[ https://issues.apache.org/jira/browse/TOBAGO-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263647#comment-13263647 ]
Dom W. edited comment on TOBAGO-1106 at 4/27/12 1:40 PM:
---------------------------------------------------------
My apologies, this is no bug. I forgot to set rendered to false on an adjoining tc:menuSeparator and thus having two menu separators next to each other like that:
<tc:menuBar>
<tc:menu label="Menu1">
<tc:menuItem label="Sub1" />
</tc:menu>
<tc:menuSeparator/>
<tc:menu label="Menu2" rendered="false">
<tc:menuItem label="Sub2" />
</tc:menu>
<tc:menuSeparator/>
<tc:menu label="Menu3">
<tc:menuItem label="Sub3" />
</tc:menu>
</tc:menuBar>
was (Author: dwtobago):
My apologies, this is no bug. I forgot to set rendered to false on an adjoining tc:menuSeparator and thus having two menu separators next to each other like that:
<tc:menuBar>
<tc:menu label="Menu1">
<tc:menuItem label="Sub1" />
</tc:menu>
<tc:menuSeparator/>
<tc:menu label="Menu2" rendered="false">
<tc:menuItem label="Sub2" />
</tc:menu>
<tc:menuSeparator/>
<tc:menu label="Menu3">
<tc:menuItem label="Sub3" />
</tc:menu>
</tc:menuBar>
> tc:menu still occupies some space, when rendered is set to "false"
> ------------------------------------------------------------------
>
> Key: TOBAGO-1106
> URL: https://issues.apache.org/jira/browse/TOBAGO-1106
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.39
> Environment: Firefox 11.0, Ubuntu 11.10 64bit
> Reporter: Dom W.
> Priority: Minor
>
> A tc:menu still occupies some space (about 5 pixels) in the menubar, when rendered is set to "false". The additional space is visible between the left and right tc:menu of the "unrendered" tc:menu.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira