|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.faces.util.StrutsContext
public class StrutsContext
Context bean providing accessors for the Struts related request,
session, and application scope objects reated to this request. Note
that this bean's methods will trigger exceptions unless there is a
FacesContext
instance for this request.
Constructor Summary | |
---|---|
StrutsContext()
|
Method Summary | |
---|---|
javax.faces.event.ActionEvent |
getActionEvent()
Return the ActionEvent for the current request
(if any). |
org.apache.struts.action.ActionMapping |
getActionMapping()
Return the ActionMapping for the current
request (if any). |
org.apache.struts.action.ActionMessages |
getActionMessages()
Return the ActionMessages instance containing
application error messages for this request (if any). |
org.apache.struts.action.ActionServlet |
getActionServlet()
Return the ActionServlet instance for this
web application. |
java.lang.Throwable |
getException()
Return the exception that caused one of the Struts custom tags to report a JspException (if any). |
javax.faces.context.ExternalContext |
getExternalContext()
Return the ExternalContext for the current request. |
javax.faces.context.FacesContext |
getFacesContext()
Return the FacesContext for the current request. |
java.util.Locale |
getLocale()
Return the Locale stored in the current user's
session (if any) for Struts based localization. |
org.apache.struts.util.MessageResources |
getMessageResources()
Return the MessageResources instance for the
application module that is processing this request (if any). |
org.apache.struts.config.ModuleConfig |
getModuleConfig()
Return the ModuleConfig for the application module
to which this request has been assigned (if any). |
boolean |
isCancelled()
Return true if a Boolean true value has been stored
in the request attribute indicating that this request has been
cancelled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrutsContext()
Method Detail |
---|
public javax.faces.event.ActionEvent getActionEvent()
Return the ActionEvent
for the current request
(if any).
public org.apache.struts.action.ActionMapping getActionMapping()
Return the ActionMapping
for the current
request (if any).
public org.apache.struts.action.ActionMessages getActionMessages()
Return the ActionMessages
instance containing
application error messages for this request (if any).
public org.apache.struts.action.ActionServlet getActionServlet()
Return the ActionServlet
instance for this
web application.
public boolean isCancelled()
Return true
if a Boolean true value has been stored
in the request attribute indicating that this request has been
cancelled.
public java.lang.Throwable getException()
Return the exception that caused one of the Struts custom tags to report a JspException (if any).
public javax.faces.context.ExternalContext getExternalContext()
Return the ExternalContext
for the current request.
public javax.faces.context.FacesContext getFacesContext()
Return the FacesContext
for the current request.
public java.util.Locale getLocale()
Return the Locale
stored in the current user's
session (if any) for Struts based localization.
public org.apache.struts.util.MessageResources getMessageResources()
Return the MessageResources
instance for the
application module that is processing this request (if any).
public org.apache.struts.config.ModuleConfig getModuleConfig()
Return the ModuleConfig
for the application module
to which this request has been assigned (if any).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |