Multiple <custom-attributes> with the same name?

asked 2011-09-06 06:58:42 +0800

cyiannoulis gravatar image cyiannoulis
1191 10

Hi all,

As the subject says, is it possible to declare multiple custom attributes with the same name?



  <custom-attributes service="AgentsService" />
  <custom-attributes service="CustomersService" />


As far i have seen, the custom attributes are stored in a map and so the getAttribute("service") will return the last one.
Is anybody aware of any workaround to take a list or array of these attributes?

Thank you all

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-09-06 10:42:43 +0800

caclark gravatar image caclark
1753 2 5

Given that it's a map, you're going to have to put a comma separated list in the value and tokenize it yourself.

link publish delete flag offensive edit

answered 2011-09-07 03:43:18 +0800

cyiannoulis gravatar image cyiannoulis
1191 10

Yes. This is what i am doing now.

thanks anyway

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2011-09-06 06:58:42 +0800

Seen: 144 times

Last updated: Sep 07 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More