I have a repeater component composed of custom components. The repeater component has a dataprovider array collection which contains the property categoryid. I have a tilelist which is poulated by an array collection which also has a property called category id. I want to set it so that when an item in the repeater is clicked only the items which have a categoryid which matches that of the repeater's clicked item category id will be shown in the tilelist, similar to the way it'd work if I used a combo box or tilelist rather than a repeater i.e. via selecteditem.categoryid.
How can I do this? I know it would likely involve bubbling . I presume I'd have to create a variable in my main application called category id and then set a click within my custom component file which bubbles this variable from the clicked component in the repeater to set the category id variable in the main app as the clicked item's categoryid but I have no clue how to do this. Can anyone offer advice?