How to get selected instance name in flex repeater

If you want the main view to know which repeater view has been selected then I would use system.perspective.sendMessage in an onClick event on the root of the embedded view.

def runAction(self, event):
	role = self.view.params.role
	system.perspective.sendMessage("repeaterViewClicked", {"role": role}, scope = "page")

Then use a message handler on the component in the main view that needs the information. Be sure to set the listen scope to "Page".

1 Like