Help with mobile.List

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Help with mobile.List

jorgearr
 
Please help.
 
I need to select an item and show the selected item's arrow only with code not physically tapping the mouse or finger and of course have the changeSelected event fired.
 
Thank you.
 

 
> From: qooxdoo-devel-request@lists.sourceforge.net
> Subject: qooxdoo-devel Digest, Vol 109, Issue 15
> To: qooxdoo-devel@lists.sourceforge.net
> Date: Thu, 18 Jun 2015 03:13:33 +0000
>
> Send qooxdoo-devel mailing list submissions to
> qooxdoo-devel@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> or, via email, send a message with subject or body 'help' to
> qooxdoo-devel-request@lists.sourceforge.net
>
> You can reach the person managing the list at
> qooxdoo-devel-owner@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of qooxdoo-devel digest..."
>
>
> Today's Topics:
>
> 1. Re: Bump!: Using Qooxdoo Desktop to make a Facebook app
> (Mustafa Sak)
> 2. Re: Bind property to backgroundColor of a virtual tree item
> (Mustafa Sak)
> 3. mobile.SelectBox (Jorge Arreaza)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 17 Jun 2015 15:07:38 +0000
> From: Mustafa Sak <mustafa.sak@1und1.de>
> Subject: Re: [qooxdoo-devel] Bump!: Using Qooxdoo Desktop to make a
> Facebook app
> To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
> Message-ID:
> <1598a6c66ff14eaaa1b90ed9e5cfef66@KAPPEX003-MBX.webde.local>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Peter,
>
> sorry for not answering to your question before.
>
> Well, first of all qooxdoo is at the end just an EcmaScript (alias JavaScript) library, so every other library can be used together with qooxdoo. Depending on the integration of facebook lib, you should be able to get access to their api through a global object. If the fb lib was loaded inside a closure, you have to make the fb object available for qooxdoo. I would just bind the the fb object with an static name member defined in one of your qx classes.
>
> 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:?mustafa.sak@1und1.de?| Web:?www.1und1.de
>
>
> -----Urspr?ngliche Nachricht-----
> Von: Peter Caffin [mailto:peter@caffin.org]
> Gesendet: Mittwoch, 17. Juni 2015 12:00
> An: qooxdoo Development
> Betreff: [qooxdoo-devel] Bump!: Using Qooxdoo Desktop to make a Facebook app
>
> Hi folks,
>
> I originally asked on the Qooxdoo Facebook page, and they recommended to ask here.
>
> There were no replies when I asked here back in January. Hope someone might have some suggestions now...
>
>
> Thanks.
>
> -------- Forwarded Message --------
> Subject: [qooxdoo-devel] Using Qooxdoo Desktop to make a Facebook app
> Date: Wed, 21 Jan 2015 12:05:08 +0800
> From: Peter Caffin <peter@caffin.org>
> Reply-To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
> To: qooxdoo-devel@lists.sourceforge.net
>
> Hi guys,
>
> I already have a Qooxdoo Desktop site I have written. I would like to
> add Facebook functionality to it. I've not done this before, and I
> haven't been able to find any documentation or discussion of it online.
>
> Without changing anything, the desktop site loads OK in the Facebook
> canvas, no problems.
>
> To do more, eg, to bring up a Facebook dialog box etc, Facebook has some
> code you'd normally add to your index.html to load the Javascript API at
> https://connect.facebook.net/en_US/sdk.js
>
> See http://paste.tclers.tk/3399?v=raw for the index.html with the
> Facebook API stuff I've added to my project.
>
> Two questions:
>
> (a) Should that Facebook code be somewhere else or is this fine?
>
> (b) From within the source of my script (which builds in this case to
> script/au_js.js), should I be able to just call Facebook functions (eg,
> to get the Facebook user's ID, etc) as Facebook documents them, or will
> I need to perform some extra steps?
>
> Any assistance very much welcomed.
>
> Thanks.
>
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 17 Jun 2015 15:35:49 +0000
> From: Mustafa Sak <mustafa.sak@1und1.de>
> Subject: Re: [qooxdoo-devel] Bind property to backgroundColor of a
> virtual tree item
> To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
> Message-ID:
> <cccf89607f404b0ba7c63bc12f0f3676@KAPPEX003-MBX.webde.local>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> you should call controller.bindDefaultProperties(item, id); to bind default properties. See http://tinyurl.com/p4dykuy
>
> 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:?mustafa.sak@1und1.de?| Web:?www.1und1.de
>
>
> -----Urspr?ngliche Nachricht-----
> Von: woprandi [mailto:william.oprandi@gmail.com]
> Gesendet: Mittwoch, 17. Juni 2015 16:27
> An: qooxdoo-devel@lists.sourceforge.net
> Betreff: [qooxdoo-devel] Bind property to backgroundColor of a virtual tree item
>
> Hi,
>
> I have a virtual tree and I would want to set background color of a item depending of a model property, it works but item label disappear. Check this example : http://tinyurl.com/oss446w
>
> Anyone can help me ? Thanks
>
>
>
> --
> View this message in context: http://qooxdoo.678.n2.nabble.com/Bind-property-to-backgroundColor-of-a-virtual-tree-item-tp7587250.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 17 Jun 2015 21:13:24 -0600
> From: Jorge Arreaza <jorgearr@hotmail.com>
> Subject: [qooxdoo-devel] mobile.SelectBox
> To: Qooxdoo developer <qooxdoo-devel@lists.sourceforge.net>
> Message-ID: <BAY181-W413D6F802BEB238B0077A0DBA50@phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I found this would improve the widget please test and add it to a rivesed version if you can.
>
> I tested on several browsers and it worked.
>
> The purpose is to show the drop-down (menu) using the SelectBox calling as its anchor.
>
> The code change:
>
> In qx.ui.mobile.form.SelectBox make the following addition.
>
> _createSelectionDialog : function() {
> //var menu = new qx.ui.mobile.dialog.Menu();
> var menu = new qx.ui.mobile.dialog.Menu(null,this);
>
>
> Notice: I just added "null,this" between the parenthesis. Nothing else needs to be done
>
>
> Regards,
>
> Jorge
>
> > From: qooxdoo-devel-request@lists.sourceforge.net
> > Subject: qooxdoo-devel Digest, Vol 109, Issue 14
> > To: qooxdoo-devel@lists.sourceforge.net
> > Date: Wed, 17 Jun 2015 15:00:15 +0000
> >
> > Send qooxdoo-devel mailing list submissions to
> > qooxdoo-devel@lists.sourceforge.net
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > or, via email, send a message with subject or body 'help' to
> > qooxdoo-devel-request@lists.sourceforge.net
> >
> > You can reach the person managing the list at
> > qooxdoo-devel-owner@lists.sourceforge.net
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of qooxdoo-devel digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Bind property to backgroundColor of a virtual tree item (woprandi)
> > 2. Re: How can i scroll to the end of a list , after list item
> > updated (continue), using dynamic virtual list widget sizes?
> > (Phyo Arkar)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 17 Jun 2015 07:26:59 -0700 (MST)
> > From: woprandi <william.oprandi@gmail.com>
> > Subject: [qooxdoo-devel] Bind property to backgroundColor of a virtual
> > tree item
> > To: qooxdoo-devel@lists.sourceforge.net
> > Message-ID: <1434551219887-7587250.post@n2.nabble.com>
> > Content-Type: text/plain; charset=us-ascii
> >
> > Hi,
> >
> > I have a virtual tree and I would want to set background color of a item
> > depending of a model property, it works but item label disappear. Check this
> > example : http://tinyurl.com/oss446w
> >
> > Anyone can help me ? Thanks
> >
> >
> >
> > --
> > View this message in context: http://qooxdoo.678.n2.nabble.com/Bind-property-to-backgroundColor-of-a-virtual-tree-item-tp7587250.html
> > Sent from the qooxdoo mailing list archive at Nabble.com.
> >
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Wed, 17 Jun 2015 21:29:25 +0630
> > From: Phyo Arkar <phyo.arkarlwin@gmail.com>
> > Subject: Re: [qooxdoo-devel] How can i scroll to the end of a list ,
> > after list item updated (continue), using dynamic virtual list widget
> > sizes?
> > To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
> > Message-ID:
> > <CA+HjJrgRNGcvhSTu+RGC5XP7f0Bx69yDSKJbBiMW9Ud1kz21+w@mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > About disaapearing Scrollbars on Chrome? Ok i will file one.
> > It dosen't appear in my code tho.
> >
> > On Wed, Jun 17, 2015 at 8:55 PM, Mustafa Sak <mustafa.sak@1und1.de> wrote:
> >
> > > You are using Chrome right?
> > >
> > >
> > >
> > > Would you please report a bug?
> > >
> > >
> > >
> > > 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: mustafa.sak@1und1.de | Web: www.1und1.de
> > >
> > >
> > >
> > > *Von:* Phyo Arkar [mailto:phyo.arkarlwin@gmail.com]
> > > *Gesendet:* Mittwoch, 17. Juni 2015 10:51
> > > *An:* qooxdoo Development
> > > *Betreff:* Re: [qooxdoo-devel] How can i scroll to the end of a list ,
> > > after list item updated (continue), using dynamic virtual list widget sizes?
> > >
> > >
> > >
> > > I can't see the scroll bar , it was hidden on purpose?
> > >
> > >
> > >
> > > On Wed, Jun 17, 2015 at 3:19 PM, Phyo Arkar <phyo.arkarlwin@gmail.com>
> > > wrote:
> > >
> > > Thanks a lot for helping me out!
> > >
> > > When a singile last one is added its ok .
> > >
> > > When multiple LastOnes are added it dosen't scroll to bottom.
> > >
> > > Any thoughts?
> > >
> > >
> > >
> > > On Wed, Jun 17, 2015 at 1:47 PM, Mustafa Sak <mustafa.sak@1und1.de> wrote:
> > >
> > > Wow,
> > >
> > >
> > >
> > > it was not so easy to solve that issue. But would you please try this
> > > example? http://tinyurl.com/nus7pev
> > >
> > >
> > >
> > > 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: mustafa.sak@1und1.de | Web: www.1und1.de
> > >
> > >
> > >
> > > *Von:* Phyo Arkar [mailto:phyo.arkarlwin@gmail.com]
> > > *Gesendet:* Montag, 15. Juni 2015 12:23
> > > *An:* qooxdoo-devel
> > > *Betreff:* [qooxdoo-devel] How can i scroll to the end of a list , after
> > > list item updated (continue), using dynamic virtual list widget sizes?
> > >
> > >
> > >
> > > Previous thread was abandoned so i making new one , with more information.
> > >
> > > I am now using syncWidget to scroll to bottom of a virtual list when new
> > > item is added.
> > > But the problem is this virtuallist implementation automatically resizes
> > > list item height , and when scrolled inside syncWidget , it is not actually
> > > scrolled to the end , but to that widget item?s start.
> > >
> > > here is handler for list?s updates:
> > >
> > > this.chat_list.getModel().addListener("change", function() {
> > >
> > > // qx.ui.core.queue.Manager.flush();
> > >
> > > qx.ui.core.queue.Widget.remove(this.chat_list,"scrollBottom");
> > >
> > > // normally using the flush should be time enough for the renderer
> > >
> > > qx.ui.core.queue.Widget.add(this.chat_list, "scrollBottom");
> > >
> > > },this)
> > >
> > > I added a work around by counting how many times layer is updated , if it
> > > updated for 3 times , scrolls to button : this._layer.addListener("updated",
> > > this._onUpdated, this); .
> > > Because i observed whenever a new item is added , layer firest updated 3
> > > times and only at the last time it need to actually scroll.
> > >
> > > Here is the infinite list with auto-resizing of item height from
> > > stackoverflow.com/questions/21456941/infinite-scroll-in-qooxdoo-with-virtual-list
> > > .
> > >
> > > qx.Class.define('phwabe.utils.list.InfiniList', {
> > >
> > > extend: qx.ui.list.List,
> > >
> > >
> > >
> > > members: {
> > >
> > > __deferredCall: null,
> > >
> > > __scrollBottom: false,
> > >
> > > __updateCount: 0,
> > >
> > >
> > >
> > > _initLayer: *function*() {
> > >
> > > *this*.base(arguments);
> > >
> > > console.log("initing layer")
> > >
> > > *this*._layer.addListener("updated", *this*._onUpdated, *this*);
> > >
> > > },
> > >
> > >
> > >
> > > _onUpdated: *function*(event) {
> > >
> > > *if* (*this*.__deferredCall === null) {
> > >
> > > *this*.__deferredCall = *new* qx.util.DeferredCall(*function*() {
> > >
> > >
> > >
> > > qx.ui.core.queue.Widget.add(*this*, 'updateSize');
> > >
> > >
> > >
> > > }, *this*);
> > >
> > > }
> > >
> > > *this*.__deferredCall.schedule();
> > >
> > > },
> > >
> > > _updateSize: *function*() {
> > >
> > > *var* firstRow = *this*._layer.getFirstRow();
> > >
> > > *var* rowSize = *this*._layer.getRowSizes().length;
> > >
> > > *for* (*var* row = firstRow; row < firstRow + rowSize; row++) {
> > >
> > > *var* widget = *this*._layer.getRenderedCellWidget(row, 0);
> > >
> > > *if* (widget !== null) {
> > >
> > > *var* height = widget.getSizeHint().height;
> > >
> > > *this*.getPane().getRowConfig().setItemSize(row, height);
> > >
> > > }
> > >
> > >
> > >
> > > }
> > >
> > > },
> > >
> > > _scrollBottom: *function*(limit) {
> > >
> > > *if* (*this*.__scrollBottom === true) {
> > >
> > > *this*.scrollToY(1e99)
> > >
> > > *if* (*this*.__updateCount >= limit) {
> > >
> > > *this*.__scrollBottom = false
> > >
> > > }
> > >
> > >
> > >
> > > }
> > >
> > > },
> > >
> > > syncWidget: *function*(jobs) {
> > >
> > > *if* (jobs.scrollBottom & jobs.updateSize) {
> > >
> > > console.log(jobs)
> > >
> > > *this*.__scrollBottom = true
> > >
> > > *this*.__updateCount = 0
> > >
> > > *this*._updateSize()
> > >
> > > *this*._scrollBottom(5)
> > >
> > > console.log("BOTH JOBS no of updates" + *this*.__updateCount)
> > >
> > >
> > >
> > > *this*.__updateCount += 1
> > >
> > > } *else* *if* (jobs.scrollBottom) {
> > >
> > > *this*.__scrollBottom = true
> > >
> > > *this*.__updateCount = 0
> > >
> > > } *else* *if* (jobs.updateSize) {
> > >
> > > *this*._updateSize()
> > >
> > > *this*._scrollBottom(3)
> > >
> > > *this*.__updateCount += 1
> > >
> > > console.log("no of updates" + *this*.__updateCount)
> > >
> > > }
> > >
> > >
> > >
> > > }
> > >
> > > }
> > >
> > > });
> > >
> > > ?
> > >
> > >
> > >
> > >
> > > ------------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > qooxdoo-devel mailing list
> > > qooxdoo-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > >
> > >
> > >
> > >
> > >
> > >
> > > ------------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > qooxdoo-devel mailing list
> > > qooxdoo-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > >
> > >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> >
> > ------------------------------
> >
> > ------------------------------------------------------------------------------
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
> > End of qooxdoo-devel Digest, Vol 109, Issue 14
> > **********************************************
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> ------------------------------------------------------------------------------
>
>
> ------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> End of qooxdoo-devel Digest, Vol 109, Issue 15
> **********************************************

------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel