Hi Bilousme, I've opened a bug at http://code.google.com/p/google-web-toolkit/issues/list?thanks=4764 to track this issue.
If you're using GPE 1.3.0, another workaround is to change the severity of the UiBinder validation errors. This can be found in the Eclipse preferences > Google. Thanks! jason On Wed, Mar 17, 2010 at 3:02 PM, Bilousme <[email protected]> wrote: > Hello all, > > I have the classes below (one main class containing an inner class) : > > public class MyObjectEditView extends Composite{ > > interface MyObjectEditUiBinder extends UiBinder<Widget, > MyObjectEditView> {} > > private static MyObjectEditUiBinder uiBinder = > GWT.create(MyObjectEditUiBinder.class); > > .... > > public static class MyObjectPropertiesEditView extends Composite{ > @UiTemplate(value="MyObjectProperties.ui.xml") > interface MyObjectPropertiesUiBinder extends UiBinder<Widget, > MyObjectPropertiesEditView> {} > > private static MyObjectPropertiesUiBinder uiBinder = > GWT.create(MyObjectPropertiesUiBinder.class); > > .... > > } > } > > The MyObjectProperties.ui.xml file is defined in the same package of > the main class. > > Eclipse detects an error on the second UiBinder interface > (MyObjectPropertiesUiBinder) and show me the following message : > "Template file MyObjectProperties.ui.xml is missing (expected at /the/ > package/of/the/main/class/MyObjectEditView/)" > > But If I try to compile my application that works fine and I don't > have compilation errors... > > Thus for me, Eclipse does not show the error message ! ? > > The workaround to avoid an error in Eclipse is to define the second > UiBinder interface in the main class (and continue to use it in the > inner class) > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.
