i think the 'resource' attribute is ignored

u can use the 'src'-attribute and use the relative path to the image!
but there seems to be a problem when the image is in a parent path is in a
parent directory (relative to the ui.xml).
in this case u can write src='../image.png'
but this fails when a second project inherits your project.
in this case the full path works: src='com.bla.image.png'
this is shown as an error in eclipse but works well (maybe a bug in the
google eclipse plugin?)



On Thu, Sep 9, 2010 at 16:52, Andrew Hughes <[email protected]> wrote:

> Hi Marius,
>
> Thanks for your help again.
>
> <ui:image resource="{res.someImage}"> and <x:SomeWidget
> resource="{res.someImage}"> are very different.
>
> I'm still lost on this one, but thanks for chipping in  :)
>
>
> On Thu, Sep 9, 2010 at 7:04 AM, marius.andreiana <
> [email protected]> wrote:
>
>> On Sep 8, 5:17 pm, Andrew Hughes <[email protected]> wrote:
>> > But when MyView and MyResources are in different packages,
>> > resource="{res.loading}" never works. Is this expected and does it work
>> for
>> > you?
>> It does work here
>>
>> http://code.google.com/p/puzzlebazar/source/browse/src/com/puzzlebazar/client/core/view/SplitMainView.ui.xml
>> (see <m:ImageHyperlink resource='{resources.logo}' )
>>
>> --
>> 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]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>  --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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