Hi Derrell, yes you are right. The list items are created by list item renderer. From there, i dont think you are able to walk up a line of layout parents.
What about listening to changeSelection event on list? There you get the evt, and you are able to determine the target. Just have a look on playground example. You get the target by: evt.getTarget(); Greetz Christopher ________________________________________ Von: Derrell Lipman [[email protected]] Gesendet: Donnerstag, 14. Juni 2012 22:16 An: qooxdoo Development Betreff: [qooxdoo-devel] mobile: layout parent is null I am trying to respond to touchstart and touchmove events on a container. When I receive a touchstart or touchmove event, I start with widget=e.getTarget() and walk up the the layout parent chain with widget=widget.getLayoutParent() until I find a container on which I which I can operate. I'm finding, however, that if I add a qx.ui.mobile.list.List() to one of my containers, I get a parent of null during that walk, because e.getTarget() returns a qx.ui.mobile.container.Composite whose parent is a qx.ui.mobile.list.renderer.Default, which has a parent of null. This Default renderer is not properly in the layout chain! If the touchstart begins on a list item, how can I figure out which container the list is in? Thanks, Derrell ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
