I would like to know how I can get the element id in the template file.
For example I changed the monthapplet to each day have a id and I want to have this id when the user click on it.
If I get what you mean, then you have to add some onclick listener. For instance for all of your dom elements.
Please paste some code, etc. It would be easier to talk about specific example, than in general.