I have a simple class that extends PushButton to add a tooltip-like
popup. It seems that if I try to use this class in UIBinder with
PushButton's upFace, I get an "invalid child namespace" error:
<widgets:PushButtonWithToolTip ui:field="prevButton"
toolTipText="previous lesson">
<g:upFace image='{res.back}'>
previous lesson
</g:upFace>
</widgets:PushButtonWithToolTip>
I have the namespace defined properly as
xmlns:widgets='urn:import:com.example.widgets', and this works fine
until I add the <g:upFace> child element.
It was also working fine as:
<g:PushButton ui:field="prevButton" toolTipText="previous lesson">
<g:upFace image='{res.back}'>
previous lesson
</g:upFace>
</g:PushButton>
It seems to only be a problem with a custom PushButton subclass that
also specifies a child element.
Thanks for any pointers.
--
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.