com.ibm.hats.transform.actions
Class AutoSubmitIfFilledAction
java.lang.Object
com.ibm.hats.transform.actions.ScriptAction
com.ibm.hats.transform.actions.AutoSubmitIfFilledAction
public class AutoSubmitIfFilledAction
- extends ScriptAction
This class represents the action to automatically submit the HTML form if the
specified HTML input field is filled (the lenght of its text is equal to the
maximum length of the input field).
The current implementation of this class generates the following:
autoSubmitIfFilled(this, event)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoSubmitIfFilledAction
public AutoSubmitIfFilledAction()
generateScript
public String generateScript(String language,
ContextAttributes contextAttributes)
- Returns the generated script. The following script is generated:
autoSubmitIfFilled(this, event)
- Specified by:
generateScript in class ScriptAction
- Parameters:
language - The language.contextAttributes - The context attributes.
- Returns:
- The generated script.