<config>
<actions>
<!– Launch Add Aspect Dialog –>
<action id="custodia">
<label>Custodia</label>
<image>/images/icons/add.gif</image>
<tooltip>Envia el documento a custodia</tooltip>
</action>
<!– Add action to more actions menu for each space –>
<action-group id="document_browse_menu">
<action idref="add_aspect" />
</action-group>
</actions>
</config>
# Accion personalizada para añadir aspecto
<bean id="tag" class="org.alfresco.sample.TagActionExecuter" parent="action-executer">
<property name="nodeService">
<ref bean="nodeService" />
</property>
</bean>
<managed-bean>
<description>Mi Bean para firmar</description>
<managed-bean-name>Firmar</managed-bean-name>
<managed-bean-class>org.alfresco.firmar.Firmar</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
javax.faces.el.EvaluationException: Exception while invoking expression #{Modulo.traza}
caused by:
java.lang.NoSuchMethodException: es.sia.alfresco.action.executer.SimpleClass.traza(javax.faces.event.ActionEvent)
<params>
<param name="id">#{actionContext.id}</param>
</params>
TransformActionExecutercuyo metodo
doTransformtiene acceso al documento. Pero, ¿hay alguna forma de que la clase tenga acceso al documento mediante la definición de parámetros en el elemento action?
<config>
<actions>
<!– Launch Add Aspect Dialog –>
<action id="custodia">
<label>Custodia</label>
<image>/images/icons/add.gif</image>
<tooltip>Envia el documento a custodia</tooltip>
</action>
<!– Add action to more actions menu for each space –>
<action-group id="document_browse_menu">
<action idref="add_aspect" />
</action-group>
</actions>
</config>
<!– Add action to more actions menu for each space –>
<action-group id="document_browse_menu">
<action idref="add_aspect" />
<action idref="custodia" />
</action-group>
<config>
<actions>
<!– Launch Add Aspect Dialog –>
<action id="custodia">
<label>Custodia</label>
<image>/images/icons/add.gif</image>
<action-listener>#{Firmar.firmar}</action-listener>
<tooltip>Envia el documento a custodia</tooltip>
</action>
<!– Add action to more actions menu for each space –>
<action-group id="document_browse_menu">
<action idref="add_aspect" />
</action-group>
</actions>
</config>
<config>
<actions>
<action id="custodia">
<label>Custodia</label>
<image>/images/icons/add.gif</image>
<tooltip>Envia el documento a custodia</tooltip>
</action>
<!– Add action to more actions menu for each space –>
<action-group id="document_browse_menu">
<action idref="custodia" />
</action-group>
</actions>
</config>
<beans>
<!–Custodia Action Bean –>
<bean id="custodia"
class="es.sia.alfresco.action.executer.CustodiaActionExecuter"
parent="actionexecuter">
<property name="nodeService">
<ref bean="NodeService" />
</property>
</bean>
<bean id="extension.actionResourceBundles" parent="actionResourceBundles">
<property name="resourceBundles">
<list>
<value>alfresco.extension.custodiaactionmessages</value>
</list>
</property>
</bean>
</beans>
<action-listener>#{custodia.executeImpl}</action-listener>
javax.faces.el.EvaluationException: Exception while invoking expression #{custodia.executeImpl}
caused by:
javax.faces.el.PropertyNotFoundException: Base is null: custodia
#{Firmar.firmar}
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.