Unfortunately, when I use a client-only button with an attached JavaScript method that invokes the shuttle proxy using the addItem method, not all is well. Specifically, the item is added to the trailing shuttle where I tell it to be added as the first and only item. Following this, when a submit button is clicked, the value is posted to the server and the value change method clearly shows that the selected item's value that was added by addItem has been sent to the server intact. However, the returned page does not display this selected item's text after the POST, even though the message sent back in the page shows that the new value is the item that was sent. I also have noticed that I'm getting a "WARNING: Parameters: Invalid chunk ignored." message from the server most likely when it is trying to parse the request parameters and probably hitting a "&=&" string fragment or equivalent due to a missing parameter. I suspect that this is happening because there is a missing request parameter that is supposed to be the item's text, even though the shuttle's hidden input element containing the value does appear to be passed. I don't get this warning for the first use case above that works.
Has anybody gotten the shuttle proxy's addItem method to work with a round trip through the server and if so can you post a small working example or point me to one?
-=> Gregg <=-
signature.asc
Description: OpenPGP digital signature

