Why can't I use a choice inside another choice in MessageFormat?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, July 20, 2002 06:36 AM

I wanted to use a follownig format:

			
{0,choice,0#no pending tasks|1#{0} task{0,choice,1#|2#s} waiting in queue}.


to create plural form easily, but I get
"java.lang.IllegalArgumentException: Choice Pattern incorrect, error at " .
How can I build a format with similar functionality without recurring to 3 choices in the "root"?
About | Sitemap | Contact