myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Li (JIRA)" <>
Subject [jira] Commented: (MYFACES-2693) UIRepeat has to override visitTree() and invokeOnComponent()
Date Tue, 04 May 2010 05:04:56 GMT


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)}">
			<lxhs:commandButton action="#{TestBean.action}"></lxhs:commandButton>

action will not be fired because:

public class PartialVisitContext extends VisitContext
  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:
>             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.

View raw message