Bugs item #1307443, was opened at 2005-09-28 16:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1307443&group_id=61302
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Release 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: RoCoder (callatis)
Assigned to: Nobody/Anonymous (nobody)
Summary: INPUT type="FILE" cannot be set
Initial Comment:
I am unable to set the value of an INPUT type="FILE"
element using:
setFormElement("importFile",
this.inputFile.getAbsolutePath());
I've looked into the code and it seems that the methods
that the control doesn't claim its value. I got around
it by using:
HttpUnitDialog dialog = getDialog();
WebForm webForm = dialog.getForm();
webForm.setParameter("importFile", this.inputFile);
I believe the other approach should work as well.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1307443&group_id=61302
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development