Foros de discusión

Fragment host usage gives issue

thumbnail
Jignesh Vachhani, modificado hace 7 años.

Fragment host usage gives issue

Liferay Master Mensajes: 803 Fecha de incorporación: 10/03/08 Mensajes recientes
Hi all,

I am actually overriding liferay oob module functionality using fragment host feature of OSGi where i am able to face one strange issue to override jsps.
Actually JSPs could not be able to find/load custom classes which we have created as a part of separate module.
I already exported those packages from source bundle and also imported those packages in my module where i am overriding jsps.
Does it liferay DXP issue ?
thumbnail
Milen Dyankov, modificado hace 7 años.

RE: Fragment host usage gives issue

Expert Mensajes: 310 Fecha de incorporación: 30/10/12 Mensajes recientes
Can you provide some more details? Where do you export your packages from? Where do you import them? How do you access the classes? What errors you see in the log?
thumbnail
Jignesh Vachhani, modificado hace 7 años.

RE: Fragment host usage gives issue

Liferay Master Mensajes: 803 Fecha de incorporación: 10/03/08 Mensajes recientes
Milen,

Here is the detail.

Where do you export your packages from?
From my custom module where i created and exposed serializable model class .

Where do you import them? How do you access the classes?
Importing into bnd file and accessing in custom fragment host bundle/module where i am using classes with i exposed from other module as i mentioned in above statement.

What errors you see in the log?
Caused by: org.apache.jasper.JasperException: : Error in Javac compilation for JSP_PWC6199: Generated servlet error:_cannot find symbol symbol: class CustomPollConstants_ location: package com.abc.portal.base.community.util_PWC6199: Generated servlet error:_cannot find symbol symbol: class CustomPollUtil_ location: package com.abc.portal.base.community.util_
thumbnail
Abhishek Jain, modificado hace 7 años.

RE: Fragment host usage gives issue

Regular Member Mensajes: 226 Fecha de incorporación: 20/08/16 Mensajes recientes
In liferay ce, there occurs some problem in making fragments in some version..you should try some other version like ce ga1 or ee ga1. Hope that helps!!