Monday, March 12, 2012

Re: How to format properties file for Messages and @Select

Thank you Kris

On Sunday, March 11, 2012 1:10:40 AM UTC, kretel wrote:
Hi,

Did you define default messages annotation for your interface method? 

Than, once you compile your project you should have default properties file created for you. 

Thanks,
Kris


On Friday, March 9, 2012 3:16:54 PM UTC, Filippo De Luca wrote:
Hi,
I have wrote an interface containing this method:

String errorRemovingWidget(@Select Type type);

Type is an enum.

The properties file contains:
errorRemovingWidget=Could not remove widget from dashboard
errorRemovingWidget[A]=Could not remove an A from dashboard
errorRemovingWidget[B]=Could not remove an B from dashboard

But it doesn't work. How the properties file messages should be formatted to work with the Select?




--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/F9dtLcu3ogAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate