|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormFieldWithNameHistory
Interface for form fields where the original field name still matters even once it has been changed.
Example:
With
<input name="foo"/>
following script will work
theForm.foo.name = 'newName';
theForm.foo.value = 'some value';
Depending on the simulated browser the form field is reachable only through its original name
or through all the names it has had.
Method Summary | |
---|---|
String |
getOriginalName()
Gets the first value of the name attribute of this field before any change. |
Collection<String> |
getPreviousNames()
Get all the names this field had before the current one. |
Method Detail |
---|
String getOriginalName()
name
attribute of this field before any change.
Collection<String> getPreviousNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |