I've encountered a problem with event triggering inside AjaxFormLoop.

Suppose the following scenario.

- external component

<t:form>
  <t:ajaxformloop>
    <t:mycomponent/>
  </t:ajaxformloop>
</t:form>

- internal component (MyComponent)

<t:formfragment>
   <t:submit t:id="submitControl" value=".."/>
   ...
</t:formfragment>

- in the code of MyComponent:

void onSelectedFromSubmitControl () {

}

Regardless of which submit is clicked, the event is triggered only on the
last component in the loop. I know that p:defer parameter is supposed to
handle this, but adding p:defer="false" doesn't help. Any ideas how to
handle this?


-- 
Ilya Obshadko

Reply via email to