|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.ActionForm org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase org.kuali.rice.kns.web.struts.form.KualiForm
public class KualiForm
This class common properites for all action forms.
Nested Class Summary | |
---|---|
static class |
KualiForm.TabState
Tab state UI literals |
Field Summary | |
---|---|
protected List<ExtraButton> |
extraButtons
|
Fields inherited from class org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase |
---|
requiredNonEditableProperties |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
KualiForm()
no args constructor which must init our tab states list |
Method Summary | |
---|---|
void |
addRequiredNonEditableProperties()
This method adds the required property names, that are not directly editable by user on the html page, to a list, regardless of the context in which they appear. |
void |
clearEditablePropertyInformation()
Reinitializes the form to allow it to register the editable properties of the currently processing request. |
Map |
getActionFormUtilMap()
|
String |
getAnchor()
|
String |
getBackLocation()
|
int |
getCurrentTabIndex()
|
Map |
getDisplayedErrors()
|
Map<String,Object> |
getDisplayedInfo()
|
Map<String,Object> |
getDisplayedWarnings()
|
List<HeaderField> |
getDocInfo()
|
ExtraButton |
getExtraButton(int index)
|
List<ExtraButton> |
getExtraButtons()
|
String |
getFieldNameToFocusOnAfterSubmit()
|
HeaderNavigation[] |
getHeaderNavigationTabs()
Gets the headerNavigationTabs attribute. |
String |
getMethodToCall()
Used by the dispatch action to determine which action method to call into. |
String |
getNavigationCss()
Gets the navigationCss attribute. |
int |
getNextArbitrarilyHighIndex()
|
int |
getNumColumns()
|
String |
getRefreshCaller()
Can be used by actions refresh method to determine what called the the refresh method. |
String |
getTabState(String key)
Special getter based on key to work with multi rows for tab state objects |
Map<String,String> |
getTabStates()
|
void |
incrementTabIndex()
|
boolean |
isFieldLevelHelpEnabled()
Returns whether field level help is enabled for this form. |
void |
populate(javax.servlet.http.HttpServletRequest request)
Checks for methodToCall parameter, and if not populated in form calls utility method to parse the string from the request. |
protected void |
populateBackLocation(javax.servlet.http.HttpServletRequest request)
|
protected void |
populateFieldLevelHelpEnabled(javax.servlet.http.HttpServletRequest request)
Populates whether the each field will have field-level help associated with it. |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
|
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.ServletRequest request)
|
String |
retrieveFormValueForLookupInquiryParameters(String parameterName,
String parameterValueLocation)
Retrieves a value from the form for the purposes of passing it as a parameter into the lookup or inquiry frameworks |
void |
setActionFormUtilMap(Map validOptionsMap)
|
void |
setAnchor(String anchor)
|
void |
setBackLocation(String backLocation)
|
void |
setCurrentTabIndex(int currentTabIndex)
|
void |
setDerivedValuesOnForm(javax.servlet.http.HttpServletRequest request)
|
void |
setDocInfo(List<HeaderField> docInfo)
|
void |
setExtraButton(int index,
ExtraButton extraButton)
|
void |
setExtraButtons(List<ExtraButton> extraButtons)
|
void |
setFieldLevelHelpEnabled(boolean fieldLevelHelpEnabled)
|
void |
setFieldNameToFocusOnAfterSubmit(String fieldNameToFocusOnAfterSubmit)
|
void |
setHeaderNavigationTabs(HeaderNavigation[] headerNavigationTabs)
Sets the headerNavigationTabs attribute value. |
void |
setMethodToCall(String methodToCall)
|
void |
setNavigationCss(String navigationCss)
Sets the navigationCss attribute value. |
void |
setNumColumns(int numColumns)
|
void |
setRefreshCaller(String refreshCaller)
|
void |
setTabStates(Map<String,String> tabStates)
simple setter for the tab state Map |
boolean |
shouldMethodToCallParameterBeUsed(String methodToCallParameterName,
String methodToCallParameterValue,
javax.servlet.http.HttpServletRequest request)
|
boolean |
shouldPropertyBePopulatedInForm(String requestParameterName,
javax.servlet.http.HttpServletRequest request)
This overridden method ... |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<ExtraButton> extraButtons
Constructor Detail |
---|
public KualiForm()
Method Detail |
---|
public void addRequiredNonEditableProperties()
PojoForm
addRequiredNonEditableProperties
in interface PojoForm
addRequiredNonEditableProperties
in class PojoFormBase
org.kuali.rice.krad.web.struts.pojo.PojoFormBase#addRequiredNonEditableProperties()
public int getNumColumns()
public void setNumColumns(int numColumns)
public List<HeaderField> getDocInfo()
public void setDocInfo(List<HeaderField> docInfo)
public void populate(javax.servlet.http.HttpServletRequest request)
populate
in interface PojoForm
populate
in class PojoFormBase
protected void populateBackLocation(javax.servlet.http.HttpServletRequest request)
protected void populateFieldLevelHelpEnabled(javax.servlet.http.HttpServletRequest request)
request
- public Map getDisplayedErrors()
public Map<String,Object> getDisplayedWarnings()
public Map<String,Object> getDisplayedInfo()
public String getMethodToCall()
public void setMethodToCall(String methodToCall)
methodToCall
- The methodToCall to set.public String getRefreshCaller()
public void setRefreshCaller(String refreshCaller)
refreshCaller
- The refreshCaller to set.public Map<String,String> getTabStates()
public void setTabStates(Map<String,String> tabStates)
tabStates
- public String getTabState(String key)
public int getCurrentTabIndex()
public void setCurrentTabIndex(int currentTabIndex)
public void incrementTabIndex()
public int getNextArbitrarilyHighIndex()
public String getFieldNameToFocusOnAfterSubmit()
public void setFieldNameToFocusOnAfterSubmit(String fieldNameToFocusOnAfterSubmit)
public Map getActionFormUtilMap()
public void setActionFormUtilMap(Map validOptionsMap)
validOptionsMap
- The validOptionsMap to set.public HeaderNavigation[] getHeaderNavigationTabs()
public void setHeaderNavigationTabs(HeaderNavigation[] headerNavigationTabs)
headerNavigationTabs
- The headerNavigationTabs to set.public String getNavigationCss()
public void setNavigationCss(String navigationCss)
navigationCss
- The navigationCss to set.public String getAnchor()
public void setAnchor(String anchor)
public List<ExtraButton> getExtraButtons()
public void setExtraButtons(List<ExtraButton> extraButtons)
public ExtraButton getExtraButton(int index)
public void setExtraButton(int index, ExtraButton extraButton)
public boolean isFieldLevelHelpEnabled()
public void setFieldLevelHelpEnabled(boolean fieldLevelHelpEnabled)
public String retrieveFormValueForLookupInquiryParameters(String parameterName, String parameterValueLocation)
parameterName
- the name of the parameter, as expected by the lookup or inquiry frameworksparameterValueLocation
- the name of the property containing the value of the parameter
public boolean shouldPropertyBePopulatedInForm(String requestParameterName, javax.servlet.http.HttpServletRequest request)
shouldPropertyBePopulatedInForm
in interface PojoForm
shouldPropertyBePopulatedInForm
in class PojoFormBase
requestParameterName
- the name of the request parameterrequest
- the HTTP request
org.kuali.rice.krad.web.struts.pojo.PojoFormBase#shouldPropertyBePopulatedInForm(java.lang.String, javax.servlet.http.HttpServletRequest)
public boolean shouldMethodToCallParameterBeUsed(String methodToCallParameterName, String methodToCallParameterValue, javax.servlet.http.HttpServletRequest request)
public void clearEditablePropertyInformation()
PojoForm
clearEditablePropertyInformation
in interface PojoForm
clearEditablePropertyInformation
in class PojoFormBase
org.kuali.rice.krad.web.struts.pojo.PojoFormBase#clearEditablePropertyInformation()
public void setDerivedValuesOnForm(javax.servlet.http.HttpServletRequest request)
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
reset
in class org.apache.struts.action.ActionForm
ActionForm.reset(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.ServletRequest request)
reset
in class org.apache.struts.action.ActionForm
ActionForm.reset(org.apache.struts.action.ActionMapping, javax.servlet.ServletRequest)
public String getBackLocation()
public void setBackLocation(String backLocation)
backLocation
- the backLocation to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |