Hi,
I have a problem with DockLayoutPanel.
I'm try to include one on my own widget in the center element (I'm
using ui:binder)
<g:center>
<wid:MySplitLayoutPanel
styleName="{res.style.splitPanel}"
ui:field="splitPanel">
<g:center>
<rc:RaphaelCaneva
ui:field="caneva"></rc:RaphaelCaneva>
</g:center>
<g:east size='500'>
<g:Label>This is where the 3D
canevas should lie</g:Label>
</g:east>
</wid:MySplitLayoutPanel>
</g:center>
The goal here beeing to extend splitLayoutPanel, in order to overwrite
the onResize method.
Problem is that this is impossible because of
DockLayoutPanelParser.isValidChildElement(), checking:
parent.getNamespaceUri().equals(child.getNamespaceUri()
So in the end I'm getting a
java.util.MissingFormatArgumentException: Format specifier '3$s' .
Do you have any idea why this behaviour?
How am I suppose the do if I want to overide teh onResize method of my
SplitLayoutPanel otherwise?
Thanks a lot for your help!
--
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.