I am working on an application in which I am passing a JAVA object from server to client so that I can use it in Free Marker Template(FTL). Also I want to store a property of that java object in Ember model.
Lets say the java object coming from server is personInfo and Ember model name is userModel. personInfo has some properties like id, username, age etc. I want to store the username property of personInfo in username property of userModel.
Is there any way to store the java object property in Ember Model directly or through FTL?
I don't want to use global variable in javascript to store the java object in any case.
Aucun commentaire:
Enregistrer un commentaire