>From memory, this functionality was taken out and then put back in. Anyway
defintely works in Struts 1.2.x - suggest you try out the new Struts 1.2.4
which is available for download here:

http://cvs.apache.org/dist/struts/v1.2.4/

Currently this is a "test" build, hopefully if people try it out and report
no problems it will get voted GA soon.

Niall


----- Original Message ----- 
From: "John Crossman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 8:46 PM
Subject: CustomActionForward -- How do I pick it up in the Action?


> My struts-config has the following:
>
>     <global-forwards type="cnwk.camaro.CustomActionForward">
>         <forward name="DateFormat" path="/do/Date/SampleView" >
>             <set-property property="commands" value="stuff" />
>         </forward>
>     </global-forwards>
>
>     <action-mappings>
>         <action path="/Date/SampleView"
>             type="cnwk.camaro.MasterAction"
>             scope="request">
>             <forward
>                 name="success"
>                 path="/WEB-INF/pages/SampleView.jsp" />
>         </action>
>     </action-mappings>
>
> And yet the following causes ClassCastException in my MasterAction class:
>
>         CustomActionForward customForward = (CustomActionForward)
> mapping.findForward( DEFAULT_VIEW_KEY );
>
>
>
> ---------------------------------------------------------------------
> 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