[
https://issues.apache.org/jira/browse/MYFACES-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863663#action_12863663
]
Mark Li commented on MYFACES-2693:
----------------------------------
does this solve the following problem? or i should create an other issue.
<ui:repeat var="v" value="#{lxh:indexArray(2)}">
<h:form>
<lxhs:commandButton
action="#{TestBean.action}"></lxhs:commandButton>
</h:form>
</ui:repeat>
action will not be fired because:
public class PartialVisitContext extends VisitContext
{
............
@Override
public VisitResult invokeVisitCallback(
UIComponent component,
VisitCallback callback)
{
String clientId = _getVisitId(component);
}
............
}
getVisitId(component) return null, because on html page id of h:form is
j*:0:j*, but on serverside it is j*:j*.
> UIRepeat has to override visitTree() and invokeOnComponent()
> ------------------------------------------------------------
>
> Key: MYFACES-2693
> URL: https://issues.apache.org/jira/browse/MYFACES-2693
> Project: MyFaces Core
> Issue Type: Task
> Components: JSR-314
> Affects Versions: 2.0.0
> Reporter: Jakob Korherr
> Assignee: Jakob Korherr
> Fix For: 2.0.1-SNAPSHOT
>
>
> While working on the extended debug support, I noticed that ui:repeat only
> visits its children once whereas it should visit them once for every value in
> the DataModel (somehow like UIData.visitTree()). A black box test of mojarra
> confirmed my thoughts.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.