struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <jbarr...@sssc.com>
Subject RE: To Show Web Home Page That Consists of Tiles
Date Wed, 01 Sep 2004 17:58:15 GMT
> -----Original Message-----
> From: Caroline Jen [mailto:jiapei_jen@yahoo.com]
> Sent: Wednesday, September 01, 2004 10:47 AM
> To: struts-user@jakarta.apache.org
> Subject: To Show Web Home Page That Consists of Tiles
> 

<snip/>

> 
> 
> .frame.Validation is a piece of tile.  The error
> message I got is: "No context-relative URI specified
> via the 'parameter' attribute"

The error message indicates that the tiles plug-in is not intercepting the forward.  Please
check the documentation and make sure you have the struts-config.xml set up correctly to use
the the tiles plug-in/controller.


> 
> My tiles-defs.xml looks like:
> 
> <!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles
> Configuration//EN"
>       
> "http://jakarta.apache.org/struts/dtds/tiles-config.dtd">
> 
> <tiles-definitions>
>     <definition name=".frame.Base"
> path="/frame/common/layouts/Frame.jsp">
>       <put name="title"     value ="${title}"/>
>       <put name="upperbar"
> value="/frame/common/upperbar.jsp"/>
>       <put name="message"  
> value="/frame/common/message.jsp"/>
>       <put name="content"   value="${content}"/>
>       <put name="lowerbar" 
> value="/frame/common/lowerbar.jsp"/>
>    </definition>
>    <definition name=".frame.Validation"
> extends=".frame.Base">
>       <put name="content"  
> value="/frame/content/home.jsp"/>
>    </definition>
> </tiles-definitions>
> 
>  
> 
> 
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message