AnsweredAssumed Answered

Help requested with actionLink and takeOneship

Question asked by martinbramley on Dec 4, 2007
Hi Alfresco developers/users,

I'm a little confused with actionLinks,  can any of you tell me what I am doing wrong with the following snippet of JSP code?


<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>


<a:richList id="pooled-tasks-list" viewMode="details" value="#{WorkflowBean.pooledTasks}" var="r"
   styleClass="recordSet" headerStyleClass="recordSetHeader" rowStyleClass="recordSetRow"
   altRowStyleClass="recordSetRowAlt" width="100%" pageSize="10"
   initialSortColumn="created" initialSortDescending="true"
   rendered="#{not empty WorkflowBean.pooledTasks}" refreshOnBind="true">


   <a:column id="col8" actions="true">

      <r:actions id="col8-actions" value="pindar_artist_pool_actions2" context="#{r}" showLink="true" />


      <a:actionLink id="col1-act8" value="test" image="/images/icons/workflow_task.gif" showLink="false"
         actionListener="#{DocumentDetailsBean.takeOwnership}" >
         <f:param name="id" value="#{r.id}" />
         <f:param name="type" value="#{r.type}" />
      </a:actionLink>
   </a:column>
</a:richList>

Many thanks in advance

Martin

Outcomes