Hi guys,

I have three widgets in a grid:

+--------+---------------+
| box3_0 | box3_1[lang]  | 
+--------+---------------+
|        | box3_2[lang]  |
+--------+---------------+

What I'd like to be able to do is, say:

(0) Add box3_1[English] and box3_2[English].
(1) Type some stuff into child widgets.
(2) Remove box3_1[English] and box3_2[English].
(3) Replace them with with box3_1[French] and box3_2[French].
(4) Remove box3_1[French] and box3_2[French].
(5) Replace them with with box3_1[English] and box3_2[English] again.
(6) See the things I'd typed into those child widgets of 
box3_1[English] and box3_2[English] still there.

The __testActivateLang function is triggered by a UI widget in box3_0.

I'd been looking at .removeAll() but this seems to destroy the child 
widgets rather than unlinking them.

Suggestions very welcome. Thanks.

------

__testActivateLang : function(lang) {
        // Deactivate Current
//      page3.removeAll();
        // Activate Requested
//      page3.add(box3_0,{row:0,column:0,rowSpan:3});
        page3.add(box3_1[lang],{row:0,column:1});
        page3.add(box3_2[lang],{row:1,column:1,rowSpan:10});
        },


------------------------------------------------------------------------------
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=121051231&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to