[ http://issues.apache.org/struts/browse/SB-4?page=all ]
Don Brown moved STR-2690 to SB-4: --------------------------------- Project: Sandbox (was: Struts Action 1) Key: SB-4 (was: STR-2690) Component: (was: Sandbox) Version: (was: Nightly Build) > [ti] phase2: annotation reduction > --------------------------------- > > Key: SB-4 > URL: http://issues.apache.org/struts/browse/SB-4 > Project: Sandbox > Type: Bug > Environment: Operating System: other > Platform: Other > Reporter: Rich Feit > Assignee: Don Brown > Attachments: patch-kill-annotations.txt > > This patch does a few things to reduce the number/size of annotations in the > "phase2" directory. It's mainly just a POC. > - Each controller can specify its own default result suffix, like > "_success.faces". This means that most of the @ti.action/@ti.forward > annotations in the JSF sample go away. > - If an action has a single forward, you can now put the @ti.forward > directly on the action method, rather than nesting it in a @ti.action. > - You no longer need to specify @ti.action at all if there's no additional > configuration; all String- and Forward-returning methods with zero or one > arguments become actions. > patch -p0 < patch-kill-annotations.txt > svn add > phase2/jars/core/src/java/org/apache/ti/compiler/internal/SynthesizedAnnotation.java > svn add phase2/wars/samples-jsf/src/java/jsf/begin_success.java > svn add phase2/wars/samples-jsf/src/java/jsf/physiciansFlow/begin_success.java > svn add > phase2/wars/samples-jsf/src/java/jsf/physiciansFlow/physicianDetail_success.java > svn add phase2/wars/samples-jsf/src/webapp/jsf/begin_success.jsp > svn add > phase2/wars/samples-jsf/src/webapp/jsf/physiciansFlow/begin_success.jsp > svn add > phase2/wars/samples-jsf/src/webapp/jsf/physiciansFlow/displayPhysiciansWithDetail_success.jsp > svn add > phase2/wars/samples-jsf/src/webapp/jsf/physiciansFlow/physicianDetail_success.jsp > svn add > phase2/wars/samples-jsf/src/webapp/jsf/physiciansFlow/submitMailMessage_success.jsp > svn delete --force phase2/wars/samples-jsf/src/java/jsf/home.java > svn delete --force > phase2/wars/samples-jsf/src/java/jsf/physiciansFlow/physicianDetail.java > svn delete --force > phase2/wars/samples-jsf/src/java/jsf/physiciansFlow/physicianResultsWithDetail.java > svn delete --force > phase2/wars/samples-jsf/src/java/jsf/physiciansFlow/search.java > svn delete --force phase2/wars/samples-jsf/src/webapp/jsf/home.jsp > svn delete --force > phase2/wars/samples-jsf/src/webapp/jsf/physiciansFlow/confirmMailSent.jsp > svn delete --force > phase2/wars/samples-jsf/src/webapp/jsf/physiciansFlow/physicianDetail.jsp > svn delete --force > phase2/wars/samples-jsf/src/webapp/jsf/physiciansFlow/physicianResultsWithDetail.jsp > svn delete --force > phase2/wars/samples-jsf/src/webapp/jsf/physiciansFlow/search.jsp -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]