Hi,

If I get it now right, you want to access the textarea in your iframe and
focus that?
If thats the case, you can get the iframe DOM element via:
this.iframe.getContentElement().getDomElement();

Best,
Martin



acassarino wrote:
> 
> Hi,
> 
> I hope to be more clear :-). When I lose focus, I want to store the
> contents of the textarea (into iframe). At the moment I can only recover
> the contents of the textarea into iframe(by DOM) but how can I handle the
> focus.
> 
> -----code qooxdoo------
> var html ="prova.html";
> this.iframe = new qx.ui.embed.Iframe(html);
> container.add(this.iframe,{row: 2, column : 0}); 
> ------end code qooxdoo-----
> 
> ------code prova.html--------
>  <html> 
>       <head>          
>               <script src="codepress/codepress.js" 
> type="text/javascript"></script>   
>       </head>
>     <body>
>               <textarea id="myCpWindow" rows="200" cols="200" class="codepress
> javascript "> self.textarea = </textarea>        
>     </body>
> </html> 
> ---------end code prova.html--------- 
> 
> Thanks for your help.
> 
> Antonino
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Focus-qx-ui-embed-Iframe-tp3999623p4025498.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