Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

GWT UiBinder problems in IntelliJ 11.1 Ultimate

$
0
0

Hello Jetbrains:

 

I'm having some trouble with UiBinder support, anyone else notice the following problems:

 

Say I have 2 classes, SomeChildWidget and SomeParentWidget.

 

Say SomeChildWidget exists in my gwt intellij project and extends SomeParentWidget which exists on my classpath as a maven dependency.

 

SomeParentWidget implements HasSomeAttribute

 

and has both String::getSomeAttribute() and void::setSomeAttribute(String) methods.

 

When I use SomeChildWidget in a uibinder template file, for example:

 

<my:SomeChildWidget ui:field="myChildWidget" someAttribute="someCoolValue"/>

 

Intellij complains that someAttribute can't be used at that location yet gwt 2.5.0 handles the file without error in both dev mode and production mode. Have I stumbled on a bug; or have I misconfigured my project somehow.

 

Along the same lines, IntelliJ seems to have trouble with backward ui:field references, for example:

 

<my:BestWidget ui:field="theBestWidget"/>

...

<my:LackingWidget ui:field="missingSomething" bestWidget="{theBestWidget}"/>

 

Intellij will mark {theBestWidget} as red even though, the ui:field was declared previously in the template.

 

Any help would be appreciated as these problems are surely going to hurt my productivity if my team moves forward with using UiBinder as our primary view implementation.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>