Fórum

Jsp fragment is not working!

thumbnail
Vipin Bardia, modificado 7 Anos atrás.

Jsp fragment is not working!

Regular Member Postagens: 162 Data de Entrada: 28/02/11 Postagens Recentes
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
Armaz Mellati, modificado 7 Anos atrás.

RE: Jsp fragment is not working!

Junior Member Postagens: 96 Data de Entrada: 30/10/09 Postagens Recentes
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
Vipin Bardia, modificado 7 Anos atrás.

RE: Jsp fragment is not working!

Regular Member Postagens: 162 Data de Entrada: 28/02/11 Postagens Recentes
Hi Armaz,

Thanks for the response.

I tried that too, but its not working emoticon
thumbnail
Marco Endres, modificado 7 Anos atrás.

RE: Jsp fragment is not working!

Regular Member Postagens: 112 Data de Entrada: 22/08/12 Postagens Recentes
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
Vipin Bardia, modificado 7 Anos atrás.

RE: Jsp fragment is not working!

Regular Member Postagens: 162 Data de Entrada: 28/02/11 Postagens Recentes
Thank you Marco emoticon

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