[SOLVED] addListener onload

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
Answered
0
0

Hi,

I have see that it is possible to use javascript on control and create listen for events,

click, mouseover etc run, but the event onload don’t fire, is it possible to execute javascript on load of a control?

regards

Cristian

  • You must to post comments
Best Answer
1
0

Hi Cristian,

The “load” event is available for image, iframe, flash or other widgets that load external content. The event you are looking for could be the “appear” event. That event is fired when a widget is rendered to DOM.

However, if you hide and show a widget it’s fired again. You can add a flag to indicate that the widget has been initialized. Or you can use “addListenerOnce” to handle the event only the first time.

For a full list of all the available events look at the qooxdoo api: http://www.qooxdoo.org/current/api/#qx.ui.core.Widget

HTH

Best,

Luca

  • You must to post comments
0
0

Yes my friend, it works!

Our company is looking for a successor for  migrating from VWG and I think we found it, for me wisej is product of the year 🙂

I really really hope that it will have a long life and updates

thank you

Cristian

PS: Luca are you italian or only italian name?

  • Luca (ITG)
    Thank you Cristian! Between IceTeaGroup and fecher (the companies behind Wisej) we have Germans, Romanians, 1 Danish and 1 Italian. :)
  • Cristian Zerbinati
    Grande Luca!!! :D
  • You must to post comments
Showing 2 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json