<#list space.children as child>
<#if child.isDocument && (child.mimetype = "application/pdf")>
<a href="/alfresco${child.url}" target="new"><embed src="/alfresco${child.url}"width="500" height="700"></embed>
<a href="/alfresco${child.url}" target="new">${child.properties.name}</a>
</#if>
</#list>
<table>
<tr>
<td>
<#list space.children as child>
<#if child.isDocument && (child.mimetype = "application/pdf")>
<a href="/alfresco${child.url}" target="new"><embed src="/alfresco${child.url}"width="500" height="700"></embed>
</#if>
</#list>
</td>
<td>
<table> <form name="miFormulario" onSubmit="return valida(this);">
<tr>
<#list space.childrenByXPath[".//*[subtypeOf('cm:content')]"] as child>
<td>Fecha de emision:</td><td> <input type="text" name="fecha" value=${child.properties["custom:fecha"]?datetime}></td>
</tr>
<tr>
<td>CIF de la empresa emisora:</td><td><input type="text" name="CIF" value=${child.properties["custom:CIF"]}> </td>
</tr>
<tr>
<td>Numero de factura: </td><td><input type="text" name="num_factura" value= ${child.properties["custom:numfactura"]}></td>
</tr>
<tr>
<td>Precio Base: </td><td><input type="text" name="Base" value= ${child.properties["custom:base"]}></td>
</tr>
<tr>
<td>Iva: </td><td><input type="text" name="nombre" value= ${child.properties["custom:iva"]}></td>
</tr>
<tr>
<td>Precio Total:</td><td><input type="text" name="nombre" value=${child.properties["custom:total"]}></td>
</tr>
</#list>
<tr>
<td><input type=submit value="Rechazar"> </td><td><input type=submit value="Aprobar"></td>
</tr>
</table> </form>
</td>
</tr>
</table>
Así que opté por hacerlo con una vista personalizada, y logro que se muestre el documento pdf con sus correspondientes metadatos, pero todos juntos, y mi intención es que muestre uno por pantalla, y no pase al siguiente hasta que se lo diga(boton aceptar, siguiente,o algo asi) alguna opción para que pudiera paginarlos?
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.