I want to use a component in a page, but i don't know which to use, I only know a String at Runtime, How can I do this.
I add <div t:type="component1"></div>to a .tml file, "component1" is the Component Class name. I try to add a method getComponentName() to the java file, then i can control which component to use, but i failed. Is their another way to do this? Thanks.