Hi All,

I'm doing some Ajax stuff. I can't use the wonder ajax frameworks so I'm writing my own. So bear with me. :-)

One problem I have is, when a certain input element changes, I send in a request into the application with only the form key/value for the input element that changed. The request also includes other info that tells me that this is an ajax request.

My application goes through the takeValuesFromRequest phase. The form key/value pair that was sent in is processed and the selection is set. However, because I did not send in the form key/value pairs for all the other input elements, when their corresponding elements (i.e. WOPopUpButton, WOTextField, etc.) go through the takeValuesFromRequest they get set to null.

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.

Anyways, then my application goes through the appendToResponse phase and I only generate the response for the component which was specified in the response. The response is received on the client side and inserted into a container.

So everything is working as I want it except for the takeValuesFromRequest phase which sets to null the values for the elements whose key/value pairs were not included in the request.

I know I'll eventually get it right, but I'm looking for some pointers as I know this has been done already by some of you.

Does anybody have any ideas?

Thanks,
Ricardo J. Parada

_______________________________________________
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]

Reply via email to