wood burning stoves 2.0*
The moose likes Struts and the fly likes problem with tiles in netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem with tiles in netbeans" Watch "problem with tiles in netbeans" New topic
Author

problem with tiles in netbeans

P.Praveen Jesudhas
Greenhorn

Joined: Jul 23, 2006
Posts: 26
hi,
i've been working with tiles framework for designing an application.i defined the definitions in tiles-defs.xml .i'm getting errors while mapping a global forward to a definition.can someone please help me on this

tiles-defs.xml:
<tiles-definition>

<definition name="base.definition" path="/tiles/template.jsp">
<put name="title" value="LIBRARY MEMBERSHIP FORM"/>
<put name="header" value="/tiles/top.jsp"/>
<put name="bottom" value="/tiles/bottom.jsp"/>
<put name="menu" value="/tiles/left.jsp"/>
<put name="body" value=""/>
</definition>

<definition name="/content.page" extends="base.definition">
<put name="title" vlaue="LIBRARY FORM"/>
<put name="body" value="/tiles/content.jsp"/>
</definition>


<definition name="/adduser.page" extends="base.definition">
<put name="title" vlaue="ADDING USER"/>
<put name="body" value="/tiles/adduser.jsp"/>
</definition>

<definition name="/deleteuser.page" extends="base.definition">
<put name="title" vlaue="DELETING USER"/>
<put name="body" value="/tiles/deleteuser.jsp"/>
</definition>
<definition name="/editdetail.page" extends="base.definition">
<put name="title" value="EDITING DETAILS"/>
<put name="body" value="/tiles/editdetails.jsp"/>
</definition>

<definition name="/search.page" extends="base.definition">
<put name="title" value="SEARCH USER"/>
<put name="body" value="/tiles/search.jsp"/>
</definition>

</tiles-definition>



struts-config.xml:
<global-forwards>
<forward name="adduser" path="adduser.page"/>
<forward name="deleteuser" path="deleteuser.page"/>
<forward name="editdetails" path="editdetail.page"/>
<forward name="search" path="search.page"/>
</global-forwards>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with tiles in netbeans
 
Similar Threads
Difference between action and forward attribute in html:link tag
Tiles with the submit form
can Layout JSPs in tiles be extended or reused ?
Tiles problem
Tiles in struts?