quick question: why is there no name="formid" on the form? In that case it works.
On Wed, Jul 2, 2008 at 12:40 PM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi, > > > On Wed, Jul 2, 2008 at 12:33 PM, Burghard Britzke > <[EMAIL PROTECTED]> wrote: >> using trinidad 1.2.8 with Firefox 3.0 (safari has the same behaviour, too) >> on Mac OS X 10.5.4 > > FF2 on windoze as well > (and the great IE7 too...) > >> xhtml rendered pages does not submit forms via _submitPartialChange() >> I found the following code snippet in DebugCommon1_2_8.js in function >> _submitPartialChange() >> >> 9176 // Get the actual form object >> 9177 if ((typeof form) == "string") >> 9178 form = document[form]; >> 9179 >> 9180 if (!form) >> 9181 return false; >> 9182 >> the expression document[form] returns --> undefined for xhtml documents >> so this function exits always without submitting. >> my sample document >> <?xml version="1.0" encoding="UTF-8" ?> >> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >> <html xmlns="http://www.w3.org/1999/xhtml"> >> <head> >> <title>test</title> >> </head> >> <body onload="alert(document['formid']+' >> '+document.getElementById('formid'))"> >> <form id="formid" action="test.html"></form> >> </body> >> </html> >> alerts the following message: "undefined [object HTMLFormElement]" >> this seems to be a bug. > > can you file an issue? > I try to look at it next days. > > Thanks, > Matthias > >> to workaround: is there a way to suppress PPR? >> > > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > mail: matzew-at-apache-dot-org > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org

