• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

problem with tiles in netbeans

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic