genius :) thx, this was the point
best
Carsten Harnisch
-- Harnisch-Consulting
> Am 29.07.2015 um 10:54 schrieb Mustafa Sak-5 [via qooxdoo]
> <[email protected]>:
>
> Hi,
>
>
>
> btn.setAnonymous(true); is *eating* your event ;)
>
>
>
>
> Dank & Gruß
> Mustafa Sak
>
> Softwareentwickler
> Mail Development
>
> 1&1 Mail & Media Development & Technology GmbH | Brauerstraße 48 | 76135
> Karlsruhe | Germany
> Phone: +49 721 91374-6977
> E-Mail: [hidden email]
> <x-msg://13/user/SendEmail.jtp?type=node&node=7587382&i=0> | Web:
> www.1und1.de <http://www.1und1.de/>
>
>
> Von: hcarsten [mailto:[hidden email]
> <x-msg://13/user/SendEmail.jtp?type=node&node=7587382&i=1>]
> Gesendet: Dienstag, 28. Juli 2015 23:26
> An: [hidden email] <x-msg://13/user/SendEmail.jtp?type=node&node=7587382&i=2>
> Betreff: Re: [qooxdoo-devel] Button in qx.ui.form.List
>
>
>
> this._list = new qx.ui.form.List();
>
> this._listController = new qx.data.controller.List(null, this._list);
>
>
>
> this._listController.setDelegate({
>
> createItem : function() {
>
> return new xyz.Item();
>
> },
>
>
>
> qx.Class.define("xyz.Item", {
>
> extend : qx.ui.container.Composite,
>
>
>
> construct : function() {
>
> this.base(arguments);
>
>
>
> var layout = new qx.ui.layout.Grid(4, 2);
>
> layout.setColumnFlex(1, 1);
>
> this._setLayout(layout);
>
>
>
> this._createChildControl("actor");
>
> },
>
>
>
> ...
>
>
>
> _createChildControlImpl : function(id) {
>
> var control;
>
> switch (id) {
>
> case "actor":
>
> var btn = new qx.ui.form.Button("On/Off");
>
> btn.setAnonymous(true);
>
> btn.setRich(true);
>
> this._add(btn, {
>
> row : 0,
>
> column : 2
>
> });
>
> btn.setZIndex(999);
>
> btn.setUserData("sen_act_id", this.getLabel());
>
> btn.addListener("execute", function() {
>
> this.triggerActor(btn.getUserData("sen_act_id"));
>
> }, this);
>
> control = btn;
>
> break;
>
> }
>
> return control || this.base(arguments, id);
>
> },
>
>
>
> best
>
>
>
> Carsten
>
>
>
> Am 28.07.2015 um 23:18 schrieb Phyo Arkar [via qooxdoo] <[hidden email]
> <x-msg://13/user/SendEmail.jtp?type=node&node=7587381&i=0>>:
>
>
>
> can you show us the code? I can help with that if i can see where is the
> problem.
>
>
>
> On Wed, Jul 29, 2015 at 2:49 AM, hcarsten <<a
> href="x-msg://7/user/SendEmail.jtp?type=node&node=7587380&i=0"
> target="_top" rel="nofollow" link="external" class="">[hidden email]> wrote:
>
> I am trying to create a custom list-item which renders a qx.ui.form.Button
> within the _createChildControlImpl.
>
> This is all running fine besides the button(s) could not been clicked. So
> something (the item or the list) is eating the events. I tried to zindex
> buttons but this seems not to work. I assume that the "selection management"
> is inferring with the button event flow.
>
> Any help appreciated.
>
>
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Button-in-qx-ui-form-List-tp7587379.html
> <http://qooxdoo.678.n2.nabble.com/Button-in-qx-ui-form-List-tp7587379.html>
> Sent from the qooxdoo mailing list archive at Nabble.com <http://nabble.com/>.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> <a href="x-msg://7/user/SendEmail.jtp?type=node&node=7587380&i=1"
> target="_top" rel="nofollow" link="external" class="">[hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> <https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel>
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> <a href="x-msg://7/user/SendEmail.jtp?type=node&node=7587380&i=2"
> target="_top" rel="nofollow" link="external" class="">[hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> <https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel>
>
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://qooxdoo.678.n2.nabble.com/Button-in-qx-ui-form-List-tp7587379p7587380.html
>
> <http://qooxdoo.678.n2.nabble.com/Button-in-qx-ui-form-List-tp7587379p7587380.html>
> To unsubscribe from Button in qx.ui.form.List, click here
> <applewebdata://1CF230C1-4CF1-4A08-B767-A68E94C6C1BC>.
> NAML
> <http://qooxdoo.678.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21workgroup%3Aworkgroup.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
> View this message in context: Re: Button in qx.ui.form.List
> <http://qooxdoo.678.n2.nabble.com/Button-in-qx-ui-form-List-tp7587379p7587381.html>
> Sent from the qooxdoo mailing list archive
> <http://qooxdoo.678.n2.nabble.com/> at Nabble.com.
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email] <x-msg://13/user/SendEmail.jtp?type=node&node=7587382&i=3>
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> <https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel>
>
>
> If you reply to this email, your message will be added to the discussion
> below:
> http://qooxdoo.678.n2.nabble.com/Button-in-qx-ui-form-List-tp7587379p7587382.html
>
> <http://qooxdoo.678.n2.nabble.com/Button-in-qx-ui-form-List-tp7587379p7587382.html>
> To unsubscribe from Button in qx.ui.form.List, click here
> <http://qooxdoo.678.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7587379&code=Q2Fyc3Rlbi5IYXJuaXNjaEBoYXJuaXNjaC1jb25zdWx0aW5nLmNvbXw3NTg3Mzc5fC0xNTUxNTMzNjQy>.
> NAML
> <http://qooxdoo.678.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21workgroup%3Aworkgroup.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Button-in-qx-ui-form-List-tp7587379p7587383.html
Sent from the qooxdoo mailing list archive at Nabble.com.------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel