myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (TOMAHAWK-462) valueChangeNotifier doesn't work properly in dataTables
Date Fri, 02 Jun 2006 22:24:30 GMT
     [ http://issues.apache.org/jira/browse/TOMAHAWK-462?page=all ]
     
Mario Ivankovits resolved TOMAHAWK-462:
---------------------------------------

    Fix Version: 1.1.4-SNAPSHOT
     Resolution: Fixed

Ok, I think I got it.

ValueChangeNotifier now saves and restores the rowIndex of all parent Tables (UIData), worked
here with the simple sandbox examples.

Thanks for reporting it.

> valueChangeNotifier doesn't work properly in dataTables
> -------------------------------------------------------
>
>          Key: TOMAHAWK-462
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-462
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.3-SNAPSHOT
>     Reporter: Val Blant
>     Assignee: Mario Ivankovits
>      Fix For: 1.1.4-SNAPSHOT

>
> valueChangeNotifier doesn't work from dataTables. The listener method does get called,
but the row number on the data model is not set.
> The reason for this behavior is that in the validate stage HtmlDataTable queues its events
by wrapping them in FacesEventWrapper(), which contains the correct rowIndex.
> When this event is broadcast after the VALIDATE phase, the event is unwrapped, the data
model is updated with the correct row index and the unwrapped event is passed on to the component.
> In case of valueChangeNotifier, the registered listener is ValueChangeCollector, which
doesn't process the event, but rather queues it in ValueChangeManager for processing after
the UPDATE_MODEL phase.
> The listener method is called from ValueChangeManager.fireEvents(), which doesn't set
up the row index in the data model.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message