public class FormMessages extends Object
| Constructor and Description |
|---|
FormMessages()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FormMessage[] |
getFormMessages(String formName)
Gets all form messages for a given form.
|
FormMessage[] |
getFormMessages(String formName,
String fieldName)
Get form messages for a given form and field.
|
void |
setMessage(String formName,
String fieldName,
long returnCode)
Sets a message for a field of a form.
|
void |
setMessage(String formName,
String fieldName,
String messageName)
Sets a message for a field of a form.
|
public FormMessages()
public void setMessage(String formName, String fieldName, long returnCode)
formName - A String with the form name.fieldName - A String with the field name.returnCode - A long with the return code.public void setMessage(String formName, String fieldName, String messageName)
formName - A String with the form name.fieldName - A String with the field name.messageName - A String with the message.public FormMessage[] getFormMessages(String formName)
formName - A String with the form name.public FormMessage[] getFormMessages(String formName, String fieldName)
formName - A String with the form name.fieldName - A String with the field name.Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.