[ grinder-Feature Requests-2841789 ] valueFromInput() method
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
Feature Requests item #2841789, was opened at 2009-08-21 10:22 Message generated for change (Comment added) made by philipa You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=368598&aid=2841789&group_id=18598 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: HTTP Plugin Group: None >Status: Closed >Priority: 3 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Philip Aston (philipa) Summary: valueFromInput() method Initial Comment: I've bunch of tests where I get a page which is usually populated with default values for even visible input elements. I just need to submit these values back to the form poster after changing 1 or 2 values. While there is a httpUtilities.valueFromHiddenInput that helps in getting hidden values, I couldn't find anything to read input values. valueFromBodyURI doesn't work since it seems to be looking into name=value pairs only which is of use only with query string. I solved it by writing my own regex function to get my value. But I think this is a common use case. If we have a method like valueFromTextInput that is a copy of valueFromHiddenInput, with regex changed to have type=text, that should do it. Still better might be to have a new implementation called valueFromBodyInput which just looks into input tags and returns the value (special processing can be added later for type=radio or type=checkbox. ---------------------------------------------------------------------- >Comment By: Philip Aston (philipa) Date: 2010-01-02 17:50 Message: Fixed in svn: http://grinder.svn.sourceforge.net/viewvc/grinder?view=rev&revision=4217 Will be in next release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=368598&aid=2841789&group_id=18598 ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev