留言板

Liferay7hooks

Ravi Shankar,修改在7 年前。

Liferay7hooks

Junior Member 帖子: 40 加入日期: 16-7-13 最近的帖子
Hi All
I am trying to do override of liferay7 hooks jsp, so for that i created a module and i changed the bnd.bnd file according to my requirement .after that i performed gradle task like clean and deploy then i moved the newly created jar file form workspace/bundles/osgi/modules to workspace/bundles/deploy folder after that console showing some issues like:

Processing Mymodule.jar
STOPPED com.liferay.dynamic.data.lists.form.web_1.0.10 [432]
STARTED com.liferay.dynamic.data.lists.form.web_1.0.10 [432]
FrameworkEvent ERROR
org.osgi.framework.BundleException: Invalid operation on a fragment.

so i am not getting why i am getting FrameworkEvent ERROR or org.osgi.framework.BundleException: Invalid operation on a fragment
so how i resolve these issues please help me.
thumbnail
Sushil Patidar,修改在7 年前。

RE: Liferay7hooks

Expert 帖子: 467 加入日期: 11-10-31 最近的帖子
Hi,

GO though the thread. You may have the same.

Regards
Ravi Shankar,修改在7 年前。

RE: Liferay7hooks

Junior Member 帖子: 40 加入日期: 16-7-13 最近的帖子
Hi Sushil,
Thanks for giving Replay.
According to your suggestion i followed all process like in bnd.bnd file:

Bundle-SymbolicName: dynamic.form1
Bundle-Version: 1.0.0
Fragment-Host:com.liferay.dynamic.data.lists.form.web;bundle-version="1.0.10"
-sources: true
-jsp: *.jsp,*.jspf
-plugin.jsp: com.liferay.ant.bnd.jsp.JspAnalyzerPlugin

After that in Gogo i run this command :
lb -s | grep dynamic.form1

i am getting output like :

1407|Resolved | 10|dynamic.form1 (1.0.0)
true

still showing this module in Resolve state so plz help me how i achieve Resolve state to Active state
thumbnail
Gaurav Jain,修改在7 年前。

RE: Liferay7hooks

Junior Member 帖子: 85 加入日期: 16-7-12 最近的帖子
Ravi Shankar:

1407|Resolved | 10|dynamic.form1 (1.0.0)
true

still showing this module in Resolve state so plz help me how i achieve Resolve state to Active state



A fragment is never Active, as it just gets attached with fragment host. So successfully deployed fragment will remain in Resolved status.

Just visit the web page you tried to hook, Your modifications should be reflected.

Regards,
Gaurav
Ravi Shankar,修改在7 年前。

RE: Liferay7hooks

Junior Member 帖子: 40 加入日期: 16-7-13 最近的帖子
Hi Gaurav
Thanks for Reply..!
My issue got Resolved
thumbnail
Mohammad Danish,修改在7 年前。

RE: Liferay7hooks

Regular Member 帖子: 187 加入日期: 12-3-5 最近的帖子