,ch14.9433  Page 462  Monday, February 14, 2005  12:55 PM
Example 14 19. CSS stylesheet for the main decorator (continued)
    border width: 2;
    border style: solid;
    font size: 10px;
    color: black;
    font weight: bold;
    text align: center;
    padding top: 10px;
    background: white;
}
The only additional JSP page you need to create is for the sidebar navigation.
Example 14 20 (navigation.jsp) shows this JSP page.
Example 14 20. Sidebar navigation JSP page
<%@ taglib uri="http://struts.apache.org/tags bean" prefix="bean" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
    
        <bean:message key="title.navigation"/>
        
    
    
        
        
        Main Page
        

        
        Test Another Page
        

        
        Summary Example
        

        <%   Look at the ParameterDecoratorMapper definition in the sitemesh.xml,
        You will see how it takes a decorator parameter and can take a confirm
parameter   %>
        
            
            
        
        Summary As PopUp


    
462 | Chapter 14: Tiles and Other Presentation Approaches
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