aacli Scripted attribute
Peter Schober
peter.schober at univie.ac.at
Thu Oct 29 13:26:35 EDT 2015
* Peter Schober <peter.schober at univie.ac.at> [2015-10-29 18:21]:
> * Peter Schober <peter.schober at univie.ac.at> [2015-10-29 18:19]:
> > That doesn't do anything other than (for an attribute definition with
> > id="Foo") Foo.addValue() either and worked fine for me.
>
> The difference is I call addValue() whereas you are calling
> getValues() when there can't be any yet as per your code, AFAIU.
Hm, in your case getValues() should return an empty collection, to
which you should be able to add string values per the docs?
Either way, I think your testing.getValues().add("whatever") should
just be testing.addValue("whatever") and that should work.
-peter
More information about the users
mailing list