I have the following test code;
When I click the "label Print HTML" it shows the label print HTML.
But if I click the "layout print HTML" which calls getPrintHTML against a layout containing the label it shows null.
Am I doing something wrong?
v8.3p_2013-03-13/LGPL Development Only
Code:
isc.VLayout.create({ ID: "layout1", members: [ isc.Label.create({ ID: "label", contents: "test" }) ] }); isc.Button.create({ top: 100, title: "label print HTML", click: function() { alert( label.getPrintHTML() ); // displays the label print HTML. } }); isc.Button.create({ top: 150, title: "layout print HTML", click: function() { alert( layout1.getPrintHTML() ); // displays null. } });
But if I click the "layout print HTML" which calls getPrintHTML against a layout containing the label it shows null.
Am I doing something wrong?
v8.3p_2013-03-13/LGPL Development Only
Comment