<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="/Backbase/4_2_1_optimized/bindings/config.xhtml_btl.chameleon.xml" /> <b:tabBox height="550px"> <b:tab label="Edit Code"> <textarea name="msgpost" id="msgpost" cols="50" rows="10"> <strong>Your</strong> HTML <em>code</em> goes here. This text will be pre-loaded in the editor when it is rendered. </textarea> <e:handler event="DOMNodeInsertedIntoDocument" type="text/javascript"> window.myEditor = new YAHOO.widget.Editor(document.getElementById('msgpost'), { height: '300px', width: '522px', dompath: true, animate: true }); window.myEditor.DOMReady = true; window.myEditor.render(); </e:handler> </b:tab> <b:tab label="View Code"> <e:handler event="select" type="text/javascript"> this.viewGate.innerHTML = window.myEditor.getEditorHTML(); </e:handler> </b:tab> </b:tabBox>