title: "Property not found" with PrimeFaces RemoteCommand
body: <p>I'm trying to update a Prime Faces <a href="http://www.primefaces.org/showcase/ui/picklist.jsf" rel="nofollow">PickList</a> with a <a href="http://www.primefaces.org/showcase/ui/remoteCommand.jsf" rel="nofollow">RemoteCommnad</a> and I'm getting a <code>javax.el.PropertyNotFoundException: Property 'updatePermissions' not found</code> exception when the <code>updatePermission</code> property is defined.</p>
  
  <p>This is my UI definition file:</p>
  
  <pre><code>&lt;h:form&gt;
  
                ...           
  
              &lt;h:selectOneMenu id="groupsList" value="#{permissionsToGroupsBean.selectedGroup}" title="Select Group" onclick="updatePermissions()"&gt;
                  &lt;f:selectItems value="#{permissionsToGroupsBean.allGroups}" /&gt;
              &lt;/h:selectOneMenu&gt;
  
                ....              
  
              &lt;p:pickList 
                  id="permissions" 
                  value="#{permissionsToGroupsBean.permissionsPickList}" 
                  var="permissionsPickList" 
                  itemLabel="#{permissionsPickList}" 
                  itemValue="#{permissionsPickList}" /&gt;
  
              ....
  
          &lt;/h:panelGrid&gt;      
  
          &lt;p:remoteCommand name="updatePermissions" actionListener="#{permissionsToGroupsBean.updatePermissions}" update="permissions"/&gt;
  </code></pre>
  
  <p>This the controller that is supposed to handle the UI:</p>
  
  <pre><code>public class PermissionsToGroupsBean implements Serializable {
  
      ...
  
      public void updatePermissions() {
          getPermissionsPickList().setTarget(getPermissionsForSelectedGroup());
      }
  }
  </code></pre>
  
  <p>When I access the page URL I get:</p>
  
  <p><code>javax.el.PropertyNotFoundException: Property 'updatePermissions' not found on type tld.company.admin.web.bean.PermissionsToGroupsBean
      javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:193)
      javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:170)
      javax.el.BeanELResolver.property(BeanELResolver.java:279)
      javax.el.BeanELResolver.getValue(BeanELResolver.java:60)
      com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
      com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
      org.apache.el.parser.AstValue.getValue(AstValue.java:118)
      org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      com.sun.faces.facelets.el.ELText$ELTextVariable.toString(ELText.java:214)
      com.sun.faces.facelets.el.ELText$ELTextComposite.toString(ELText.java:155)
      com.sun.faces.facelets.compiler.CommentInstruction.write(CommentInstruction.java:77)
      com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82)
      com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183)
  </code></p>
  
  <p>Any help greatly appreciated, thanks.</p>