Hi everyone,
I have just started to try out liferay project.I have created a simple JSP portlet .I have created a custom portlet class(by extending MVCPortlet) for the business logic. What i am trying to do is to initialize parameters(say db connection) for this portlet application which is a one time activity.So,I have used the init method of the MVCPortlet for this purpose.Till here its fine.Now i want "loading mask" to be displayed to the client side when this activity(db connection) is going on.I am able to independently run the "Alloy UI-loading mask" feature mentioned in the site.
Basically what i want is to display the "Loading Mask" when the init method is called and when this method is finished the loading mask should stop.I am not able to understand how to communicate from the init method to the Loading Mask API of the Alloy UI. I have chosen the init method of the portlet class for my one time loading activities,if some other better approach is there ,please guide me.
Regards
Umadas
Por favor, identifíquese para poder marcar esto como inapropiado