[ http://issues.apache.org/jira/browse/BEEHIVE-984?page=all ]
Rich Feit updated BEEHIVE-984:
------------------------------
Fix Version: (was: 1.1)
> Defaulting behavior for Page Flow annotations
> ---------------------------------------------
>
> Key: BEEHIVE-984
> URL: http://issues.apache.org/jira/browse/BEEHIVE-984
> Project: Beehive
> Type: Improvement
> Components: NetUI
> Reporter: Rich Feit
>
> Some of our annotations require typing of the same sort of thing, over and
> over again. Consider this:
> @Jpf.Action(
> forwards={
> @Jpf.Forward(name="success", path="myActionSuccess.jsp")
> }
> )
> public Forward myAction()
> {
> // do something
> return new Forward("success");
> }
> It's probably the pattern for a huge number of actions. It could be replaced
> by this:
> @Jpf.Action
> public Forward myAction()
> {
> // do something
> return Forward.SUCCESS;
> }
> This would go to something like <action name>Success.jsp by default. We'd
> have to make the suffix configurable (e.g., successPageSuffix="Success.faces"
> in @Jpf.Controller). There are plenty of other places for this, including
> the begin action (which could automatically go to "begin.jsp" if it's not
> specified explicitly).
--
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