Re: [Xsltforms-support] IE7, IE8 "Permission Denied" with replace=all and trigger/send but not sub
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2011-05-02 19:38:04
|
Leigh, The event management in IE is different and it appears to be the cause of this issue (I'm surprised about IE6...). The corresponding exception is now ignored in Rev. 502. Thanks! -Alain Le 30/04/2011 00:35, Leigh L Klotz Jr a écrit : > This bug occurs in xsltforms-295 and xsltforms-dataisland 495 and > xsltforms-501, so it appears quite a robust bug. > > With submission @method='get' and @replace='all', trigger/send fails > with a JavaScript error "Permission Denied", but plain xf:submit works. > > It fails in IE7 and IE8. It is not affected by compatibility view > setting in IE8. > It works in IE6, Firefox 4, and Chrome 11. > > <?xml version="1.0"?> > <?xml-stylesheet href="/~klotz/xsltforms/xsltforms.xsl" type="text/xsl"?> > <?css-conversion no?> > <?xsltforms-options debug="no" lang="en_US" css="no"?> > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:xf="http://www.w3.org/2002/xforms" > xmlns:ev="http://www.w3.org/2001/xml-events"> > <head> > <title>Trigger replace bug</title> > <xf:model> > <xf:instance> > <data xmlns=""> > <term>sample</term> > </data> > </xf:instance> > <xf:submission id="doSearch" action="hello.html" method="get" > replace="all" /> > </xf:model> > </head> > <body> > <xf:input ref="term"> > <xf:label>Text</xf:label> > </xf:input> > <xf:trigger> > <xf:label>Fails</xf:label> > <xf:send ev:event="DOMActivate" submission="doSearch" /> > </xf:trigger> > <xf:submit submission="doSearch"> > <xf:label>Works</xf:label> > </xf:submit> > </body> > </html> > > The replaced file doesn't matter. Here is hello.html: > <html> > <head> > <title>hi</title> > </head> > <body> > <h1>test</h1> > </body> > </html> > > Leigh. > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |