Hello Chethan,
As you probably noticed, I am reading posts backwards.

This case is the same one I replied in your last post. If you change the velocity template "Portlet_XXXXXXPortlet_java.vm" from XMLPortletFactory\Resources\VelocityTemplates_common\PortletFiles as mentioned. Just generate again and thats it.
Saludos, Jack.
If you prefer to wait, monday you will have the new version with this corrected.