Re: Enabling disabled form element
"Dag Welinder" <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the reply!
I tried:
form.getScriptableObject().setParameterValue("kmd",
"kmd_forhandsgranska");
WebRequest req = form.newUnvalidatedRequest();
WebResponse forhandsgranska = wc.sendRequest(req);
with no luck. Adding before sendRequest:
req.setParameter("delgivningsBevakningsdagDatumText", "2007-04-25");
only causes an HTTP 500 on the server side. Cannot figure out what goes
wrong at the moment.
Bye,
D.
----Original Message Follows----
From: Graeme J Sweeney <[email protected]>
Reply-To: Graeme J Sweeney <[email protected]>,Discussion of use
and development of HttpUnit <[email protected]>
To: Discussion of use and development of HttpUnit
<[email protected]>
Subject: Re: [Httpunit-develop] Enabling disabled form element
Date: Mon, 23 Apr 2007 12:13:34 +0100 (BST)
On Mon, 23 Apr 2007, Dag Welinder wrote:
> support. So I have to enable the textfield some otehr way before
> submitting the form. How can I do that?
<snip/>
> Any ideas?
WebForm.newUnvalidatedRequest ?
--
Graeme -
Outlook Express user? - http://home.in.tum.de/~jain/software/oe-quotefix/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop
_________________________________________________________________
Motionera roligare med MSN Hälsa http://e-health.msn.se/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/