Hi,
I'm sorry, i don't get what you are trying to do. You talk of a textarea but
i havent seen a textarea in your examples. :(
Regards,
Martin


acassarino wrote:
> 
> Hello Martin,
> 
> I would return the contents of the textarea into the iframe when it loses
> focus.
> 
> code html into var html
> ---------------code 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 htm---------
> 
> Thanks
> Antonino
> 
> 
> MartinWittemann wrote:
>> 
>> Hello Antonino,
>> in qooxdoo, not every widget is focusable. IFrame, for example, is one of
>> the non focusable widgets. Do you really want to focus the iFrame itself
>> or do you want to focus something in the iFrame?
>> Best,
>> Martin
>> 
>> 
>> acassarino wrote:
>>> 
>>> Hello all,
>>> 
>>> I use iframe in this way
>>> 
>>> ---------------exmaple-----
>>> var html ="prova.html";
>>> this.iframe = new qx.ui.embed.Iframe(html); 
>>> this.iframe.focus();
>>> container.add(this.iframe,{row: 2, column : 0});
>>> 
>>> ----------  end example--------------------------------
>>> 
>>> but  I got this error:
>>> 
>>> Widget is not focusable!
>>> [Break on this error] throw new Error("Widget is not focusable!");\n 
>>> Widget.js (riga 3354)
>>> 
>>> I did not understand this.
>>> 
>>> Thanks for help.
>>> Regards
>>> Antonino
>>> 
>>> 
>> 
>> 
> 
> 

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