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

Bernhard Stadler commented on TOBAGO-1372:
------------------------------------------

{quote}
Not illegal, but it has to be at least one component in that row with rowSpan=1 
(default)
{quote}
So putting an empty panel with rowSpan=1 should make the sheet display 
correctly? Or did you mean that only components with rowSpan=1 contribute to 
the row's height?

> 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)

Reply via email to