Re: [midcom-issues] [Issue 361] midcom_helper_toolbar must support buttons as well as links

Torben Nehmer <[email protected]> Mon, 13 Feb 2006 15:26:51 +0100
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

wish I could add this to Tigris, but I'm loosing auth every time I try to add a
comment. If somebody could please add this to the Bug ...


- [email protected] wrote on 2006-02-13 15:17:
> ------- Something like:
> 
> <form method="post" action="MIDCOM_TOOLBAR_URL"> <input type="submit"
> value="MIDCOM_TOOLBAR_LABEL" /> </form>

More like:

<form method="post" action="MIDCOM_TOOLBAR_URL">
    <input type="submit"
           value="MIDCOM_TOOLBAR_LABEL"
           name="MIDCOM_TOOLBAR_SUBMITNAME" />
</form>

Might even require more args. The components where I use stuff like this already
now and then use hidden params to customize the execution.

As well I have cases where the same form has more then one action that decide
bavoir, something like this (very pseudocodish):

<form method="post" action="url">
    <hidden inputs />
    <submit-1 />
    <submit-2 />
    ...
</form>



Live long and Prosper!
Torben Nehmer

- --
Torben Nehmer, Guenzburg, Bavaria, Germany
http://www.nathan-syntronics.de, mailto:[email protected]
PGP Public Key: https://www.link-m.de/pgp/t.nehmer.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD8JcrJPh4Kn6d5FYRAlK4AJ0YKY0glRMJJXyHjMnonlv2gVgDCgCdEKrT
teL1iuDr2BoQj99FZA0VSas=
=yUdB
-----END PGP SIGNATURE-----