掲示板

Jsp fragment is not working!

thumbnail
7年前 に Vipin Bardia によって更新されました。

Jsp fragment is not working!

Regular Member 投稿: 162 参加年月日: 11/02/28 最新の投稿
Hi There,

I am trying to build a simple jsp fragment using the same sample from blade repository, but it's not working.
I am using LIferay 7 GA2 and using maven to build this fragment.

When I put my jar to deploy folder I can see message - STARTED com.liferay.login.web_1.0.5 [219] in my tomcat
There is no issues in diagnosis from gogo shell as well.

Please let me know if I am doing anything wrong. For testing purpose it contains a h1 tag of my name.
I've attached the project as well.

Regards.

添付ファイル:

thumbnail
7年前 に Armaz Mellati によって更新されました。

RE: Jsp fragment is not working!

Junior Member 投稿: 96 参加年月日: 09/10/30 最新の投稿
Hi

Yesterday I did something quite similar and it is working fine.
The main difference I see in the content of bnd.bnd file.

Mine looks like this :
Bundle-Version: 1.0.0
Fragment-Host: com.liferay.login.web;bundle-version="1.0.0"
-sources: true


Try with that.
thumbnail
7年前 に Vipin Bardia によって更新されました。

RE: Jsp fragment is not working!

Regular Member 投稿: 162 参加年月日: 11/02/28 最新の投稿
Hi Armaz,

Thanks for the response.

I tried that too, but its not working emoticon
thumbnail
7年前 に Marco Endres によって更新されました。

RE: Jsp fragment is not working!

Regular Member 投稿: 112 参加年月日: 12/08/22 最新の投稿
Hello Vipin

Try to check the Bundleversion via gogo shell. It should be 1.0.5 i think.
And if you work on windows you need this patch:

https://web.liferay.com/de/web/jamie.sammons/blog/-/blogs/osgi-module-patching-guide
thumbnail
7年前 に Vipin Bardia によって更新されました。

RE: Jsp fragment is not working!

Regular Member 投稿: 162 参加年月日: 11/02/28 最新の投稿
Thank you Marco emoticon

I will try to use the same and let you know.