[twill] Form action value accessible
William K. Volkman
wkvsf at users.sourceforge.net
Wed Nov 9 22:28:36 PST 2005
On Wed, 2005-11-09 at 23:07, Titus Brown wrote:
> -> Most of the sites that I would like to automate access to heavily
> -> is pretty transparent and why they do it is a mystery since
> -> straight forward methods work just as well (why have 3 submit
> -> buttons who's onClick method changes the default submit button's
> -> value and then submit the form...). Anyway what I was looking
> -> for was a way to modify the forms action field, should I add
> -> a command for that? Or how else would you like to approach it.
> if you can come up with a general mechanism, I'd be happy to include it.
> In the simplest case, you can probably just edit form.action directly;
> a cursory examination of the ClientForm code supports that ;).
I thought I would basically follow your formvalue pattern, i.e.
there would be a "formaction" command with a "fa" alias.
I would also tweak utils.print_form to display the current
form action. (I'll do this probably tomorrow as I've got
to get *SOME* sleep ;-)
More information about the twill