I think you need to add "": class= "${myclass}"