The default name for a CssResource is "style".  Can this be changed to
"borderstyle"? It seems to work in *.ui.xml but not in *.java.

The Eclipse Plug in reports this error.
    Description: Field borderstyle has no corresponding field in
template file DateBox_text.ui.xml
    Resource: DateBox.java

  Google Plugin for Eclipse 3.5 1.2.0.v200912062003
com.google.gdt.eclipse.suite.e35.feature.feature.group





********* BorderStyle.java *******************************************
public interface BorderStyle extends CssResource {
    String solidBorder();
}

********* DateBox.java *******************************************
public class DateBox extends Composite {
...
  @UiField BorderStyle style; // Can I change to "borderstyle"?
  @UiField TextBox month ;
  @UiField TextBox day;
  @UiField TextBox year;


********* DateBox.ui.xml  *******************************************
<ui:style type="timkilo.client.BorderStyle" field='borderstyle' >
  .solidBorder {border: solid thin;}
</ui:style>

-- 
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