Is there anyway to pass an onChange javascript though to an xforms select1?
Hi Matt,
Short answer: Yes, you can: add an attribute d:onchange="..." on the <xforms:select1> element.
You can have attributes on the XForms controls that use a "foreign" namespace (i.e. that are in a namespace, and that this namespace is not the XForms namespace). OXF will just copy those attributes when generating XHTML. In the examples, in the epilogue stylesheet (oxf-theme/theme.xsl), we "remove the d: prefix" (see the template towards the end of the stylesheet), so you just end up with a onchange="..." attribute in the generated HTML.
Alex
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
