Let's say you have two styles: "defaultStyle" and "fancyStyle" defined in your resources. If you use this code:
var myForm = solutionModel.getForm(controller.getName());Done! Be careful here - depending on how you designed your styles - things could get "wonky" (margins are the big culprit)... but man, did I mention how much I LOVE this tool?!
myForm.styleClass = "fancyForm";
controller.recreateUI();
No comments:
Post a Comment