ouch...

4 days to figure that out.  At least I can laugh about it now :)


Thanks for catching that.




-----Original Message-----
From: Christian D Hahn [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 10:51 AM
To: Struts Users Mailing List
Subject: Re: action local forward to a tile


Hi Steven,

I am not sure if you found it yet, but it looks like you mis-spelled 
revenue in the action's forward element you have it as

path=".home.reveune"

in the tile def its listed as

name=".home.revenue"

I hope this helps,
  -Chris


Ebersole, Steven wrote:
> hey all, i'm running into an issue I just cannot seem to figure out.  It
> deals with trying to define an action local forward whose path is a tile.  I
> searched the mailing list and found all sorts of questions and comments on
> this, but none of the solutions helped with my problem.
> 
> I am using struts version 1.1.0.  In web.xml I have defined the servlet
> section using the standard org.apache.struts.action.ActionServlet class:
> 
>     <servlet>
>         <servlet-name>contoller</servlet-name>
>  
> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>         <init-param>
>             <param-name>config</param-name>
>             <param-value>/WEB-INF/struts-config.xml</param-value>
>         </init-param>
>         <init-param>
>             <param-name>convertNull</param-name>
>             <param-value>true</param-value>
>         </init-param>
>         <init-param>
>             <param-name>validating</param-name>
>             <param-value>true</param-value>
>         </init-param>
>         <load-on-startup>2</load-on-startup>
>     </servlet>
> 
> 
> In struts config, I have both defined the tiles plugin:
> 
>     <plug-in className="org.apache.struts.tiles.TilesPlugin">
>         <set-property property="definitions-config"
> value="/WEB-INF/tiles-defs.xml" />
>         <set-property property="moduleAware" value="true" />
>         <set-property property="definitions-parser-validate" value="true" />
>     </plug-in>
> 
> 
> as well as the tiles request processor (supposedly optional, i know, but
> just to be sure):
> 
>     <controller
> processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
> 
> 
> However, with this setup, if i try to setup a forward to a tile i keep
> getting invalid path errors:
> 
>         <action path="/home" type="ui.action.HomeAction" scope="request"
> name="homeForm">
>             <forward name="revenue" path=".home.reveune" />
>             ...
> 
> I have verified about a hundred times that ".home.revenue" really is a valid
> tile name within my tile def:
> 
>     <definition name=".home.revenue" extends=".layout.home">
>     </definition>
> 
> 
> 
> Can anybody please point out where I am going wrong?  Thanks a bunch in
> advance...
> 
> Steve
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



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


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

Reply via email to