tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghuveer Rawat" <raghuveer.ra...@gmail.com>
Subject [Tile2] Help in Page Layout Design using Tiles2
Date Mon, 12 Nov 2007 15:22:53 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message