So as requested I am sending out a separate email to get responses from the crowd regarding this JIRA [https://issues.apache.org/jira/browse/TRINIDAD-2459].

The change is to add 2 new APIs to Trinidad's UIXEditableValueTemplate =>

public void *addValueUpdatedListener*(ValueUpdatedListener listener)
{
  super.addFacesListener (listener);
}

public void *removeValueUpdatedListener *(ValueUpdatedListener listener)
{
  super.removeFacesListener (listener);
}

where *ValueUpdatedEvent* is queued within the updateModel method/phase.

public void updateModel(FacesContext context)
{
    ...
    try
    {
      Object localValue = getLocalValue();
      expression.setValue(context.getELContext(), localValue);
      setValue(null);
      setLocalValueSet(false);
*(new ValueUpdatedEvent(this)).queue();*
    ...
}

Thanks!

Reply via email to