Hi mon3y,
try to open in Firefox and write us the differences you notice.

On Tue, Nov 18, 2008 at 7:25 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> Sorry there is a typo in example, instead of
>
> Image img2 = new Image("icons/img2.png");
>
> it should be the same url as for img:
>
> Image img2 = new Image("icons/img.png");
>
>
> corrected whole example:
>
>              FlexTable table = new FlexTable();
>              Image img = new Image("icons/img.png");
>              table.setWidget(0, 0, img);
>               Image img2 = new Image("icons/img.png");
>              table.setWidget(0, 0, img2);
>
>
> Indexes are correct. When I replace the image like that (with the
> image with the same url), image is not displayed, only ie icon for
> image element without url.
>
> Thanks for response.
>
>
> On Nov 17, 2:33 pm, mon3y <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > I don't quiet understand the problem.
> >
> > FlexTable table = new FlexTable();
> >               Image img = new Image("icons/img.png");
> >               table.setWidget(0, 0, img);
> >               Image img2 = new Image("icons/img2.png");
> >               table.setWidget(0, 0, img2);
> >
> > should it not be :
> >
> > FlexTable table = new FlexTable();
> >               Image img = new Image("icons/img.png");
> >               table.setWidget(0, 0, img);
> >               Image img2 = new Image("icons/img2.png");
> >               table.setWidget(0,    1   , img2);
> >
> > ???? or am i missing something.
> >
> > in your code you should just see img2.
> >
> > in your code, you have
> >
> > On Nov 15, 7:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Greetings,
> >
> > > using the following code will result in image not being loaded:
> >
> > >               FlexTable table = new FlexTable();
> > >               Image img = new Image("icons/img.png");
> > >               table.setWidget(0, 0, img);
> > >               Image img2 = new Image("icons/img2.png");
> > >               table.setWidget(0, 0, img2);
> >
> > > Internal symptoms:
> > > -- img has both __pendingSrc and src attributes set
> > > -- img2 has only __pendingSrc set
> > > -- srcImgMap contains img with img2 as its child
> >
> > > I suspect that when img is removed from table it can no longer receive
> > > onload event and therefore will never update children's src attribute
> > > and remove itself from the srcImgMap.
> >
> > > Is my suspicion correct? Anybody has a fix/workaround for this?
> >
> > > Thanks for any response!
> >
>


-- 
Manik Chand
Software Engineer
Exact Software Pvt. Ltd.
403, 4th Floor, Accord Complex,
Station Road,
Goregaon(East),
Mumbai - 400063
Cell No. : +91 9220984430
www.exact-solutions.com

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to