|
From: Benoit X. (JIRA) <no...@sp...> - 2008-09-22 13:59:11
|
ShuttleBinder does not update dirty property correctly
------------------------------------------------------
Key: RCP-571
URL: http://jira.springframework.org/browse/RCP-571
Project: Spring Framework Rich Client Project
Issue Type: Bug
Components: Binding System
Affects Versions: 1.0.0
Reporter: Benoit Xhenseval
Hi
I'm facing the following problems:
- When loading an object and doing a ValidationFormModel.setFormObject(myobject); The ShuttleList will trigger a DIRTY = true on the model although nothing has changed!
- Furthermore, if the original selected list is NOT empty at the beginning and then an item is added (moved left to right) to the selected list, the DIRTY attribute is NOT changed to true (the set has changed! if you commit the model, your object has changed!).
Has anyone seen this / anyone got a fix?
Thanks
Benoit.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Lieven D. (JIRA) <no...@sp...> - 2008-10-09 19:22:18
|
[ http://jira.springframework.org/browse/RCP-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lieven Doclo updated RCP-571:
-----------------------------
Fix Version/s: 1.x
> ShuttleBinder does not update dirty property correctly
> ------------------------------------------------------
>
> Key: RCP-571
> URL: http://jira.springframework.org/browse/RCP-571
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Components: Binding System
> Affects Versions: 1.0.0
> Reporter: Benoit Xhenseval
> Assignee: Lieven Doclo
> Fix For: 1.x
>
>
> Hi
> I'm facing the following problems:
> - When loading an object and doing a ValidationFormModel.setFormObject(myobject); The ShuttleList will trigger a DIRTY = true on the model although nothing has changed!
> - Furthermore, if the original selected list is NOT empty at the beginning and then an item is added (moved left to right) to the selected list, the DIRTY attribute is NOT changed to true (the set has changed! if you commit the model, your object has changed!).
> Has anyone seen this / anyone got a fix?
> Thanks
> Benoit.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Julio A. (J. <no...@sp...> - 2008-10-25 12:00:06
|
[ http://jira.springframework.org/browse/RCP-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40637#action_40637 ]
Julio Argüello commented on RCP-571:
------------------------------------
I have already detected that whenever the list is loaded or changed multiple list changed events are raised, however we only need just one.
I have no time enough to participate in the project but I can share with you my current implementation that does the trick. As far as I'm concerned it detects dirty situations correctly and raises a single event as needed.
> ShuttleBinder does not update dirty property correctly
> ------------------------------------------------------
>
> Key: RCP-571
> URL: http://jira.springframework.org/browse/RCP-571
> Project: Spring Rich Client Project
> Issue Type: Bug
> Components: Binding System
> Affects Versions: 1.0.0
> Reporter: Benoit Xhenseval
> Assignee: Lieven Doclo
> Fix For: 1.x
>
>
> Hi
> I'm facing the following problems:
> - When loading an object and doing a ValidationFormModel.setFormObject(myobject); The ShuttleList will trigger a DIRTY = true on the model although nothing has changed!
> - Furthermore, if the original selected list is NOT empty at the beginning and then an item is added (moved left to right) to the selected list, the DIRTY attribute is NOT changed to true (the set has changed! if you commit the model, your object has changed!).
> Has anyone seen this / anyone got a fix?
> Thanks
> Benoit.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Julio A. (J. <no...@sp...> - 2008-10-25 12:02:00
|
[ http://jira.springframework.org/browse/RCP-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julio Argüello updated RCP-571:
-------------------------------
Attachment: SilentShuttleListBinding.java
Working extended implementation of ShuttleListBinding
> ShuttleBinder does not update dirty property correctly
> ------------------------------------------------------
>
> Key: RCP-571
> URL: http://jira.springframework.org/browse/RCP-571
> Project: Spring Rich Client Project
> Issue Type: Bug
> Components: Binding System
> Affects Versions: 1.0.0
> Reporter: Benoit Xhenseval
> Assignee: Lieven Doclo
> Fix For: 1.x
>
> Attachments: SilentShuttleListBinding.java
>
>
> Hi
> I'm facing the following problems:
> - When loading an object and doing a ValidationFormModel.setFormObject(myobject); The ShuttleList will trigger a DIRTY = true on the model although nothing has changed!
> - Furthermore, if the original selected list is NOT empty at the beginning and then an item is added (moved left to right) to the selected list, the DIRTY attribute is NOT changed to true (the set has changed! if you commit the model, your object has changed!).
> Has anyone seen this / anyone got a fix?
> Thanks
> Benoit.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|