Fórumok
Embedding a custom portlet through a hook.
Riley Pickerl, módosítva 11 év-val korábban
Embedding a custom portlet through a hook.
Junior Member Bejegyzések: 50 Csatlakozás dátuma: 2013.01.10. Legújabb bejegyzések
Hello,
I am wondering how I can embed a custom portlet into a hook of an ootb portlet supplied by liferay.
I have created a hook on the portlet that uploads new documents (edit_file_entry.jsp), I want to embed a new custom portlet here to set role based permissions in this location. My list is so long though that I will have to create a custom interface to select the permissions (instead of the grid).
Is this possible, and if so how do I go about doing this?
I have left a screen shot of where I want to insert a custom portlet.
I do not know how to link to a jsp page that is outside of the ROOT folder.
Thanks,
Riley Pickerl
I am wondering how I can embed a custom portlet into a hook of an ootb portlet supplied by liferay.
I have created a hook on the portlet that uploads new documents (edit_file_entry.jsp), I want to embed a new custom portlet here to set role based permissions in this location. My list is so long though that I will have to create a custom interface to select the permissions (instead of the grid).
Is this possible, and if so how do I go about doing this?
I have left a screen shot of where I want to insert a custom portlet.
I do not know how to link to a jsp page that is outside of the ROOT folder.
Thanks,
Riley Pickerl
Mellékletek:
David H Nebinger, módosítva 11 év-val korábban
RE: Embedding a custom portlet through a hook.
Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
You wouldn't embed a portlet (as they are not embeddable). Your hook, however, can adjust the struts flow such that you could have a custom page shown to deal w/ the business logic you want to implement.
Riley Pickerl, módosítva 11 év-val korábban
RE: Embedding a custom portlet through a hook.
Junior Member Bejegyzések: 50 Csatlakozás dátuma: 2013.01.10. Legújabb bejegyzések
Thanks, so you're saying that I have to write the logic into the jsp from the hook? I am only asking because I wanted to use this new permissions functionality in multiple locations but I guess I can create a seperate jsp file and write the logic there and just include the jsp file in the hook and the other locations it is needed.