Christoph Dorn schrieb:
I have recently discovered qooxdoo and think its an awesome project that fills a real need. Great job!

Thank you Christoph!

Quick question regarding QxBuilder. I am trying to create a dynamic menu and when a button is clicked I need to execute an event passing an argument (in my case a URL to load). I have all the rendering and event working I just can't figure out how to pass the custom argument. I have included the QxBuilder xml snipplet below. Could you tell me how to add the argument using XML and also how I would do it with Javascript (when I am not using QxBuilder).


Sorry, but I haven't developed QxBuilder. I even haven't used it already. Hopefully someone who has more experience regarding QxBuilder can help you.

Sebastian

<qx:widgets xmlns:qx="qooxdoo">
    <qx:menuButton label="Busson 1"/>
    <qx:menuButton label="URL 1">
      <qx:eventListener type="execute" args="e">
        alert(e);
      </qx:eventListener>
    </qx:menuButton>
</qx:widgets>
I tried the following and it breaks QxBuilder. <qx:widgets xmlns:qx="qooxdoo">
    <qx:menuButton label="Busson 1"/>
    <qx:menuButton label="URL 1" url="http://www.test.com/";>
      <qx:eventListener type="execute" args="e">
        alert(e);
      </qx:eventListener>
    </qx:menuButton>
</qx:widgets>
Thanks
Christoph



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to