Yes, at delegate you can use configureItem (hope I remember the key correctly). 

Von meinem iPhone gesendet

Am 11.02.2012 um 21:31 schrieb "Derrell Lipman" 
<[email protected]>:

> Using qx.ui.list.List, I have created a replacement ListItem class 
> (SearchResult) which instead of displaying only a single Atom, displays a 
> whole bunch of widgets in a grid layout. I need the ability to issue events 
> when certain widgets within the ListItem are clicked. 
> 
> Firing the event is easy: the particular widget within the grid listens for 
> its "click" event and then fires a new Data event, something like this, where 
> 'title' is a Label within the SearchResult list item:
> 
> title.addListener(
>   "click",
>   function(e)
>   {
>     var searchResult = e.getTarget().getLayoutParent();
>     this.fireDataEvent(
>       "viewApp", 
>       {
>         uid : searchResult.getUid(),
>         title : searchResult.getTitle()
>       });
>   },
>   this);
> 
> I don't have direct access to the ListItem (SearchResult) widgets in the 
> virtual infrastructure, though, as they are reused as scrolling occurs. Where 
> do I add my event listener for "viewApp"? Someplace in the delegate?
> 
> Thanks,
> 
> Derrell
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to