When i try to pass a f:ajax
inside my composite component all my listener parameters are resolved to null.
<c:forEach var="paragraph" items="#{Chapiter.paragraphList}">
<c:forEach var="field" items="#{paragraph.fieldList}">
<util:inputNumber type="double" value="#{field.value}" decimal="2">
<f:ajax listener="#{myean.doSomething(field, paragraph)}">
</f:ajax>
</util:inputNumber>
</c:forEach>
</c:forEach>
of course i had added a client behavior to my composite component like this
the listener method is invoked on blur event but my arguments "field" and "paragraph" have always null value.
I think that the variables are not accessible from the composite component.
I have tried to pass the both variables to the composite component via a composite attribute but i dont thik that it is a clean solution.
is there a right way to do this?
Thanks for your attention.