Hi Chris,

I try to create a new project with Inline skeleton. Now I've call the
listener but there's another question:

index.html
http://pastebin.com/V00RLMgW

Application.js
http://pastebin.com/rdmudSFT

It seems that the listener is called when I click on the container after
"hello".
Ho can i call the listener clicking directly to HTML content?

My environment is:
- Qooxdoo 1.3
- Google Chrome 9/Firefox 3.6 (apparently there's no difference using both
browser)


2011/2/28 Christian Hagendorn <[email protected]>

> Am 27.02.2011 23:01, schrieb sdaniele:
> > Hi,
> >
> > sorry in advance for my bad english
> > Around qooxdoo site and other messages users I see how to develop a
> Qooxdoo
> > application within an HTML. This is very useful for my web-based
> > application.
> > However my question is: how can I add a Qooxdoo event to a div of HTML
> page?
> >
> > I try something like this:
> >
> > var address = new
> > qx.ui.root.Inline(document.getElementById("address"),true,true);
> >        address.addListener("click",function(e){alert("hello");});
> >
> > but it doesn't work
> >
> > Thanks
> >
> Hi,
>
> sorry, I couldn't reproduce you issue. I used the inline skeleton and
> added these lines of code:
> inlineIsle.addListener("click", function() {
>   console.log("works");
> });
> And it works like expected when I click on the isle.
>
> Could you please give us some more details about your environment
> (browser, qooxdoo version, etc.)
>
> Cheers,
> Chris
>
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to