You do not need the '/' in the ActionForward.  Not sure that is the exact
problem.

      <forward name="success" path="c-page"/>


Cal 

http://www.calandva.com/            Last update 01/03/03


-----Original Message-----
From: John Thorhauer [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 15:33
To: [EMAIL PROTECTED]
Subject: tiles with one controller and mulitple views

Hi,

I am trying to get tiles to work by using one action and forwarding to
multiple views.  However, I am getting the following error when I
request my action:

Exception in R( /myapp + /test.do + null) -
javax.servlet.ServletException: Can't find Tile context for
'com.phoenixcolor.jobstatus.struts.action.Test'. TilesAction subclasses
must be called from a Tile


My struts action is a TilesAction subclass and the config looks like
this:

    <action
      path="/test"
      type="com.phoenixcolor.jobstatus.struts.action.Test">
      <forward name="success" path="/c-page"/>
      </action>

My tiles definition looks like this:

<tiles-definitions>
    <definition name="layout" path="/layout/layout.jsp">
        <put name="title" value="MY TEST"/>
        <put name="header" value="/navigation/header.jsp"/>
        <put name="body" value=""/>
    </definition>
    <definition name="c-page" extends="layout" path="/test.do">
        <put name="title" value="blah"/>
        <put name="body" value="/c-page.jsp"/>
    </definition>
</tiles-definitions>

Any ideas on how I can get this to work?

Thanks,
John

--
********************************
** John Thorhauer
** [EMAIL PROTECTED]
** take a look at:
**  http://www.zenplex.com
********************************



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
  
Learn more about Paymentech's payment processing services at www.paymentech.com
THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary 
and confidential information intended only for the use of the recipient(s) named 
above.  If you are not the intended recipient, you may not print, distribute, or copy 
this message or any attachments.  If you have received this communication in error, 
please notify the sender by return e-mail and delete this message and any attachments 
from your computer.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to