You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Rainer Rohloff (JIRA)" <de...@myfaces.apache.org> on 2007/11/19 16:12:43 UTC
[jira] Created: (TOBAGO-548) renders a margin
<tc:hidden ...> renders a margin
--------------------------------
Key: TOBAGO-548
URL: https://issues.apache.org/jira/browse/TOBAGO-548
Project: MyFaces Tobago
Issue Type: Bug
Components: Themes
Reporter: Rainer Rohloff
so a hidden field has an height
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TOBAGO-548) renders a margin
Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOBAGO-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543605 ]
Volker Weber commented on TOBAGO-548:
-------------------------------------
it is supposed to do so!
every row has a margin (5px in speyside) even if the content is 0px height.
you can put the tc:hidden into the empty cell (and replace the tc:cell with tc:panel if you don't need the additional attributes)
or set the cellspacing attribute of gridlayout to '0', but than you loose the space beetween the inputs.
> <tc:hidden ...> renders a margin
> --------------------------------
>
> Key: TOBAGO-548
> URL: https://issues.apache.org/jira/browse/TOBAGO-548
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Themes
> Reporter: Rainer Rohloff
>
> so a hidden field has an height
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TOBAGO-548) renders a margin
Posted by "Rainer Rohloff (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOBAGO-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543600 ]
Rainer Rohloff commented on TOBAGO-548:
---------------------------------------
<tc:panel>
<f:facet name="layout">
<tc:gridLayout rows="fixed;fixed;fixed;fixed;*" />
</f:facet>
<tx:in label="Feld 1" value="#{validateTestBean.input1}"
binding="#{validateForm.component1}">
<f:validateLength maximum="10" />
</tx:in>
<tx:in label="Feld 2" value="#{validateTestBean.input2}"
binding="#{validateForm.component2}">
<f:validateLength maximum="10" />
</tx:in>
<tc:hidden value="~" validator="#{validateForm.validateTwoFields}" />
<tx:in label="Feld 3" value="#{validateTestBean.input3}"
binding="#{validateForm.component3}">
<f:validateLength maximum="10" />
</tx:in>
<tc:cell />
</tc:panel>
this renders additional space between "Feld 2" and "Feld 3"
> <tc:hidden ...> renders a margin
> --------------------------------
>
> Key: TOBAGO-548
> URL: https://issues.apache.org/jira/browse/TOBAGO-548
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Themes
> Reporter: Rainer Rohloff
>
> so a hidden field has an height
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TOBAGO-548) renders a margin
Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOBAGO-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Udo Schnurpfeil resolved TOBAGO-548.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0-alpha-2
Is resolved with the new layout manager.
> <tc:hidden ...> renders a margin
> --------------------------------
>
> Key: TOBAGO-548
> URL: https://issues.apache.org/jira/browse/TOBAGO-548
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Themes
> Reporter: Rainer Rohloff
> Assignee: Udo Schnurpfeil
> Fix For: 1.5.0-alpha-2, 1.5.0
>
>
> so a hidden field has an height
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TOBAGO-548) renders a margin
Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOBAGO-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543595 ]
Volker Weber commented on TOBAGO-548:
-------------------------------------
can you please provide example jsf code?
I think its not the tc:hidden but the layout which produce the margin,
a <tc:hidden .../> in a layout should render exact the same as a empty <tc:panel/>
every cell, even if the only content is a tc:hidden has a margin
> <tc:hidden ...> renders a margin
> --------------------------------
>
> Key: TOBAGO-548
> URL: https://issues.apache.org/jira/browse/TOBAGO-548
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Themes
> Reporter: Rainer Rohloff
>
> so a hidden field has an height
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.