myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Comment Edited] (TOBAGO-1372) tc:sheet with rowSpan in "auto" row gets 0 height
Date Tue, 11 Mar 2014 15:37:44 GMT

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

Udo Schnurpfeil edited comment on TOBAGO-1372 at 3/11/14 3:37 PM:
------------------------------------------------------------------

The last one: Only components with rowSpan=1 contribute to the row's height.


was (Author: lofwyr):
The last one.

> tc:sheet with rowSpan in "auto" row gets 0 height
> -------------------------------------------------
>
>                 Key: TOBAGO-1372
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1372
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-alpha-3
>         Environment: JSF 2.0.1.1 / Servlet 3.0.1 / Jetty
>            Reporter: Bernhard Stadler
>         Attachments: Sheet in panel with rowSpan=2.jpg, Sheet with rowSpan=2.jpg, tobago-sheet-panel-rowSpan-bug.xhtml,
tobago-sheet-rowSpan-bug.xhtml
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> I have a tobago page having a grid layout with "auto" rows and "*" columns. When I put
a tc:sheet with a rowSpan >= 2 on it, the table doesn't get rendered. Without rowSpan,
this works nicely.
> When I try removing the rowSpan from tc:sheet and putting the sheet inside a panel with
rowSpan >= 2, the sheet does get rendered, but subsequent elements overlap the table as
if it had height = 0px.
> The only workaround I found is giving the sheet rowSpan=1 (instead of n >= 2) and
adding a panel with rowSpan=n-1. (However, this doesn't work too well for my use case).
> I'll attach examples for both cases.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message