org.riotfamily.website.form
Class FormMacroHelper
java.lang.Object
org.riotfamily.website.form.FormMacroHelper
public class FormMacroHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormMacroHelper
public FormMacroHelper()
getBindStatus
public BindStatus getBindStatus(RequestContext requestContext,
String command,
String field)
start
public void start(String command,
RequestContext requestContext)
end
public void end()
getCommand
public String getCommand()
hasErrors
public boolean hasErrors(String command,
RequestContext requestContext)
hasFieldErrors
public boolean hasFieldErrors(String field)
getAllErrors
public List<ObjectError> getAllErrors()
getFieldErrors
public List<FieldError> getFieldErrors(String field)
getValue
public Object getValue(String field)
getDisplayValue
public String getDisplayValue(String field)
isSelected
public boolean isSelected(String field,
String option)