Thanks for the response, but triggering the update wasn't the real problem :)

I just thought that it's impossible to change the widget which is already
added to the page's content, but I already had an event to update the page -
an "apply" event of it's property which is updated every time before I go to
this page. So to update the embed html with the property I just had to do
smth like this:

members: {
            __html: null,

            _initialize: function () {
                this.base(arguments);

                var html =  this.__html = new qx.ui.mobile.embed.Html();
                html.setHtml(this._genHtml());
                this.getContent().add(html);
            },
            
            _genHtml: function() {
                var string = "some html";
                return string;
            },
            
            _reinitializePage: function () {
                this.__html.setHtml(this._genHtml());
            }
        }

where "reinitializePage" is a method called by "apply" event of the property
from this page so by rewriting the _genHtml method I can update the page as
I want.



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Refreshing-mobile-NavigationPage-s-content-tp7585313p7585344.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to