留言板

Host OSGI Bundle while migrating 6.2 hook to 7.0 fragment

Olga S,修改在6 年前。

Host OSGI Bundle while migrating 6.2 hook to 7.0 fragment

Junior Member 帖子: 26 加入日期: 17-4-17 最近的帖子
Hi everyone!
I am migrating 6.2 hook to 7.0 Liferay fragment.
In legacy 6.2 hook developers overridden view_user_account.portal.jspf ( located at custom_jsps/html/portlet/dockbar/view_user_account.portal.jspf).
So in Liferay developer studio 3.1 I am creating:
New -> Liferay Module Project Fragment where in pop-up window I have to enter "Host OSGI Bundle".
Does anyone know which OSGI bundle I need to choose?
I have spent a whole day going through all list of available bundles but no luck!
Thanks!
thumbnail
David H Nebinger,修改在6 年前。

RE: Host OSGI Bundle while migrating 6.2 hook to 7.0 fragment

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Olga S:
Does anyone know which OSGI bundle I need to choose?
I spend a day going throwg all list of available bundles but no luck!


Don't include weird external links, it looks to me like spam and I was about to block you.

Load the GA4 source into eclipse. Find the file you want to replace, find the bnd.bnd file. The symbolic name in there is the bundle name to use. Normally you will use the com.liferay group, but some few dependencies are com.liferay.portal.








Come meet me at the 2017 LSNA!
Olga S,修改在6 年前。

RE: Host OSGI Bundle while migrating 6.2 hook to 7.0 fragment

Junior Member 帖子: 26 加入日期: 17-4-17 最近的帖子
Hi David!
Thank you for your reply!
I downloaded GA4 and found the file I am looking for at ***\liferay-portal-src-6.2-ce-ga4\portal-web\docroot\html\portlet\dockbar\view_user_account.jspf so now I need to find bnd.bnd file in here.
I am bit confused here. Where do I look for it? Which location?

Thanks!!!
thumbnail
David H Nebinger,修改在6 年前。

RE: Host OSGI Bundle while migrating 6.2 hook to 7.0 fragment

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Sorry, you can't look in 6.2 GA4, you have to look in 7.0 GA4.







Come meet me at the 2017 LSNA!
Olga S,修改在6 年前。

RE: Host OSGI Bundle while migrating 6.2 hook to 7.0 fragment

Junior Member 帖子: 26 加入日期: 17-4-17 最近的帖子
David, there is no such file in 7.0 GA source code.
Is there other solution to this problem?
thumbnail
David H Nebinger,修改在6 年前。

RE: Host OSGI Bundle while migrating 6.2 hook to 7.0 fragment (答复)

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Sorry, I was not paying attention to the JSP file, was just focused on how you find a JSP file in a module.

That said, the JSP version of the user control panel stuff is gone. Doesn't exist the way it used to. Now it is all managed by panels. You'll find the panels under the modules/foundation/users-admin/users-admin-web module.









Come meet me at the 2017 LSNA!
Olga S,修改在6 年前。

RE: Host OSGI Bundle while migrating 6.2 hook to 7.0 fragment

Junior Member 帖子: 26 加入日期: 17-4-17 最近的帖子
Thank you for clarification David!
You saved me a lot of time!
Now I know that this module should be created from scratch.

Thanks,
Olga