Hi,
I'm using TablLayoutPanel with UiBinder, like this :
<g:TabLayoutPanel barHeight='25' barUnit='PX'
addStyleNames='{style.onglets}'>
<g:tab>
<g:header size='20'>Header1</g:header>
<g:HTML styleName='{style.tab}'>Content</g:HTML>
</g:tab>
<g:tab>
<g:header size='20'>Header2</g:header>
<g:HTML styleName='{style.tab}'>Content2</g:HTML>
</g:tab>
</g:TabLayoutPanel>
And it works great :)
But, for some reason I need the content of the header to be a widget
(so I can access it from java code, and adapt it to the current
language or user preferences, ...), ie replace Header1 with <g:HTML
ui:field='myWidget'>.
The invokation fails with the following message : "Found widget
<g:HTML ui:field='myWidget'> in an HTML context" , which I assume
means that g:header gets converted to a HTML widget.
How can I avoid using only html in g:header ?
Thanks 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.