View Full Version : Updating panel with tpl

31 Jan 2011, 3:32 AM
Hello there!

I have a panel with a tpl defined and some default data on it. Works perfectly, but when I try to update it, no success...no error, no warning, nothing, simply no update.
I`m doing it by using the update method for the panel passing a data object like this:

{something: value,
otherthing: value}

Also, my tpl contain the variables "something"and "otherthing".

Any tips?


31 Jan 2011, 4:46 PM
try myPanel.body.update(myTpl.apply(myDataObj));