• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

problem with tiles in netbeans

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
    Bookmark Topic Watch Topic
  • New Topic