Re: Cannot parse value: "res.xxx" as type ImageResource
On 27 juin, 00:07, giannisdag <pascoua...@gmail.com> wrote:
> Hi I am trying to use uibinder to add an image in my web page using
> clientbundle. Following the paradigm "Using an external resource" of
> the documentation "Declarative Layout with UiBinder", I wrote the
> following:
>
> <ui:with field='res'
> type='xel.villaView1.client.villaViewClientBundle'/>
> <g:DockLayoutPanel unit='EM'>
> <g:north size='14'>
> <g:HTMLPanel>
> <div class="titleblock">
> <div id="logo"><img src="/images/dolphin.gif"/></div>
> <div id="langMenu"><g:Image resource="res.bedroom" ></g:Image> </
> div>
Haven't you forgotten the braces?
<g:Image resource="{res.bedroom}" />
--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home