How can I create administrative portlet for my custom portlet, such as Wiki Admin for Wiki portlet in Liferay. Is it possible ?
How can I create administrative portlet for my custom portlet, such as Wiki Admin
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Admin portlets are not something different then other portlets in the sense that they are just new portlets which re-use some of the functionality (service methods and some JSPs) of their counter-parts and add more functionalities for Administrator like add/edit/delete/assign-roles/assign-permissions/configurations etc.
So I think you just need to create a
MyCustomAdminportlet for yourMyCustomportlet in the same WAR.If you want the
MyCustomAdminportlet to appear in the control-panel then you can follow the steps here.It just depends upon how you design your portlet so that you can re-use stuff to-fro between the two portlets.
I hope I have answered what you desired, if you have something else in mind then kindly update the question.
P.S.: I assume you are talking about custom plugin-portlets built using plugins-SDK