6 Replies Latest reply on Apr 15, 2008 2:44 PM by Ramon Vega

    Actions are not called from elements within an "<ui:repeat"

    Ramon Vega Newbie

      Hi there,
      We're running an application using Seam 2.0.1 (on Debian Etch)
      When I try to call an action from within a dataTable nested in  a 'ui:repeat' element, the action never got called.
      The only element that seems to work is 's:link'.


      <ui:repeat var="fooBar" value="#{m_FooBarMap}">
         <h:form>
            <h:dataTable value="#{fooBar.value}" var="foo">
               <h:column>
                  <!-- doesnt work -->
                  <h:commandLink action="#{fooAction.sayBar}" value="hLink" />
                  <!-- works as expected -->
                  <s:link action="#{fooAction.sayBar}" value="sLink" />       
               </h:column>
            </h:dataTable>
         </h:form>
      </ui:repeat>



      Actually I would rather need a 'h:selectOneMenu' or a 'h:selectBooleanCheckbox', than a link there - I just used a link to illustrate the strange behavior.


      Any clue?
      Potentially a bug in Seam 2.0.1?