Hi Marco

I don't know about adding properties to an *existing* class but you can
create new classes on the fly and the new classes can have your
dynamically-defined properties.  Just call qx.Class.define() with your
dynamic definition.  Is that any help?

John

On 06/02/2012 10:11, "Marco Pompili" <[email protected]> wrote:

>Hi qxdoers!
>
>I'm working on a contribution that uses xml file to generate forms. The
>basic idea is to have a frontend that allows to create custom forms
>objects,
>so an xml is generated and "bam" the form is generated from the xml, with
>a
>preview and all sort of things.
>
>I got an old question (well i'm guessing it's kinda old), there's a way to
>generate property dynamically for a qx object ?
>
>A scenario like this: I'm reading this xml file and i need that the
>properties defined in the xml becomes qx properties in a dynamic way. Is
>possible to accomplish that ? I've search about in the PropertyUtil class
>but i cannot find anything interesting...
>
>As always thank you all for your time and patience.
>
>M
>
>-----
>La coincidenza non ha madre.
>--
>View this message in context:
>http://qooxdoo.678.n2.nabble.com/Genereate-Qx-Properties-Dynamically-tp725
>8111p7258111.html
>Sent from the qooxdoo mailing list archive at Nabble.com.
>
>--------------------------------------------------------------------------
>----
>Try before you buy = See our experts in action!
>The most comprehensive online learning library for Microsoft developers
>is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>Metro Style Apps, more. Free future releases when you subscribe now!
>http://p.sf.net/sfu/learndevnow-dev2
>_______________________________________________
>qooxdoo-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to