Ah no it's not about changing an existing objects parameters, it's about entirely replacing a template by another. Example:
Container C: << apply template A to this container (menu for animations) when a button is klicked.
Once another button is klicked, apply template B to this container, with B having entirely different controls. Template A should be removed from C. I want to "load" menues into a container, like using templates in php. Until now I have always anchored the controls from A to a control pool element and set them to hidden. But swaping menues by reanchoring A to a hidden element + anchoring B to C does not feel elegant.
|