You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Raghuveer Rawat <ra...@gmail.com> on 2007/11/12 01:15:35 UTC

[Tile2] Help in Page Layout

Hi, I have newbie in GUI design (Tiles/Menuing) etc. I need some urgent help
in Page Layout Design using Tile2/Struts Menu.
I am using below template for my page. Menu is very simple one so I have
just anchor tags in Header.jsp

<definition name=".layout" template="/WEB-INF/common/Layout.jsp">

<put-attribute name="title" value="Title"/>

<put-attribute name="header" value="/WEB-INF/common/Header.jsp"/>

<put-attribute name="leftPanel" value="nothing"/>

<put-attribute name="content" value="nothing"/>

<put-attribute name="rightPanel" value="nothing"/>

<put-attribute name="footer" value="/WEB-INF/common/Footer.jsp"/>

</definition>
Now my other pages are extending this tile layout like below.

<definition name="welcome" extends=".layout">
<put-attribute name="title" value="Title"/>
<put-attribute name="leftPanel" value="/WEB-INF/jsp/Left.jsp"/>
<put-attribute name="content" value="/WEB-INF/jsp/Center.jsp"/>
<put-attribute name="rightPanel" value="/WEB-INF/jsp/Right.jsp"/>
</definition>

Left.jsp contains a number of link. When user click on these links content
of Center.jsp will also change.

Now again Center.jsp have 4-5 menu items and page will change besed on menu
item selection.
I am wondering what will be best way to Design Layout of this Center.jsp.

Anyone who can help me.

Re: [Tile2] Help in Page Layout

Posted by Antonio Petrelli <an...@gmail.com>.
Please ask this question to the Tiles Users mailing list:
http://tiles.apache.org/mail.html

Antonio

2007/11/12, Raghuveer Rawat <ra...@gmail.com>:
> Hi, I have newbie in GUI design (Tiles/Menuing) etc. I need some urgent help
> in Page Layout Design using Tile2/Struts Menu.
> I am using below template for my page. Menu is very simple one so I have
> just anchor tags in Header.jsp
>
> <definition name=".layout" template="/WEB-INF/common/Layout.jsp">
>
> <put-attribute name="title" value="Title"/>
>
> <put-attribute name="header" value="/WEB-INF/common/Header.jsp"/>
>
> <put-attribute name="leftPanel" value="nothing"/>
>
> <put-attribute name="content" value="nothing"/>
>
> <put-attribute name="rightPanel" value="nothing"/>
>
> <put-attribute name="footer" value="/WEB-INF/common/Footer.jsp"/>
>
> </definition>
> Now my other pages are extending this tile layout like below.
>
> <definition name="welcome" extends=".layout">
> <put-attribute name="title" value="Title"/>
> <put-attribute name="leftPanel" value="/WEB-INF/jsp/Left.jsp"/>
> <put-attribute name="content" value="/WEB-INF/jsp/Center.jsp"/>
> <put-attribute name="rightPanel" value="/WEB-INF/jsp/Right.jsp"/>
> </definition>
>
> Left.jsp contains a number of link. When user click on these links content
> of Center.jsp will also change.
>
> Now again Center.jsp have 4-5 menu items and page will change besed on menu
> item selection.
> I am wondering what will be best way to Design Layout of this Center.jsp.
>
> Anyone who can help me.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org