Hello once again :)

Is there a way to completely remove page's content? My page is a step of
some survey and after finishing it there's a possibility for the user to go
back to the step 1. Not only all the previous selections must be dropped,
but I also need to recreate the page's content completely. It's _initialize
method contains all the code for generating different controls according on
some previous selections, so I can't just drop the selections, I need to
rerun this code to generate another set of controls and to clear the
previous one. I have an event on the end of the survey on which I can run
the method to recreate the page. If I simply run the page's _initialize
method again I have the new content added to the old one. So I tried adding
a single string to the _initialize right after the this.base(arguments);
string:

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

Anyway, I'm still getting the new content just added to the previous one
without clearing it. Any thoughts?
Thanks!



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

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&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