这个问题必须是一个大难问题,但我似乎无法找到正确的关键词来讨论:我有一个行动倾听者,可以从一个数据表中同一分界线所产生的多个核对箱中的任何一个收听一次事件。 我怎么能从发表这次活动的听众那里听说?
In particular, I need the index of the component so I can map it to an ordered list in the model. I know I can get the UIComponent object, and from there I can get the client ID of the component. And knowing that the client ID has the component s index embedded in it, yes I could do the sleazy thing, and parse the index from the client ID. But I know that would be a horrible, fragile and unmaintainable hack.
What s the right way to do this?