07-02-2009 03:53 AM
<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>
07-02-2009 04:03 AM
# 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>
07-02-2009 04:06 AM
<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>
07-02-2009 07:02 AM
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?
07-02-2009 07:14 AM
07-02-2009 07:47 AM
<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>
07-02-2009 08:05 AM
<!– 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>
07-02-2009 08:32 AM
<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>
07-02-2009 08:40 AM
07-02-2009 09:06 AM
<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}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.