Thanks, I Tried this :
buildEditorFor: anItem
(anItem description
addCondition: [:item | (Item repository contains: [:each |
each id = item id) not];
asComponentOn: anItem)
addValidatedForm;
yourself
It seems to work fine, but the condition dosen't disappear
until the session expires.
What am I missing ?
>
> Ramon Leon
>
http://onsmalltalk.com
Likely that you're using the same component for the entire length of the
session. You may want to copy the description as well, I don't recall if
Magritte still caches its descriptions, so say anItem description copy
addCondtion.
Ramon Leon
http://onsmalltalk.com