Hi,
I have class that extends JiraWebActionSupport and has String[] myUser instance variable. After not valid fill form I return to my view with form. And what I want is that all html control values have to have filled values. For example myUsers looks like:
<select id="myUsers" name="myUsers" multiple="multiple" class="select" size="6">
#foreach ($user in $action.getAllUsers())
<option value="$user.name">$user.displayName ($user.emailAddress)</option>
#end
</select>
But I don't want to make double loop and iterate over $user in $action.getAllUsers() and check if $user.name equal myUsers[i].
Is that possible?