You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Björn Pewe <bj...@leanon.se> on 2002/12/18 10:33:09 UTC

org.apache.struts.tiles.actions.NoOpAction

Hi, I saw that org.apache.struts.tiles.actions.NoOpAction is deprecated and
that o.a.s.a.ForwardAction should be used instead. But when I use
ForwardAction to forward to a tiles def I get a mapping error. I'm using
modules and it doesn't matter if I append the module name before the tile
def. It seems to me that the TilesRequestProcessor either isn't called or
don't trigger on the tiles-def name. What am I missing here?
Example of my action mapping:
<action path="/test" type="org.apache.struts.actions.ForwardAction"
parameter=".test.def" /> 
or
<action path="/test" type="org.apache.struts.actions.ForwardAction"
parameter="module/.test.def" /> 
/Björn

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: org.apache.struts.tiles.actions.NoOpAction

Posted by Cedric Dumoulin <ce...@apache.org>.
  Hi,

  The parameter attribute should be the name of the tile, as it appears 
in your tile definitions file. Check that the definition exist, and that 
the Tiles factory is successfully loaded.

   Hope this help,

        Cedric

Björn Pewe wrote:

>Hi, I saw that org.apache.struts.tiles.actions.NoOpAction is deprecated and
>that o.a.s.a.ForwardAction should be used instead. But when I use
>ForwardAction to forward to a tiles def I get a mapping error. I'm using
>modules and it doesn't matter if I append the module name before the tile
>def. It seems to me that the TilesRequestProcessor either isn't called or
>don't trigger on the tiles-def name. What am I missing here?
>Example of my action mapping:
><action path="/test" type="org.apache.struts.actions.ForwardAction"
>parameter=".test.def" /> 
>or
><action path="/test" type="org.apache.struts.actions.ForwardAction"
>parameter="module/.test.def" /> 
>/Björn
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>  
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>