AAAA.ui.xml has no ui:field attribute for com.gwt.sample.client.content.AAAA#addSkill

511 views
Skip to first unread message

Bennet X Xavier

unread,
Jan 26, 2013, 10:01:41 AM1/26/13
to gwt-pl...@googlegroups.com
Hi All,

Why do i get this error, AAAA.ui.xml has no ui:field attribute for com.gwt.sample.client.content.AAAA#addSkill

I have proper ui:field in xml file and view java file.

Please help me. But, this error is not occuring for all the binders and view, only to 2 files.

I tried creating a new Presenter, it is not making any problem.

How to get rid of this problem. I am using GWT 2.5, gwt maven plugin 2.5

Thanks,
Bennet.


SkillsetPresenter.java
SkillsetView.java
SkillsetView.ui.xml

Christian Goudreau

unread,
Jan 26, 2013, 12:08:28 PM1/26/13
to gwt-pl...@googlegroups.com
Seems like you forgot to encapsulate
<g:HTMLPanel>
<g:Button ui:field="addSkill" styleName="{common.button}">
<ui:msg key="addNewEducation" description="Adding New Education Details">Add Education Detail</ui:msg>
</g:Button>
</g:HTMLPanel>

in a g:Cell

By the way, you should try to avoid using Vertical panel as they will build tables behind the scene for your layout which is considered as a bad practice in HTML and is not friendly for accessibility




--
 
 



--
Christian Goudreau
Reply all
Reply to author
Forward
0 new messages