struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Boudreau <Eric_Boudr...@openpages.com>
Subject Tiles not working, I'm using a recent nightly build.
Date Fri, 01 Mar 2002 00:21:24 GMT
I'm starting to integrate Tiles into an application that has been built with
Struts. I built a simple test page but it won't display in the browser. I'm
not getting any exceptions or useful diagnostic info.

I've tried the following nightly builds:
20020205
20020228

Running on Weblogic 6.1

Browser error message:

There is a problem with the page you are trying to reach and it cannot be
displayed.

Weblogic output:

28 Feb 2002 12:50:49,899
INFO   on
 Delegating via forward to 'task.current.page'
[ExecuteThread: '13' for queue: 'default'](Log4JCategoryLog.java:148)

struts config snippet:

    <!-- Test Tiles -->
    <action    path="/testtiles"
            forward="task.current.page">
    </action>

Tiles config:

<?xml version="1.0" encoding="ISO-8859-1"?>
<component-definitions>

  <!--===== Base Pages ====-->

  <!-- Basic Layout: for plain pages without menu  -->
  <definition name="mainLayout" path="/layout/mainLayout.jsp">
    <put name="header" value="/includes/logo.inc"/>
    <put name="footer" value="/includes/footer.inc"/>
    <put name="menu" value=""/>
    <put name="breadcrumb" value=""/>
    <put name="body" value=""/>
  </definition>

  <!-- Menu Layout: for pages with menu  -->
  <definition name="menuLayout" extends="mainLayout">
    <put name="menu" value="/includes/left_nav.jsp"/>
  </definition>

  <!--==== Task Pages ====-->

  <!-- Current Task List -->
  <definition name="task.current.page" extends="menuLayout">
    <put name="title" value="Current Tasks"/>
  </definition>

</component-definitions>


Any clues? 

Should I be using a different nightly build?

Thanks.
-Eric

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


Mime
View raw message