Hi,

I am using a StackPanel in ui binder and would like to
internationalize the header texts of the stacks. After going again
through the i8n doc on how to translate attributes I tried the
following straight-forward approach:

<g:StackPanel width='175px' ui:field="mainMenuStackPanel">
                <g:HTMLPanel g:StackPanel-text="Stack One">
                        <ui:attribute name="g:StackPanel-text" key="mykey"
description="label for stack one"/>
                        (...)
                </g:HTMLPanel>
                (...other stack definitions...)
</g:StackPanel>

But with this I get the following error message:
11:46:45.144 [ERROR] [MyModule] <g:HTMLPanel g:StackPanel-text='Stack
One'> has no attribute matching <ui:attribute description='label for
stack one' key='mykey' name='g:StackPanel-text'>

Does anyone know how to get i8n working with StackPanel and uibinder?
I already searched in the groups but could not find anything
related...

thanks,
Dennis



-- 
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.

Reply via email to