[daisy] Help with Form Field Styling.xsl
Sieranski, Greg
greg.sieranski at quoininc.com
Thu Apr 3 20:48:12 CEST 2008
I have the following snippet of code in one of my form templates:
<fi:styling type="textarea" rows="4" columns="5">
<ft:widget id="Comments"/>
</fi:styling>
The problem is that the output html is:
<fi:styling _moz-userdefined="" columns="5" rows="4" type="textarea" xmlns:jx="http://apache.org/cocoon/templates/jx/1.0" xmlns:ft="http://apache.org/cocoon/forms/1.0#template" xmlns:cinclude="http://apache.org/cocoon/include/1.0">
<span id="Comments">
<input id="Comments:input" class="forms field
active" type="text" name="Comments" value="" title="Comments"/>
</span>
</fi:styling>
As you can see the fi:styling is not be translated by the xml. Shouldn't
the default forms-field-styling.xsl be doing this for me? I have also
tried copying the forms-field-styling.xsl to my skins/xslt dir to
override it but still no luck.
Any thoughts?
Thanks,
Greg Sieranski
More information about the daisy
mailing list