,ch14.9433  Page 451  Monday, February 14, 2005  12:55 PM
You can see the power of Tiles when you combine different Tiles together. For exam 
ple, you can combine the classic layout defined in
mainLayoutDef2
with the tabbed
layout using the definitions shown in Example 14 8. In this example, the
example.tabs2
definition creates the list of tabs using the
putList
element. This element contains
three
item
elements that define the tabs. Each item specifies a
link
attribute. The
value of this attribute dictates the page to be displayed when you select the tab. Like
most other Tiles definitions, the
link
attribute accepts a URL to a web resource or a
definition name.
Example 14 8. Tiles definition for a tabbed layout
       " //Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
       "http://jakarta.apache.org/struts/dtds/tiles config_1_1.dtd">
    
    
    
        
        
        
        
        
        
    
    
    
        
        
    
    
        
        
    
    
        
        
    
    
        
        
    
    
    
Creating Tabbed Panes | 451
This is the Title of the Book, eMatter Edition
Copyright   2005 O'Reilly & Associates, Inc. All rights reserved.






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

strutsweb hosting

 

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved