Update of /cvsroot/httpunit/httpunit/src/com/meterware/httpunit
In directory usw-pr-cvs1:/tmp/cvs-serv13663/src/com/meterware/httpunit
Modified Files:
WebForm.java
Log Message:
#604478: setting form action now updates url parameters
Index: WebForm.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/WebForm.java,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- WebForm.java 5 Sep 2002 19:10:44 -0000 1.63
+++ WebForm.java 25 Sep 2002 15:24:37 -0000 1.64
@@ -485,7 +485,7 @@
public class Scriptable extends ScriptableDelegate implements NamedDelegate {
public String getAction() { return WebForm.this.getAction(); }
- public void setAction( String newAction ) { setDestination( newAction ); }
+ public void setAction( String newAction ) { setDestination( newAction ); _presetParameters = null; }
public void submit() throws IOException, SAXException {
|