In <tH*****************@reader1.news.saunalahti.fi"Ju kka K. Korpela" <jk******@cs.tut.fiwrites:
>Your form handler should just _use_ what it gets. The name="..." attribute
value can internally, in the server-side script, be mapped to whatever you
want.
My question clearly sought ways around this obvious but deficient
solution. Deficient because it requires the server-side code to
be aware of functionally irrelevant GUI details, i.e. the string
that the GUI designer chooses for the label on the button. If the
designer changes his/her mind (which happens all the time), the
server-side programmer must change the corresponding code. A much
better solution is to fix this value once and for all and make it
independent of the GUI representation.
Judging from the responses I am amazed, after all these years of
hearing about the importance of indirection, that the general
consensus is that such a feature is unimportant. It seems to me
*essential*, if one wants to decouple the GUI from the guts of the
program.
I hope that I'm missing something...
kj
--
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.