Question

Q: How can I determine if a component has been selected?

Is there a method to detect this?

Answer:

It is often necessary to determine whether a component has been selected in order to show additional pages or execute certain actions. You can do accessing a special variable: ${component(componentname).selected} You will need to substitute componentname with the specific component's name