Just a general tip: when you create a new template with different variables, make sure that your javascript code is updated as well! As a developer you get the error info back that you can see in Firebug. I just debugged an app where the template definition and the javascript of raising the event is...