You can define <global-result> elements for a package which will apply to all Actions in that package (unless they specify a different result with the same name in the Action itself)
> -----Original Message----- > From: Eric Webb [mailto:[EMAIL PROTECTED] > Sent: Monday, January 26, 2004 2:11 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Result Inheritance or Default result > > > Hi all, > > Is there a way for an action to inherit a result name form another > action? or is there a way to define a result name applicable to all > actions in a package. > > My situation is like this: I have an interceptor that checks for a > properly initiated user session. If anything looks wrong, it > returns a > LOGIN automatically. Do i need to manually add a <result > name="login">....</result> to all my action definitions in > xwork.xml? > Or is there a shortcut? > > Cheers, and thanks for all the great work. > > Eric > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, > CA. http://www.eclipsecon.org/osdn > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork