You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by AM <gr...@gmail.com> on 2012/10/12 13:28:16 UTC
[TOBAGO] Stick items at the top
Hello dear users!
(in this case an item is my tc:box)
I have a layout-problem only when i use Firefox. My tc:box shown below is
centered at the height of my display, but with IE it works well and is also
always sticking near my menue-bar at the top.
at the faq i found this link:
http://myfaces.apache.org/tobago/compatibility.html
and i also tried to run my appl. with ff9 :(
I use: tobago v 1.0.38
and myfaces 1.1.8
My code (prblem):
<layout:proj>
<jsp:body>
<f:facet name="layout">
<tc:gridLayout rows="fixed;*"/>
</f:facet>
<tc:box label="Login">
<f:facet name="layout">
<tc:gridLayout rows="fixed"/>
</f:facet>
<tc:panel>....</tc:panel>
</tc:box>
<tc:out/>
</jsp:body>
</layout:proj>
My code menubar (if necessary):
<f:facet name="menuBar">
<tc:menuBar>
<tc:menu> ...... </tc:menu>
</tc:menuBar>
</f:facet>
thanks a lot and wishing a restful weekend! :)
Re: [TOBAGO] Stick items at the top
Posted by Udo Schnurpfeil <ud...@schnurpfeil.de>.
Hi,
you are right, please use tc:panel.
Regards
Udo
Am 16.10.12 19:22, schrieb AM:
> Hi Udo,
>
> Thanks for your help, i tried it with the same but instead of tc:cell i
> used tc:out.
> i hope i am now right remember about it but: tc:cell shall get banned at
> any newer version.
>
> 2012/10/16 Udo Schnurpfeil <ud...@irian.eu>
>
>> Hi,
>>
>> you can fix it, with defining a rows="fixed;*" in the layout of the box
>> and putting a <tc:cell/> after the panel (which gets the *).
>>
>> Hope that helps
>>
>> Udo
>>
>> Am 12.10.12 13:28, schrieb AM:
>>> Hello dear users!
>>>
>>> (in this case an item is my tc:box)
>>> I have a layout-problem only when i use Firefox. My tc:box shown below is
>>> centered at the height of my display, but with IE it works well and is
>> also
>>> always sticking near my menue-bar at the top.
>>>
>>> at the faq i found this link:
>>> http://myfaces.apache.org/tobago/compatibility.html
>>> and i also tried to run my appl. with ff9 :(
>>>
>>> I use: tobago v 1.0.38
>>> and myfaces 1.1.8
>>>
>>> My code (prblem):
>>> <layout:proj>
>>> <jsp:body>
>>> <f:facet name="layout">
>>> <tc:gridLayout rows="fixed;*"/>
>>> </f:facet>
>>> <tc:box label="Login">
>>> <f:facet name="layout">
>>> <tc:gridLayout rows="fixed"/>
>>> </f:facet>
>>> <tc:panel>....</tc:panel>
>>> </tc:box>
>>> <tc:out/>
>>> </jsp:body>
>>> </layout:proj>
>>>
>>> My code menubar (if necessary):
>>> <f:facet name="menuBar">
>>> <tc:menuBar>
>>> <tc:menu> ...... </tc:menu>
>>> </tc:menuBar>
>>> </f:facet>
>>>
>>>
>>> thanks a lot and wishing a restful weekend! :)
>>>
>>
>
Re: [TOBAGO] Stick items at the top
Posted by AM <gr...@gmail.com>.
Hi Udo,
Thanks for your help, i tried it with the same but instead of tc:cell i
used tc:out.
i hope i am now right remember about it but: tc:cell shall get banned at
any newer version.
2012/10/16 Udo Schnurpfeil <ud...@irian.eu>
> Hi,
>
> you can fix it, with defining a rows="fixed;*" in the layout of the box
> and putting a <tc:cell/> after the panel (which gets the *).
>
> Hope that helps
>
> Udo
>
> Am 12.10.12 13:28, schrieb AM:
> > Hello dear users!
> >
> > (in this case an item is my tc:box)
> > I have a layout-problem only when i use Firefox. My tc:box shown below is
> > centered at the height of my display, but with IE it works well and is
> also
> > always sticking near my menue-bar at the top.
> >
> > at the faq i found this link:
> > http://myfaces.apache.org/tobago/compatibility.html
> > and i also tried to run my appl. with ff9 :(
> >
> > I use: tobago v 1.0.38
> > and myfaces 1.1.8
> >
> > My code (prblem):
> > <layout:proj>
> > <jsp:body>
> > <f:facet name="layout">
> > <tc:gridLayout rows="fixed;*"/>
> > </f:facet>
> > <tc:box label="Login">
> > <f:facet name="layout">
> > <tc:gridLayout rows="fixed"/>
> > </f:facet>
> > <tc:panel>....</tc:panel>
> > </tc:box>
> > <tc:out/>
> > </jsp:body>
> > </layout:proj>
> >
> > My code menubar (if necessary):
> > <f:facet name="menuBar">
> > <tc:menuBar>
> > <tc:menu> ...... </tc:menu>
> > </tc:menuBar>
> > </f:facet>
> >
> >
> > thanks a lot and wishing a restful weekend! :)
> >
>
Re: [TOBAGO] Stick items at the top
Posted by Udo Schnurpfeil <ud...@irian.eu>.
Hi,
you can fix it, with defining a rows="fixed;*" in the layout of the box
and putting a <tc:cell/> after the panel (which gets the *).
Hope that helps
Udo
Am 12.10.12 13:28, schrieb AM:
> Hello dear users!
>
> (in this case an item is my tc:box)
> I have a layout-problem only when i use Firefox. My tc:box shown below is
> centered at the height of my display, but with IE it works well and is also
> always sticking near my menue-bar at the top.
>
> at the faq i found this link:
> http://myfaces.apache.org/tobago/compatibility.html
> and i also tried to run my appl. with ff9 :(
>
> I use: tobago v 1.0.38
> and myfaces 1.1.8
>
> My code (prblem):
> <layout:proj>
> <jsp:body>
> <f:facet name="layout">
> <tc:gridLayout rows="fixed;*"/>
> </f:facet>
> <tc:box label="Login">
> <f:facet name="layout">
> <tc:gridLayout rows="fixed"/>
> </f:facet>
> <tc:panel>....</tc:panel>
> </tc:box>
> <tc:out/>
> </jsp:body>
> </layout:proj>
>
> My code menubar (if necessary):
> <f:facet name="menuBar">
> <tc:menuBar>
> <tc:menu> ...... </tc:menu>
> </tc:menuBar>
> </f:facet>
>
>
> thanks a lot and wishing a restful weekend! :)
>