You have two collection containers with loaders, one for Category, another for Type. In the Type loader, write a query with a parameter for its category attribute. Then use DataLoadCoordinator to link the loaders, so when the user selects a Category, the Types loader is triggered with the selected Category as the parameter value.