Hi Eddy,
I don't see the use of the new template tag. It doesn't add anything,
since it's actually fully handled by the submission declaration.
As you noted, this feature addition could be confusing, and when there
are different submission forms on the same element with the same submit
button
You mean my proposal, the last one?
I think I'd prefer this setup. It seem more intuitive.
Cheers,
Tyler
___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin Uwyn
Yes, yours Geert. It seems better to have it autodetect/fallback.
Keeps source compatibility with old versions, functions like several
other frameworks (not a plus always, but in this case I'd say it's
good) and it doesn't require a new tag.
Cheers,
Tyler
On 1/31/06, Geert Bevin [EMAIL
: Re: [Rife-users] Multiple submit buttons on a form
___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users
I like this proposal since it saves me the pain of checking a submit
name in a localized website. Reduces my code in things like Bamboo (for
message previews) down about 25 lines.
On Tue, 2006-01-31 at 13:42 +0100, Geert Bevin wrote:
Hi Eddy,
I don't see the use of the new template tag. It
Hmm, actually that's a good point.
It's better to use the submit input field's name attribute to
differentiate since then you're not bound to the displayed text value.
On 31-jan-06, at 15:14, JR Boyens wrote:
I like this proposal since it saves me the pain of checking a submit
name in a
Right, but unless I'm not quite awake yet, I believe that if you have a
form, each submit button must have the same name and a different value.
Hence you CAN'T just check the name, you have to check the value against
the l10n value.
On Tue, 2006-01-31 at 15:21 +0100, Geert Bevin wrote:
Hmm,
Indeed, iirc, as long as the submit field has a name, it'll be sent
as a parameter.
Just try this locally:
html
body
form action= method=get
input type=input name=data /
input type=submit name=save /
input type=submit name=delete /
/form
/body
/html
On 31-jan-06, at 15:52, Raoul Pierre wrote:
I also like your suggestion, Geert. I just threw this idea off the top
of my head yesterday night after our quick IRC chat. Glad to see others
supporting it.
Eddy
Geert Bevin wrote:
Hi Eddy,
I don't see the use of the new template tag. It doesn't add anything,
since it's actually fully