no one ever used stackpanel with internationalization?

The only other solution I see is to create the stackpanel
programmatically without uibinder.

On Jun 5, 12:07 pm, googelybear <googelyb...@gmail.com> wrote:
> Hi,
>
> I am using aStackPanelin 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:StackPanelwidth='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 withStackPaneland 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to