[ http://issues.apache.org/jira/browse/BEEHIVE-901?page=all ]
Rich Feit closed BEEHIVE-901:
-----------------------------
Resolution: Fixed
Assign To: (was: Rich Feit)
Fixed with revision 264849; submitted an automated test. Closing.
> Cannot forward to an inherited simple action
> --------------------------------------------
>
> Key: BEEHIVE-901
> URL: http://issues.apache.org/jira/browse/BEEHIVE-901
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: v1m1
> Reporter: Rich Feit
> Fix For: V1
>
> Repro:
> Create and build the following page flow controllers:
> ---
> @Jpf.Controller(
> simpleActions={
> @Jpf.SimpleAction(name="simpleAction", path="index.jsp")
> }
> )
> public abstract class BaseController extends PageFlowController
> {
> }
> ---
> @Jpf.Controller(
> simpleActions={
> @Jpf.SimpleAction(name="begin", action="simpleAction")
> }
> )
> public class DerivedController extends BaseController
> {
> }
> ---
> EXPECTED: compiles file
> ACTUAL: get the following error:
> [apt]
> C:\temp\todelete\inherit\WEB-INF\.tmpbeansrc\pageFlowCore\inheritActions\derived\Controller.java:14:
> Action "simpleAction" was not found.
> [apt] public class Controller extends
> pageFlowCore.inheritActions.base.Controller
> [apt] ^
> [apt] 1 error
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira