I get a problem in uibinder for a subclass of SplitLayoutPanel.
When I compile, my application throws the following error.
//console error
[ERROR] Generator 'com.google.gwt.uibinder.rebind.UiBinderGenerator'
threw an exception while rebinding 'com.tan.client.Test.Binder'
java.util.MissingFormatArgumentException: Format specifier '3$s'
// ............... test code segment ...................
//subclass of SplitLayoutPanel
package com.tan.client;
import com.google.gwt.user.client.ui.SplitLayoutPanel;
public class SplitTest extends SplitLayoutPanel
{
public SplitTest()
{
super();
}
}
//test class
package com.tan.client;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
public class Test extends Composite
{
interface Binder extends UiBinder<Widget,Test>
{
}
public Test()
{
initWidget(GWT.<Binder>
create(Binder.class).createAndBindUi(this));
}
}
//Test.ui.xml
<?xml version="1.0" encoding="UTF-8"?>
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:xbrl='urn:import:com.tan.client'>
<xbrl:SplitTest>
<g:west size='200' unit="px">
<g:Label>This is the WEST panel</g:Label>
</g:west>
<g:center>
<g:Label>This is the CENTER panel</g:Label>
</g:center>
</xbrl:SplitTest>
</ui:UiBinder>
Pls help.
S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE
--
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.