Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Custom portlet permissions in liferay 7.1
Hi Team,
Hi I am using liferay 7.1 I made a custom portlet in it using the liferay model project, The custom portlet has an view.jsp) with a submit button over it. I want to set custom permissions that allows me depending upon the role of the user to either hide or show the submit button. But the sample permission portlet(the address book one) mentioned over there is not availaible anymore for downloading. If some one can upload it, it will be of great help.
1.pls tell me, what that action keys in the resource action refers to does it refer to the submit button in my case.
2. what coding will I have to do in the view.jsp to implement the above mentioned bolded part.
Hi I am using liferay 7.1 I made a custom portlet in it using the liferay model project, The custom portlet has an view.jsp) with a submit button over it. I want to set custom permissions that allows me depending upon the role of the user to either hide or show the submit button. But the sample permission portlet(the address book one) mentioned over there is not availaible anymore for downloading. If some one can upload it, it will be of great help.
1.pls tell me, what that action keys in the resource action refers to does it refer to the submit button in my case.
2. what coding will I have to do in the view.jsp to implement the above mentioned bolded part.