Is there a way to pass parameters to the custom converters using the Alfresco web-client configuration:It seems the convertere configuration allows it:
<converter>
<converter-id>PriceConverter</converter-id>
<converter-class>es.binovo.alfresco.web.ui.repo.converter.Long2DecimalConverter</converter-class>
<property>
<property-name>fractionDigits</property-name>
<property-class>java.lang.Short</property-class>
</property>
</converter>
But this doesn't work in the web-cliente configuration:
<config evaluator="node-type" condition="eun:ofertaProyecto">
<property-sheet>
<show-property name="eun:descuentoOferta" display-label="Descuento" converter="PriceConverter" fractionDigits="3"/>
<show-property name="eun:portesOferta" display-label="Portes" converter="PriceConverter" fractionDigits="3"/>
<show-property name="eun:tipoIvaOferta" display-label="Tipo IVA" converter="PriceConverter" fractionDigits="3"/>
<show-property name="eun:formaPagoOferta" display-label="Forma de pago" />
<show-property name="eun:plazoEntregaOferta" display-label="Plazo de entrega" />
<show-property name="eun:validezOferta" display-label="Valido hasta" />
</property-sheet>
</config>
It doesn't complain at all, but it does not pass the parameter.This is related to this other post.