|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAction
com.aoindustries.website.SiteSettingsAction
com.aoindustries.website.LocaleAction
com.aoindustries.website.SkinAction
public class SkinAction
Resolves the current skin, sets the request param skin, and calls subclass implementation.
| Constructor Summary | |
|---|---|
SkinAction()
|
|
| Method Summary | |
|---|---|
ActionForward |
execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SiteSettings siteSettings,
java.util.Locale locale)
Selects the Skin, sets the request attribute "skin", then the subclass execute method is invoked. |
ActionForward |
execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SiteSettings siteSettings,
java.util.Locale locale,
Skin skin)
Once the skin is selected, this version of the execute method is invoked. |
static Skin |
getDefaultSkin(java.util.List<Skin> skins,
javax.servlet.http.HttpServletRequest req)
Gets the default skin from the provided list for the provided request. |
static Skin |
getSkin(SiteSettings settings,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Gets the skin for the current request. |
| Methods inherited from class com.aoindustries.website.LocaleAction |
|---|
execute, getDefaultLocale, getEffectiveLocale |
| Methods inherited from class com.aoindustries.website.SiteSettingsAction |
|---|
execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SkinAction()
| Method Detail |
|---|
public static Skin getDefaultSkin(java.util.List<Skin> skins,
javax.servlet.http.HttpServletRequest req)
public static Skin getSkin(SiteSettings settings,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public final ActionForward execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SiteSettings siteSettings,
java.util.Locale locale)
throws java.lang.Exception
Skin, sets the request attribute "skin", then the subclass execute method is invoked.
It also stores any "su" request for later processing by AuthenticatedAction.
execute in class LocaleActionjava.lang.Exception#execute(ActionMapping,ActionForm,HttpServletRequest,HttpServletResponse,Locale,Skin)
public ActionForward execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SiteSettings siteSettings,
java.util.Locale locale,
Skin skin)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||