Foros de discusión
Calendar-portlet
Vitina De Leonardis, modificado hace 6 años.
Calendar-portlet
New Member Mensajes: 15 Fecha de incorporación: 10/05/17 Mensajes recientes
Hi,
I have some problem to customize the calendar-portlet of liferay core. I have downloaded the calendar portlet from marketplace Liferay CE Calendar.lpkg. To customize the portlet I have used this solution "Plugin to extend a plugin". I have modified the jre to 1.6, my problem are:
1. "Duplicate local variable editCalendarURL"
2. "Duplicate local variable user"
I have some problem to customize the calendar-portlet of liferay core. I have downloaded the calendar portlet from marketplace Liferay CE Calendar.lpkg. To customize the portlet I have used this solution "Plugin to extend a plugin". I have modified the jre to 1.6, my problem are:
1. "Duplicate local variable editCalendarURL"
2. "Duplicate local variable user"
Archivos adjuntos:
Andy Wu, modificado hace 6 años.
RE: Calendar-portlet
Regular Member Mensajes: 195 Fecha de incorporación: 5/05/15 Mensajes recientes
Hey Vitina , maybe you should go to "development " related catatgory.
Vitina De Leonardis, modificado hace 6 años.
RE: Calendar-portlet
New Member Mensajes: 15 Fecha de incorporación: 10/05/17 Mensajes recientes
Thanks for your suggest...I hope to find some solution.
Regards
Regards
Gregory Amerson, modificado hace 6 años.
RE: Calendar-portlet
Liferay Legend Mensajes: 1123 Fecha de incorporación: 16/02/10 Mensajes recientes
You can simply ignore those errors in the JSP editor. It is showing those errors because it can't read all of the jsp information from your project. In most cases disabling JSp validation for liferay projects makes sense simply because the JSP editor can't handle liferay project configuration.
Vitina De Leonardis, modificado hace 6 años.
RE: Calendar-portlet
New Member Mensajes: 15 Fecha de incorporación: 10/05/17 Mensajes recientes
Thanks Gregory,
I have disabled the jsp validation and apparently there aren't errors. But if I try to execute the ant task build-service, I see the following errors and my deploy fails. In particular way the .war file is correclty created and deployed but there is wrong behavior in runtime. Thanks for your time.
If it can help you, I have used the following alternative steps to import calendar-portlet:
1. Download "Liferay CE Calendar.lpkg" from marketplace
2. Create a new Liferay Plugin Project called calendar-portlet
3. Import --> Archive file passing the .war in the .lpkg archive
4. task "All" of Liferay's project menu
Regards
Vitina
I have disabled the jsp validation and apparently there aren't errors. But if I try to execute the ant task build-service, I see the following errors and my deploy fails. In particular way the .war file is correclty created and deployed but there is wrong behavior in runtime. Thanks for your time.
If it can help you, I have used the following alternative steps to import calendar-portlet:
1. Download "Liferay CE Calendar.lpkg" from marketplace
2. Create a new Liferay Plugin Project called calendar-portlet
3. Import --> Archive file passing the .war in the .lpkg archive
4. task "All" of Liferay's project menu
Regards
Vitina
Archivos adjuntos:
Andy Wu, modificado hace 6 años.
RE: Calendar-portlet
Regular Member Mensajes: 195 Fecha de incorporación: 5/05/15 Mensajes recientes
Hey Vitina , seems you are using liferay 6.2 m5 to do the developing , can you try 6.2.5-ga6 version and also it would be better if you can switch to IDE 3.1(download the ide bundle instead of installing from update site) and using jdk1.8
please try that and give us feedback.
please try that and give us feedback.
Vitina De Leonardis, modificado hace 6 años.
RE: Calendar-portlet
New Member Mensajes: 15 Fecha de incorporación: 10/05/17 Mensajes recientes
I have tied your solution, but this doesn't resolve the problem, in particular way going around the forum I have read that it's necessary to use the jre 1.6 version for this portlet to resolve the following error:
"Exception in thread "main" java.lang.UnsupportedClassVersionError: com/liferay/calendar/model/impl/CalendarBaseImpl : Unsupported major.minor version 52.0"
I attach the result of Eclipse deploy and there apparently aren't problems, unlike the deploy on webapps tomcat's folder have some problems.
"Exception in thread "main" java.lang.UnsupportedClassVersionError: com/liferay/calendar/model/impl/CalendarBaseImpl : Unsupported major.minor version 52.0"
I attach the result of Eclipse deploy and there apparently aren't problems, unlike the deploy on webapps tomcat's folder have some problems.
Archivos adjuntos:
Vitina De Leonardis, modificado hace 6 años.
RE: Calendar-portlet
New Member Mensajes: 15 Fecha de incorporación: 10/05/17 Mensajes recientes
Hi,
I have downloaded a clear liferay's boundle version and now seems that it works, I must always to undeploy the portlet before deploying, now i try some changing to verify if all work fine.
Thanks for your time
I have downloaded a clear liferay's boundle version and now seems that it works, I must always to undeploy the portlet before deploying, now i try some changing to verify if all work fine.
Thanks for your time