Hi all, I've submitted a patch to Page which implements a handlePostWithoutAction() method. Here's the description:
"The handlePostWithoutAction method is called by _respond if a form is submitted, but no action was called. This can happen legitimately if javascript is used to submit a form when a select field is changed. In this case no submit button was clicked and so no action will be called. "Page's implementation is "pass". "A servlet may want to catch this event in order to refresh a form, and can do so by overriding this method." I've made use of this hook to implement a DynamicEditableSelectField field for FormKit which is basically a dropdown list which contains a bunch of items, one of which is entitled "Other". If the user selects "Other" the form is submitted automatically and a text box appears next to the dropdown where s/he can enter the new value. Values entered in other fields are propogated automatically. The FormKit guys (Matt and Martin) would like to include this in future FormKit releases, but it needs the above patch applied to webware before it will be plug-and-play. Please copy me in on any replies as I'm not subscribed to webware-devel. -- Jason D. Hildebrand [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel