Getting back a single attribute value from the consentable attributes list
Cantor, Scott
cantor.2 at osu.edu
Thu Sep 8 22:09:18 EDT 2016
> I've tried attribute.values.pop and attribute.values.pop(), but Velocity
> doesn't seem to know what to do with either of those and just returns them
> as literal strings.
Well, AFAIK getValues() returns a List<IdPAttributeValue>. There is no pop() method on a Java List. Using get(0) should work, or iterator().next()
-- Scott
More information about the users
mailing list