Dear Sirs

i am using a two colums sheet. The contents of the
first column has a fixed content. The secound column
may alter with its structure. It may contain one or
two columns inside.

It looks like this:

<tc:sheet .... columns="25px;1*" >

  <tc:column id="..." align="top">
    <tc:selectBooleanCheckbox id="..."  value=".." />
  </tc:column>

  <tc:column id="..." align="top">
     <tc:panel rendered="#{itm.type == 'View1'}">
     </tc:panel>

     <tc:panel rendered="#{itm.type == 'View2'}">
     </tc:panel>
  </tc:column>
</tc:sheet>

The curious thing is, when i add a simple output or
control inside the panel, everything goes fines.
When  try to use a grid-layoutmanager as shown
in the follwing panel code;


<tc:panel rendered="#{itm.type == 'View1'}">
   <f:facet name="layout">
       <tc:gridLayout rows="50%;50%"/>
   </f:facet>
                                                                                
                
   <tc:out value="#{itm.val1}"/>
   <tc:out value="#{itm.val2}"/>
</tc:panel>

the entire layout gets mixed up, completly. Thats 
weired or did i something wrong?
Using fixed instread of 50% lokks the same!!

Ah, another hint to this problem, the prints
out a very thin/condensed line. You can 
select/copy it with the mouse and paste it into a 
texteditor and you will see a part of the text
you would expect to see in the sheet-column.

Looks like a problem with the sizing of the
renderer, does n't it.


Groovie
-- 
View this message in context: 
http://www.nabble.com/-TOBAGO--tc.gridlayout-does-not-work-inside-a-sheets-column-tp20595913p20595913.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to