Hi,

to demonstrate the layout problems with sheet and tab with IE in my application I built another very simply test case for you. There're two sheets on one tab. Both sheets disappear when you switch to the
tab the first time.

<f:view>
 <tc:page id="sheetPage" width="600px" height="200px">
   <tc:tabGroup switchType="reloadTab">
     <tc:tab id="tab1" label="Tab1">
       <tc:out value="Tab1"/>
     </tc:tab>
     <tc:tab id="tab2" label="Tab2">
       <tc:panel>
         <f:facet name="layout">
           <tc:gridLayout
             columns="1*;1*"/>
         </f:facet>
         <tc:sheet id="testTable2"
           columns="1*;1*"
           showHeader="true"
           showRowRange="none"
           showPageRange="none"
           showDirectLinks="none"
           first="0"
           selectable="none"
           var="row"
           value="#{controller.list1}">
           <tc:column label="Column 1">
             <tc:out id="column1"
               value="#{row.column1}"/>
           </tc:column>
           <tc:column label="Column 2">
             <tc:out id="column2"
               value="#{row.column2}"/>
           </tc:column>
         </tc:sheet>
         <tc:sheet id="testTable3"
           columns="1*;1*"
           showHeader="true"
           showRowRange="none"
           showPageRange="none"
           showDirectLinks="none"
           first="0"
           selectable="none"
           var="row"
           value="#{controller.list2}">
           <tc:column label="Column 1">
             <tc:out id="column1"
               value="#{row.column1}"/>
           </tc:column>
           <tc:column label="Column 2">
             <tc:out id="column2"
               value="#{row.column2}"/>
           </tc:column>
         </tc:sheet>
       </tc:panel>
     </tc:tab>
   </tc:tabGroup>
 </tc:page>
</f:view>

Please try this code!

Regards
Helmut


----- Original Message ----- From: "H. Swaczinna" <[EMAIL PROTECTED]>
To: <users@myfaces.apache.org>
Sent: Monday, June 04, 2007 1:06 PM
Subject: Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE


Hi,

with the moons sheet in demo there seems to be no specific IE layout problem
(but a general layout problem with the
period column header). The layout problems with the IE depend on the whole
page layout. Please try the code
I posted.

Regards
Helmut

BTW: Who does the IE testing?

----- Original Message ----- From: "Volker Weber" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <users@myfaces.apache.org>
Sent: Friday, June 01, 2007 7:42 PM
Subject: Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE


Hi,

the tobago-demo
http://tobago.atanion.net/tobago-example-demo/faces/overview/tab.jsp
already contains a sheet inside a tab.

switch to "Server side tabbing", "Moons".

this sheet is loaded by switchtype=reloadTab.

BTW: i also have no IE available.


Regards,
   Volker


2007/6/1, Bernd Bohmann <[EMAIL PROTECTED]>:
Hello,

just added your test to

http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/test/src/main/webapp/tabSheet.jsp

but I don't have a Windows with IE available.

Can someone with a Windows test this page, please.


Regards

Bernd

H. Swaczinna wrote:
> Hi,
>
> I have three sheets on a tab of a tab group with
> switchType="reloadTab".
> With Firefox everything is fine
> but with IE (6 and 7) there layout problems. In my app all three > sheets
> disappear when I switch to this tab
> the first time. The sheets are shown for a short time (ca. 0,1 s) and
> than
> disappear. I think they're first shown
> with a wrong layout and than relayouted and removed. When I switch to
> another tab and back the sheets are
> shown correctly. With switchType="reloadPage" there's no problem.
>
> Because my page layout is very compley I can't send you the source
> code. But
> I built a very small example
> with a tab and a sheet which shoes some layout problems with IE also:
>
> <f:view>
>   <tc:page id="resetPage" width="400px" height="200px">
>     <tc:tabGroup switchType="reloadTab">
>       <tc:tab id="tab1" label="Tab1">
>         <tc:out value="Tab1"/>
>       </tc:tab>
>       <tc:tab id="tab2" label="Tab2">
>         <tc:sheet id="testTable"
>           columns="1*;1*"
>           showHeader="true"
>           showRowRange="none"
>           showPageRange="none"
>           showDirectLinks="none"
>           first="0"
>           selectable="none"
>           var="row"
>           value="#{controller.list}">
>           <tc:column label="Column 1">
>             <tc:out id="column1"
>               value="#{row.column1}"/>
>           </tc:column>
>           <tc:column label="Column 2">
>             <tc:out id="column2"
>               value="#{row.column2}"/>
>           </tc:column>
>         </tc:sheet>
>       </tc:tab>
>     </tc:tabGroup>
>   </tc:page>
> </f:view>
>
> When you load the page and switch to Tab 2 the first time then the
> header of
> the second column is missing and
> there's a horizontal scrollbar (but there's no need for a scrollbar).
> When
> you switch to Tab 1 and back to Tab 2
> everything is ok.
>
> I'm using Tobago snapshot from the 23th of April.
>
> Regards
> Helmut
>




Reply via email to