2 Replies Latest reply on Jun 9, 2008 8:48 AM by budoray

    a4j:commandLink + f:param

    budoray

      Found the following to be quite interesting and decided to bring it up here to see if this is a known problem with 3.1.5. The id on party is a Long value and in this case is null. When using a4j:command link, I have "null" in the request for partyId. When I use t:commandLink, I have "" in the request for partyId. Seems to be the same behavior for a4j:commandLink when using actionparam, too. Thoughts? Words of wisdom?

      
      ...within a t:dataTable/t:column element.
      
      <a4j:commandLink value="Link" action="#{partyHandler.create}">
       <f:param name="partyId" value="#{party.id}" />
      </a4j:commandLink>
      
      <t:commandLink value="Link" action="#{partyHandler.create}">
       <f:param name="partyId" value="#{party.id}" />
      </t:commandLink>