How do I use a boolean parameter in the Message.Select annotation?
39 views
Skip to first unread message
Zak Linder
unread,
Oct 14, 2011, 2:15:09 PM10/14/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
According to the Messages.Select javadoc I can use a boolean-type parameter, but I can't seem to get it to work. For example:
@DefaultMessage("{1} just did something.") @AlternateMessage({ "true", "You just did something in another session." }) String contextInvalidTherapyStopped(@Select boolean me, @Optional String userName);
I've tried using "TRUE" and using Boolean instead of boolean and nothing has worked. I do not want to use an enum if I can avoid it.
Zak Linder
unread,
Oct 14, 2011, 2:39:01 PM10/14/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message