Hi Sascha,

On Saturday 09 January 2010 19:04:16 Sascha Kimmel wrote:
> qooxdoo is really wonderful and offers a multitude of features although
> it is still some work to understand it fully.
Thanks for the kudos and don't hesitate to ask questions here on the 
mailinglist or at StackOverflow.

> I've been trying for days to find a kind of change event on the htmlArea
> which allows me to prompt the user to save the changes to the document
> when he leaves the document or window.
> 
> Is there any such event available?
Unfortunately not. You have to use event listeners to check for any changes. 
Feel free to open a bug report for this feature if you like to see it in  the 
future.

> Otherwise I would have to use a combination of keyup/keydown, onpaste
> and drag/drop event listeners for that purpose.
Another solution would be to save the content first and compare the content at 
specific user actions (e.g. leaves the document). This would save you to listen 
to every single event since you are only interested in changes at all and not 
at the source of the change.

cheers,
  Alex

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to