visualforce-typeahead icon indicating copy to clipboard operation
visualforce-typeahead copied to clipboard

VF component IDs with colons

Open bolaurent opened this issue 11 years ago • 0 comments

Some VF components (e.g. apex:inputHidden) cannot be assigned dynamic IDs. We have to reference them like:

destinationForSelectedId="{!$Component.ProductId}"

As a result, the component ID contains multiple colons, e.g.:

j$('[id$=thePage:theForm:thePageBlock:lineItemsTable:0:ProductId]')

I’ve added code to escape these colons, which confuse jQuery.

bolaurent avatar Nov 18 '14 18:11 bolaurent