InterviewSolution
| 1. |
How Do You Generate A Unique Id For A Coach View At Runtime? |
|
Answer» In some SITUATIONS you MIGHT want to use the ID attribute for your DOM elements within a COACH view. However, all DOM IDS must be globally unique. For example: during collaboration the default highlighting behavior is implemented based on a unique DOM ID. To ensure a unique ID, you can use the $$viewDOMID$$ placeholder keyword. At run time, this keyword will be replaced by the Coach View DOM ID. In some situations you might want to use the ID attribute for your DOM elements within a coach view. However, all DOM IDs must be globally unique. For example: during collaboration the default highlighting behavior is implemented based on a unique DOM ID. To ensure a unique ID, you can use the $$viewDOMID$$ placeholder keyword. At run time, this keyword will be replaced by the Coach View DOM ID. |
|