[Seaside] Different actions upon form submission possible?
Alexandre Paes
alex.paes at streetdogstudio.com
Wed Oct 17 11:47:18 UTC 2007
Ok, just answering myself,
I have achieved this by adding a hidden input field and then setting
this hidden filed value before submitting the form, then on the callback
for that element i validate the value and send delegate to the desired
method.
If anyone knows a better way to achieve this i'd be glad to hear it.
Alex Paes
Em 10/17/07 11:53 Alexandre Paes escreveu:
> Hi again everyone,
>
> I have a form and i wanted to have different actions being performed
> upon form submission (i.e: 'save', 'apply', 'verify', etc...), i think
> this is pretty easy to achieve by having different callbacks on
> different submit buttons. The problem is that i didn't want to use
> submit buttons but instead some anchors that i have up in the page in
> some kind of toolbar. Is there someway to achieve this?
>
> Thanks in advance for the help,
>
> Alex Paes
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
More information about the seaside
mailing list