Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Soy syntax for "is String in Array"

Sabine Winkler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 10, 2014

Hi,

can anyone help me finding a solution for a solution compared to $.inArray? I have an array and some of the elements has to be marked if the are part of an other array.

Thanks in advance, Sabine

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Sabine Winkler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2014

OK, as far as I can see this is not part of the google closure template syntax. So the options between I can choose is either to "mark" certain items using Javascript (after the template is loaded) or writing a SoyClientFunction, that is registered in the atlassian-plugin.xml and can be called within the template.

TAGS
AUG Leaders

Atlassian Community Events