user525146
user525146

Reputation: 3998

comma separated portlet preferences

I am using same portlet for different purposes by copying the portlet. I have give the preference as comma separated like xxxx,yyyy for datapoint preference. According to the portletAPI getValue() return the first associated value. I only get xxxx value when retrieve it. I am wondering how to get the yyyy value.

Upvotes: 0

Views: 146

Answers (1)

Nick Roth
Nick Roth

Reputation: 3077

The portlet API link you reference has a getValues() method as well. The comma separated preferences should be returned in the array from getValues().

Upvotes: 1

Related Questions