title: Property action listener is not called when attached to Primefaces' command link
body: <p>I am using Primefaces and I have a problem that the setPropertyActionListener isn't fired and thus isn't setting a property of a view scoped managed bean.</p>
  
  <p>My view:</p>
  
  <pre><code>&lt;p:column&gt;
      &lt;p:commandLink value="Supprimer" oncomplete="confirmation.show()"  &gt;
          &lt;f:setPropertyActionListener value="#{car}" target="#{typeMB.selectedType}" /&gt;  
      &lt;/p:commandLink&gt;
  &lt;/p:column&gt;
  </code></pre>
  
  <p>The managed-bean has the selectedType property for which there is both a getter and a setter.</p>
  
  <p>My managed bean:</p>
  
  <pre><code>@ManagedBean(name="typeMB")
  @ViewScoped
  public class TypeManagedBean implements Serializable {
  
      private static final long serialVersionUID = 1L;
      private Type newtype;  
      private Type selectedType;
  
      @ManagedProperty(value="#{TypeDao}")
      GenericDao&lt;Type&gt; typeDAO;
  
      public TypeManagedBean(){
          newtype = new Type();
      }
  
      public List&lt;Type&gt; getList_types() {     
          return typeDAO.readAll();
      }
  
      public void setTypeDAO(GenericDao&lt;Type&gt; typeDAO) {
          this.typeDAO = typeDAO;
      }
  
      public GenericDao&lt;Type&gt; getTypeDAO() {
          return typeDAO;
      }
  
      public Type getNewtype() {
          return newtype;
      }
  
      public void setNewtype(Type newtype) {
          this.newtype = newtype;
      }       
  
      public Type getSelectedType() {
          if(selectedType != null)
          System.out.println("get : le selected type : "+selectedType.getLibelle());
          return selectedType;
      }
  
      public void setSelectedType(Type selectedType) {        
          this.selectedType = selectedType;
          System.out.println("set le selected type : "+selectedType.getLibelle());
      }
  
  }
  </code></pre>
  
  <p>What can I do to achieve what I want?</p>