On Oct 23, 2:03 pm, "Sumit Chandel" <[EMAIL PROTECTED]> wrote:
> Hi Davsket,
> How exactly is history failing for you when making references to the
> elements below? Is it only that the banners represented by the elements
> you're retrieving don't update appropriately, or does history become
> completely nonfunctional?
Is the second one, the history becomes nonfunctional, in Safari simply
doesn't works, and in Firefox, it gets mad and start to create
multiple new items in one call.
> I would imagine it is the former, in which case you would need to re-render
> the elements rather than just change their "src" attribute to get them to
> update on the page. For example, something you could try is to remove the
> element and then re-add it to the page to have it re-render with the new
> "src" attribute appropriately set using the DOM.removeChild() /
> DOM.insertChild() methods.
Ok, I will try this one, but I still think that src changes should
work.
> However, if the banner elements are actually images, have you considered
> using a regular Image widget (or using an ImageBundle if appropriate)? That
> could make it easier to re-render the banner whenever the specified history
> event occurs.
Well, the problem is that the banner is not static, and the great part
of them are javascript code and in some cases flash :S.
Thanks you for your support, I will try by modifying directly the DOM,
and I hope this works.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---