You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Clemens Sietas <si...@gmx.de> on 2007/04/04 08:27:50 UTC
[Tobago] Layout problems
Hello,
I am using the layout from the Tobago Blank Demo
overview.tag etc. with Tobago 1.0.10.
I have a nice layout for my main dialog, however,
when I move on to a second dialog which has not the same
hight as the first one the navigator bar in the left
column is not at the top anymore.
The smaller the the hight of the dialog is the more
further has the navigator bar moved down.
I have tried a lot with the hight attribute but
did not succeed. Do you have any suggestions?
Here are the outer component tags:
<layout:overview>
<f:subview id="selectItemDlg">
<jsp:body>
<tc:panel>
<f:facet name="layout">
<tc:gridLayout rows="1*;2*"/>
</f:facet>
...
</tc:panel>
</jsp:body>
</f:subview>
</layout:overview>
Thanks in advance
Clemens Sietas
--
--------------------------------------------
Clemens Sietas
email: siecle@gmx.de
--------------------------------------------
Re: [Tobago] Layout problems
Posted by Clemens Sietas <si...@gmx.de>.
Hello,
I found the problem by myself.
In the Overview.tag source file the tc:cell needed tc:panel
around its declaration. After adding the tc:panel component
tags the navigator bar always remains at the top just
underneath the menu bar.
Regards
Clemens
<f:view locale="#{clientConfigController.locale}">
<tc:loadBundle basename="overview" var="overviewBundle"/>
<tc:page label="#{overviewBundle.pageTitle}" id="page" width="950px" height="550px">
<jsp:include page="/overview/menubar.jsp"/>
<tc:panel>
<f:facet name="layout">
<tc:gridLayout border="0" columns="2*;9*" margin="10px"/>
</f:facet>
<tc:panel>
<tc:cell spanY="2">
<jsp:include page="/overview/navigation.jsp"/>
</tc:cell>
</tc:panel>
<tc:panel>
<tc:cell>
<jsp:doBody/>
</tc:cell>
</tc:panel>
</tc:panel>
</tc:page>
</f:view>
-------- Original-Nachricht --------
Datum: Wed, 04 Apr 2007 08:27:50 +0200
Von: "Clemens Sietas" <si...@gmx.de>
An: users@myfaces.apache.org
Betreff: [Tobago] Layout problems
> Hello,
>
> I am using the layout from the Tobago Blank Demo
> overview.tag etc. with Tobago 1.0.10.
>
> I have a nice layout for my main dialog, however,
> when I move on to a second dialog which has not the same
> hight as the first one the navigator bar in the left
> column is not at the top anymore.
> The smaller the the hight of the dialog is the more
> further has the navigator bar moved down.
>
> I have tried a lot with the hight attribute but
> did not succeed. Do you have any suggestions?
>
> Here are the outer component tags:
>
> <layout:overview>
> <f:subview id="selectItemDlg">
> <jsp:body>
> <tc:panel>
> <f:facet name="layout">
> <tc:gridLayout rows="1*;2*"/>
> </f:facet>
> ...
> </tc:panel>
> </jsp:body>
> </f:subview>
> </layout:overview>
>
> Thanks in advance
> Clemens Sietas
>
> --
> --------------------------------------------
> Clemens Sietas
> email: siecle@gmx.de
> --------------------------------------------
>
--
--------------------------------------------
Clemens Sietas
email: siecle@gmx.de
--------------------------------------------