Jorg Heymans wrote:
Hi,
Is it possible to add my own attributes to a widget definition?
nope, not to the definition
I want to do like
<fd:booleanfield id="bf" myattribute="payment">
but the myattribute is just filtered out in the output. I also tried adding it to the form template.
that's were it belongs! (and it should work) but you should of added them to the nested <fi:styling> element.
the defaul stylesheet will copy those over verbatim (unless it's a special styling attribute that the xsl reacts upon)
I could possibly do this via an xslt, but that is just plain nasty as it requires the xslt to know which widgets need to get additional attributes.
indeed.
HTH, -marc= -- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ [EMAIL PROTECTED] [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
