[ http://issues.apache.org/jira/browse/BEEHIVE-185?page=history ]
     
Rich Feit resolved BEEHIVE-185:
-------------------------------

      Assign To: Jeremiah Johnson  (was: Rich Feit)
     Resolution: Fixed
    Fix Version: V1Beta

Fixed this one with revision 154639.

> Forwards Merged in Inherited Page Flows
> ---------------------------------------
>
>          Key: BEEHIVE-185
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-185
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>  Environment: Running Beehive from SVN on Fedora Linux.
>     Reporter: Jeremiah Johnson
>     Assignee: Jeremiah Johnson
>     Priority: Minor
>      Fix For: V1Beta

>
> In one of my controllers, I have the following code:
> @Jpf.Action ( forwards={
>    @Jpf.Forward( name="oops", path="index.jsp" ),
>    @Jpf.Forward( name="success", path="parent.jsp" )
> } )
> public Forward begin() {
>    logger.debug( "begin() invoked" );
> The struts mapping (jpf-struts-config-sooper.xml) looks like this:
> <action path="/begin" type="org.apache.beehive.n
>   <forward name="oops" path="/index.jsp"/>
>   <forward name="success" path="/parent.jsp"/>
> </action>
> The, I extend the controller, but I decided to override the begin:
> @Jpf.Action ( forwards={
>    @Jpf.Forward( name="success", path="child.jsp" )
> } )
> public Forward begin() {
>    logger.debug( "begin() invoked" );
>  
> Now the struts mapping for this (jpf-struts-config-sooper-child.xml) isn�t 
> what I expect:
> <action path="/begin" type="org.apache.beehive.netui.page
>   <set-property property="overloaded" value="true"/>
>   <forward name="oops" path="/index.jsp"/>
>   <forward name="success" path="/parent.jsp"/>
> </action>
> - jeremiah

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to