I'm using Expression language to give to a client-side Javascript function the ID of a particular DIV. I'm using this:
"#{id:repeatsecondlevelnodes}"
Firstly, I'm not at all sure how the resolver finds the 'real' ID. I'm assuming that it's something similar to CSS Selectors, but I have been unable to find authoritative documentation on it. I'd appreciate any link to any kind of documentation.
Secondly, I don't get why sometimes the resolved value is postfixed with :0
Sometimes I'll get
view:_id1:repeatfirstlevelnodes:1:repeatsecondlevelnodes:0
when I'm expecting
view:_id1:repeatfirstlevelnodes:1:repeatsecondlevelnodes
and I don't get what's causing the difference. So far I've hacked it by just removing :0 if I encouter it, but I'd rather understand how the resolver actually works.