Created
October 13, 2009 19:46
-
-
Save edgars/209483 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List<SelectItem> getStatuses() { | |
List<SelectItem> statuses = new ArrayList<SelectItem>(); | |
StatusAtendimento[] status = StatusAtendimento.values(); | |
for (StatusAtendimento os : status) { | |
SelectItem it = new SelectItem(os, os.toString()); | |
statuses.add(it); | |
} | |
return statuses; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment