Hi Benoit, I have added an extra Javascript test for not considering the click event on a disabled input.
Please check again with r545. Thank you for your feedbacks! -Alain Le 15/05/2012 18:20, Benoit VINCENT a écrit : > > Hi Alain, > > Right now I try to make my forms compatible with IE9and my problem is > that the read-only triggers remain click-able. > > Here's an example: > > <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?> > <?xsltforms-options debug="yes"?> > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:xf="http://www.w3.org/2002/xforms" > xmlns:ev="http://www.w3.org/2001/xml-events"> > <head> > <title>Test IE9 disabled button</title> > <xf:model> > <xf:instance id="main"> > <data xmlns=""> > <b1/> > <b2/> > </data> > </xf:instance> > <xf:bind nodeset="b2" readonly="true()"/> > </xf:model> > </head> > <body> > <xf:trigger ref="b1"> > <xf:label>Button 1</xf:label> > <xf:message ev:event="DOMActivate">Button 1</xf:message> > </xf:trigger> > <xf:trigger ref="b2"> > <xf:label>Disabled Button 2</xf:label> > <xf:message ev:event="DOMActivate">Disabled Button 2</xf:message> > </xf:trigger> > </body> > </html> > > Nothing appends when I try to click the disabled trigger on Firefox or > Opera, but the message is displayed when use this sample on IE8, IE9, > Chrome or Safari. What could I do to protect the disabled buttons on all > browsers ? > > Regards > Benoit > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Xsltforms-support mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
