in reply to Re^3: Review: CGI::Prototype in thread Review: CGI::Prototype
It's not completely bad since you can have the same form submit to different run modes with the same data without having to do some javascript hacking, but it does have it's down side...
If you change the wording on the button (to be more user friendly, etc) then you also have to change the perl code on the backend to have that same name as the run-mode. not horribly difficult, but it means that a purely design change would need a change to the perl.
Re^5: Review: CGI::Prototype
by knowmad (Monk) on Dec 09, 2004 at 04:16 UTC
|
If you change the wording on the button (to be more user friendly, etc) then you also have to change the perl code on the backend to have that same name as the run-mode. not horribly difficult, but it means that a purely design change would need a change to the perl.
I use a custom run_mode that allows me to use the name of the button instead of the value which gets around this problem. It also allows the use of image buttons.
William
| [reply] [Watch: Dir/Any] |
|