Le mercredi 08 juin 2011 à 15:23 +0200, Bernat Romagosa a écrit :
> My bad, sorry... the answer to this was that I'm plain stupid and
> forgot I had wrongly implemented an accessor... ¬_¬'
Glad you fixed it :-) Next time I'll find some time sooner to read
> 2011/6/6 Bernat Romagosa <[hidden email]>
> Hi list,
> I've a formula that lets you select among a couple of tags (or
> add a new tag) as follows:
> (formula selectOn: #tags)
> multiple: true;
> label: 'Tags:';
> options: allTags;
> addRow: [ :e |
> (e a)
> text: 'New tag';
> action: [
> show: self formulaForNewTag
> onAnswer: [ :ans |
> ifNotNil: [
> allTags add: ans key ] ] ] ].
> allTags is a local variable that gets populated with all tags
> of all entries in the database.
> The problem is that, no matter which tags I select, the
> resulting object's tag list always includes all tags, and I
> can't figure out why... :(
> Any help on where to look or what may I be doing wrong will be
> greatly appreciated, thanks a lot!
> Bernat Romagosa.