Module com.aoindustries.web.struts
Class SignupOrganizationActionHelper
java.lang.Object
com.aoindustries.web.struts.signup.SignupOrganizationActionHelper
Managed3Action and Dedicated3Action both use this to setup the request attributes. This is implemented
here because inheritance is not possible and neither one is logically above the other.
- Author:
- AO Industries, Inc.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCountryOptions
(AoservConnector aoConn) Gets the options for use in a country list.static String
getOrganizationCountry
(AoservConnector rootConn, SignupOrganizationForm signupOrganizationForm) static void
setConfirmationRequestAttributes
(ServletContext servletContext, HttpServletRequest request, SignupOrganizationForm signupOrganizationForm) static void
setRequestAttributes
(ServletContext servletContext, HttpServletRequest request) static void
writeEmailConfirmation
(Union_TBODY_THEAD_TFOOT<?> tbody, AoservConnector rootConn, SignupOrganizationForm signupOrganizationForm)
-
Method Details
-
setRequestAttributes
public static void setRequestAttributes(ServletContext servletContext, HttpServletRequest request) throws IOException, SQLException - Throws:
IOException
SQLException
-
getCountryOptions
public static List<SignupOrganizationActionHelper.CountryOption> getCountryOptions(AoservConnector aoConn) throws IOException, SQLException Gets the options for use in a country list. Note: you probably want to use the RootAoservConnector to provide a more helpful list than a default user connector.- Throws:
IOException
SQLException
- See Also:
-
getOrganizationCountry
public static String getOrganizationCountry(AoservConnector rootConn, SignupOrganizationForm signupOrganizationForm) throws IOException, SQLException - Throws:
IOException
SQLException
-
setConfirmationRequestAttributes
public static void setConfirmationRequestAttributes(ServletContext servletContext, HttpServletRequest request, SignupOrganizationForm signupOrganizationForm) throws IOException, SQLException - Throws:
IOException
SQLException
-
writeEmailConfirmation
public static void writeEmailConfirmation(Union_TBODY_THEAD_TFOOT<?> tbody, AoservConnector rootConn, SignupOrganizationForm signupOrganizationForm) throws IOException, SQLException - Throws:
IOException
SQLException
-