Hi Mike,Is this something we could fix for a future version of WO? Can you think of any side effects? I know of the WOCheckBox one that is pretty nasty, but for other inputs?
Pierre -- Pierre Frisch [EMAIL PROTECTED] On Jan 30, 2008, at 15:20, Mike Schrag wrote:
Yeah, you have to wrap all of the WO input components and manually make them ignore takeValuesFromRequest if its key is not in the request. The problem here is that WOCheckBox has to work this way, so it will never work quite right for checkboxes without doing a bunch of trickery. You could make a custom checkbox with a hidden field + javascript to turn the checkbox into a hidden "1" or "0", I guess.It would be nice for example, if the WOTextField did not attempt to set its value to null when it notices that its elementID is not included in the form keys submitted in the request. Then this partial form submit would just work.IIRC, Mike said that he had problems with partial submits in the Wonder code too.ms _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/pierre%40apple.com This email sent to [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
