UiBinder support for gxt.

How can i get right validation and autocompletion for gxt in UiBinder.

Now that code is incompatible to Idea validation (PercentageCalculator.ui.xml in attach):
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
             xmlns:gxt="urn:import:com.sencha.gxt.widget.core.client"
             xmlns:container="urn:import:com.sencha.gxt.widget.core.client.container"
             xmlns:form="urn:import:com.sencha.gxt.widget.core.client.form"
             xmlns:g='urn:import:com.google.gwt.user.client.ui'>
               <container:VerticalLayoutContainer>
                    ...
                    <container:child layoutData="{verticalLayoutData}">
                        <form:FieldLabel text="Sum">
                            <form:widget>
                                <form:NumberField ui:field="sum"/>
                            </form:widget>
                        </form:FieldLabel>
                    </container:child>
                    ...
              </container:VerticalLayoutContainer>
</ui:UiBinder>

there widget is child defined on subclass. I sopouse this bug relative (http://youtrack.jetbrains.com/issue/IDEA-93218).

and layoutData it's second parametr:

  @UiChild(tagname = "child")
  public void add(IsWidget child, VerticalLayoutData layoutData) {
    ...
  }


I've tried to define xsd for "urn:import:com.sencha.gxt.widget.core.client.container". Idea has linked it but ignor.
Mabe I missed something? Threre some special rules for UiBinder xsd?



Attachment(s):
PercentageCalculator.ui.xml

Please sign in to leave a comment.