From: Howard, Rock <rock.howard@am...> - 2005-06-21 17:34:18
Your simplified version breaks the "look-and-feel" of the original
example and thus demonstrates the non-simple nature of handlers. A new
user might then try something like this to fix the problem:
self.clickstr =3D ""
self.clicker =3D "I was last clicked on " + time.ctime()
<f:submit handler=3Dself.clicker />
[[=3D self.clickstr ]]
This rather obvious approach to fixing the look and feel issue leads to
yet another problem. The first button click is effectively swallowed!
No, my original "trivial button example" is just that as compared with
the hidden complexity of the new-fangled handlers. Certainly the
handlers have the potential to become the simplest approach, but
currently there is a fairly steep learning curve that is not obviated by
clear documentation or intuitive examples.
Great potential though...