Hello,

I think you must use a qx.ui.embed.Iframe, not q.xui.embed.Html. Then you
create a htmlfile with the content that you have put in a  string in your
snippet, and load it into the iframe. That should work.

Christian 


acassarino wrote:
> 
> Hello all,
> 
> I can use code codepress  in http://codepress.sourceforge.net/index.php 
> into my application qooxdoo ?
>       
> I tried to do so
> 
>         var container = new qx.ui.container.Composite(new
> qx.ui.layout.HBox());
>       var html = '<html>'+
>           '<head>'+
>           '<meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1">'+
>           '<title>prova_andrea</title>'+
>           '<script src="codepress/codepress.js"
> type="text/javascript"></script>'+
>           '</head>'+
>           '<body>'+
>           '<textarea id="myCpWindow" rows="200" cols="200"
> class="codepress javascript ">    pippo  self.textarea = obj;
> </textarea>'+
>           '</body>'+
>           '</html> ';
> 
>          var htmlBox = new qx.ui.embed.Html ( html );
>               htmlBox.setWidth(240);
>               htmlBox.setHeight(100);
>               htmlBox.setMargin(10,0,0,0);
>             container.add ( htmlBox );              
>           this.getRoot().add(container, {top: 20, left: 20});
> 
> Thank you
> Regards 
> Antonino
> 

-- 
View this message in context: 
http://n2.nabble.com/use-codepress-into-qooxdoo-tp3971835p3972385.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to