|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.springlayout.web.layout.LayoutPanelFormGroup
public class LayoutPanelFormGroup
Default implementation of a PanelFormGroup
Constructor Summary | |
---|---|
LayoutPanelFormGroup()
|
Method Summary | |
---|---|
java.util.Map |
getErrors(org.springframework.validation.Errors errors)
Gets all errors for the panelForm group, returned as a map based on the field key |
java.util.Map |
getErrorsForPanelForm(org.springframework.validation.Errors errors,
int panelFormIndex)
Returns the errors for the panelForm by it's index |
PanelForm |
getPanelFormByLabel(java.lang.String panelFormLabel)
Gets a panelFormForm from the panelFormFormGroup by name |
java.util.List |
getPanelForms()
|
boolean |
hasErrors(org.springframework.validation.Errors errors)
Checks all panelForms for errors |
void |
setPanelForms(java.util.List panelForms)
|
void |
validate(javax.servlet.http.HttpServletRequest request,
java.lang.Object obj,
org.springframework.validation.Errors errors)
Calls validate on all validation rules associated with the fieldDefinitions for all panelForms in this panelForm group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutPanelFormGroup()
Method Detail |
---|
public java.util.List getPanelForms()
getPanelForms
in interface PanelFormGroup
public void setPanelForms(java.util.List panelForms)
setPanelForms
in interface PanelFormGroup
panelForms
- The panelFormForms to set.public PanelForm getPanelFormByLabel(java.lang.String panelFormLabel)
PanelFormGroup
getPanelFormByLabel
in interface PanelFormGroup
public void validate(javax.servlet.http.HttpServletRequest request, java.lang.Object obj, org.springframework.validation.Errors errors)
PanelFormGroup
validate
in interface PanelFormGroup
request
- the current HttpServletRequestobj
- the current command object to be validatederrors
- the current errors for this requestpublic boolean hasErrors(org.springframework.validation.Errors errors)
PanelFormGroup
hasErrors
in interface PanelFormGroup
errors
- the current page errors
public java.util.Map getErrors(org.springframework.validation.Errors errors)
PanelFormGroup
getErrors
in interface PanelFormGroup
errors
- the current page errorst
public java.util.Map getErrorsForPanelForm(org.springframework.validation.Errors errors, int panelFormIndex)
PanelFormGroup
getErrorsForPanelForm
in interface PanelFormGroup
errors
- the current page errorspanelFormIndex
- the index of the panelForm to get errors for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |