concept ComboBox itemrenderer in category rails
appears as: ComboBox itemRenderers, ComboBox itemRenderers, ComboBox itemRenderer

This is an excerpt from Manning's book Flexible Rails: Flex 3 on Rails 2.
In the handleCreationComplete function
, we delete the call to listTasks and set the _gotProjects
and _gotLocations
flags to false. We don’t call listTasks until we have the projects and locations returned and the maps populated. (This is because we’ll be using these maps in the ComboBox itemRenderers we’ll create shortly—if the tasks come back too soon, the ComboBox rendering won’t happen correctly, and we’d need to call listTasks again anyway.)
, we delete the call to listTasks and set the _gotProjects
and _gotLocations
flags to false. We don’t call listTasks until we have the projects and locations returned and the maps populated. (This is because we’ll be using these maps in the ComboBox itemRenderers we’ll create shortly—if the tasks come back too soon, the ComboBox rendering won’t happen correctly, and we’d need to call listTasks again anyway.)