Error generating rendition using plantilla.html: freemarker.core.NonStringException: Error on line 3, column 6 in freemarker_template
Expecting a string, date or number here, Expression factura.Cliente is instead a freemarker.ext.dom.NodeListModel
Error on line 3, column 6
<?xml version="1.0" standalone="yes"?>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pr="http://www.alfresco.org/alfresco/pr" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" targetNamespace="http://www.alfresco.org/alfresco/pr"
elementFormDefault="qualified">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="factura">
<xs:complexType>
<xs:sequence>
<xs:element name="Cliente" type="xs:string" minOccurs="0" />
<xs:element name="NifCliente" type="xs:string" minOccurs="0" />
<xs:element name="TelefonoCliente" type="xs:string" minOccurs="0" />
<xs:element name="NFactura" type="xs:int" minOccurs="0" />
<xs:element name="Concepto" type="xs:string" minOccurs="0" />
<xs:element name="FechaFactura" type="xs:date" minOccurs="0" />
<xs:element name="Importe" type="xs:float" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<#ftl ns_prefixes={"D":"http://www.alfresco.org/alfresco/pr"}>
<html>
<body>
${factura.Cliente}
${factura.NifCliente}
${factura.TelefonoCliente}
${factura.NFactura}
${factura.Concepto}
${factura.FechaFactura}
${factura.Importe}
</body>
</html>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.