added (but not tested much ;) On Tue, Nov 22, 2005 at 07:29:08PM +0530, sureshvv wrote: -> Titus Brown wrote: -> > -> -> > -> 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 ;-) -> > -> -> -> 1. Edit commands.py -> 2. Add "formaction" and "fa" to command list on top -> 3. Add following after formclear -> -> --------------------------------------- -> -> def formaction(formname, action): -> """ -> >> formaction <formname> <action_url> -> -> Sets action parameter on form to action_url -> """ -> form = browser.get_form(formname) -> form.action = action -> -> fa = formaction -> -> ----------------------------------------- -> -> -> _______________________________________________ -> twill mailing list -> [email protected] -> http://lists.idyll.org/listinfo/twill ->
_______________________________________________ twill mailing list [email protected] http://lists.idyll.org/listinfo/twill
