Hi Derrell, Am 31.01.2007 um 15:09 schrieb [EMAIL PROTECTED]:
>> I think we could easily check for invalid combinations. As soon as >> a user >> adds parameters to the body (via the proposed addBodyParameter >> method), we >> can throw an exception in case he sets the content type to >> anything else >> than application/x-www-form-urlencoded. If there's no user- >> specified content >> type, we can default to application/x-www- form-urlencoded. >> >> If a user sets raw body data (like in the Rpc class), we can throw an >> exception when he tries to add body parameters later. In the >> opposite case >> (body parameters first, then setData to set the whole content), we >> can do >> the same. >> >> Likewise, we can throw an exception when cross-domain is requested >> and >> addBodyParameter is called. > > That's probably reasonable. I'm not going to work on it right > now. I think > it fits into the "bigger picture" (see below) that someone should > work on at > some point. Agreed. >>> Now what to do about Tables where the data is in a model rather >>> than stored >>> in the widget? It'll need a data model conversion capability... >> >> Now that's a completely different topic. This whole thread has to >> do with >> sending things to the server, not with interpreting the results. > > No, it's not a completely different topic. My original statement was: > >>>>> Ultimately, it would be nice to have a generic "form" API that >>>>> allows >>>>> generating forms using qooxdoo widgets and having the >>>>> submission of the >>>>> form data be automated (or at least semi-automated)... > > In regards to the Table, I'm referring to *sending* form data based > on what's > in the (possibly modified) table, nothing to do with interpreting > the results. > This, however, _is_ the "bigger picture" and is out of scope, at > least for for > me right now. OK. I don't know if I'll be able to implement it in the near future. If not, this thread should at least be useful for someone who needs this feature and is willing to work on it. Regards, Andreas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
