[daisy] Help with Form Field Styling.xsl

Karel Vervaeke karel at outerthought.org
Fri Apr 4 09:22:36 CEST 2008


It should be the other way around:

<ft:widget id="Comments">
  <fi:styling ....>
</ft:widget>

Regards,
Karel

On Thu, 2008-04-03 at 14:48 -0400, Sieranski, Greg wrote:
> 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
> 
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy


More information about the daisy mailing list