,ch14.9433  Page 485  Monday, February 14, 2005  12:55 PM
Clicking the  Add User  link sends a request to the /addUser action:
           name="userForm"
          scope="request"
        forward="simple/addUser.dox"
/>
STXX processes this request through the xsl/addUser.xsl stylesheet shown in
Example 14 35.
Example 14 35. XSL stylesheet that generates an HTML form
    
    
        
        
             
                
                    
                        
                    
                    
                        
                        
                    
                    
                        
                        
                    
                    
                        
                        
                    
                    
                        
                    
                
Add User
                             (View XSL) 
                        
*First name:
                            
                                  value="{stxx/form/userForm/user/name/firstname}"/>
                        
*Last name:
                            
                                  value="{stxx/form/userForm/user/name/lastname}"/>
                        
*Email:
                            
                                  value="{stxx/form/userForm/user/email}"/>
                        
                            
                        
            
        
Integrating Struts and XSLT | 485
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