java.lang.Object
com.aoindustries.web.struts.signup.SignupHelper
Utilities usable by any signup step.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ActionForm>
TgetSessionActionForm
(ActionServlet servlet, HttpSession session, ScopeEE.Session.Attribute<T> attribute, Supplier<T> factory) Gets the form of the provided class from the session.
-
Method Details
-
getSessionActionForm
public static <T extends ActionForm> T getSessionActionForm(ActionServlet servlet, HttpSession session, ScopeEE.Session.Attribute<T> attribute, Supplier<T> factory) Gets the form of the provided class from the session. If it is not in the session will create the form, set its servlet, and add it to the session.
-