Hi,

When I tried to switch from code to design in uibinder with mgwt, I get 
this exception

encountered unexpected internal error.

This could be caused by a bug or by a misconfiguration issue, conflict, 
partial update, etc.

org.mvel2.PropertyAccessException: unable to resolve method: 
com.google.gdt.eclipse.designer.uibinder.model.widgets.WidgetInfo.getWidget() 
[arglength=0]


This is my uibinder.xml file

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent";>
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" 
xmlns:g="urn:import:com.google.gwt.user.client.ui" 
xmlns:mgwt="urn:import:com.googlecode.mgwt.ui.client.widget">

        <mgwt:LayoutPanel>
                <mgwt:HeaderPanel>
                        <mgwt:center>
                                <g:HTML ui:field="center"></g:HTML>
                        </mgwt:center>
                </mgwt:HeaderPanel>

                <mgwt:ScrollPanel scrollingEnabledX="false">
                        <g:FlowPanel>


                                <mgwt:RoundPanel>
                                        <mgwt:MTextBox 
ui:field="name"></mgwt:MTextBox>
                                </mgwt:RoundPanel>
                                <mgwt:Button ui:field="editButton" 
text="edit"></mgwt:Button>

                        </g:FlowPanel>

                </mgwt:ScrollPanel>

        </mgwt:LayoutPanel>

</ui:UiBinder> 

And it doesn't work but for example when I add gwt flow panel first like 
example below and switch to design mode it work. What is problem? I 
couldn't figure it out.

<g:FlowPanel styleName="{style.panel}">

 <mgwt:LayoutPanel>

                <mgwt:HeaderPanel>
                        <mgwt:center>
                                <g:HTML ui:field="center"></g:HTML>
                        </mgwt:center>
                </mgwt:HeaderPanel>

                <mgwt:ScrollPanel scrollingEnabledX="false">
                        <g:FlowPanel>


                                <mgwt:RoundPanel>
                                        <mgwt:MTextBox 
ui:field="name"></mgwt:MTextBox>
                                </mgwt:RoundPanel>
                                <mgwt:Button ui:field="editButton" 
text="edit"></mgwt:Button>

                        </g:FlowPanel>

                </mgwt:ScrollPanel>

        </mgwt:LayoutPanel>

</g:FlowPanel>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/4Ru11LdOQ3UJ.
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