You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Heligon Sandra <sa...@nextream.fr> on 2002/09/18 14:31:05 UTC

Tiles insert tag error

	I defined the following tiles:

	Tiles-def.xml:

	<definition name="site.mainLayout"
path="/layouts/classicLayout.jsp">
	  <put name="line" value="/tiles/common/line.jsp" />

	classicLayout.jsp:

	<table border="0" width="100%" cellspacing="0" cellpadding="0">
  		<td> <tiles:insert attribute="line"/></td>

	And I have the following error:

	javax.servlet.ServletException: Error - Tag Insert : No value found
for attribute 'line'.

	The classicLayout.jsp file has been placed under Myapp/layouts
	The line.jsp                file has been placed under
Myapp/tiles/common.

	What is the problem ?

	I have some difficulties to understand well the difference between 
	Tiles vs Templates vs Layouts, can someone give me an explanation ? 

	Thanks a lot.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>