,ch14.9433 Page 449 Monday, February 14, 2005 12:55 PM
Example 14 7. Tiles tabbed layout (continued)
|
|
<% Draw body %>
|
|
|
|
Create a definition in your tiles defs.xml file that uses this layout such as the following:
classtype="org.apache.struts.tiles.beans.SimpleMenuItem"/>
classtype="org.apache.struts.tiles.beans.SimpleMenuItem"/>
classtype="org.apache.struts.tiles.beans.SimpleMenuItem"/>
Finally, create a JSP page that inserts the definition:
<%@ taglib uri="http://struts.apache.org/tags tiles" prefix="tiles" %>
Tiles Tabbed Panes
Creating Tabbed Panes | 449
This is the Title of the Book, eMatter Edition
Copyright 2005 O'Reilly & Associates, Inc. All rights reserved.
footer
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved