An compile error like "can't implement the constants interface:  It must
implement TextResource or _____".  I forget the other type the error states.

My semantics here are:

interface MyResources extends ClientBundle {

  @Source("MyConstants.properties")
  MyConstants constants();

}

where MyConstants interface is auto-generated via the gwt-maven-plugin.

I'm on 2.4

On Sun, Aug 26, 2012 at 10:39 PM, Thomas Broyer <[email protected]> wrote:

>
>
> On Monday, August 27, 2012 1:47:13 AM UTC+2, jopaki wrote:
>>
>> Thank you for the reply.   Yes embarasingly I missed the { }.  I fixed
>> and works.  One more question: When will com.google.gwt.i18n.Constants be
>> usable in a ui.xml file ??  AFAICT, only TextResources are available !  Am
>> I missing something?
>
>
> What's wrong with <ui:with field="myConstants"
> type="com.example.myproject.client.MyConstants" /> and <ui:text
> from="{myConstants.foo}" /> ?
>
> --
> 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/-/7_HoE4a7YmQJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
-jpk-

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to