|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.struts.action.Action | +--com.ashridgetech.gen2j.web.LinkAction
Implementation of Action
that processes
a request to obtain one UCM from another.
The perform
method
ActionForward
to Struts
Field Summary | |
static String |
UCM_ID_PARAM
|
static String |
UCM_PROPERTY_PARAM
|
Fields inherited from class org.apache.struts.action.Action |
DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGES_KEY, MULTIPART_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY |
Constructor Summary | |
LinkAction()
|
Method Summary | |
org.apache.struts.action.ActionForward |
perform(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Find the UCM to process the specified HTTP request, and forward to the view JSP for the requested UCM. |
static String |
propertyLink(javax.servlet.ServletRequest request,
String propertyName)
Get the contents of a property link which will refer to a property of the current UCM object. |
Methods inherited from class org.apache.struts.action.Action |
generateToken, getLocale, getResources, getServlet, isCancelled, isTokenValid, perform, perform, perform, resetToken, saveErrors, saveToken, setLocale, setServlet, toHex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static String UCM_ID_PARAM
public static String UCM_PROPERTY_PARAM
Constructor Detail |
public LinkAction()
Method Detail |
public org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
perform
in class org.apache.struts.action.Action
mapping
- The ActionMapping used to select this instanceactionForm
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creatingActionForward
indicating the required JSPIOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet exception occurspublic static String propertyLink(javax.servlet.ServletRequest request, String propertyName) throws javax.servlet.ServletException
JspManager
for the current request must be a UCMrequest
- used to find the current JspManager
propertyName
- the property to be accessed byte the linkjavax.servlet.ServletException
- if the current object is not a UCM
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |