Hello everybody!

I have the need to add some user defined data to a widget. The goal would be to have something like this:

var qx = new QxComboBox();

qx.setUserProperty('xpath','//settings/selection');

I know that I can use qx.addHtmlProperty to achieve this but I'm not aware of the side effects.

The goal is to have a Class XmlMapper which has two methods:

fromXml(parentWidget,xmlnode)
toXml(parentWidget,xmlnode);

which traverse the widget tree starting with parentWidget and maps values form xmlnode by evaluating the xpath expression which was set to the widget.

This would connect the widgets value with the xml dom retrieved through QxXmlHttpLoader realy simple.

But there may be another good solution to this needs!?!?!?

Any Ideas?

--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to