Foros de discusión
Freemarker : CalEventModel getRecurrance
Sourabh Lonikar, modificado hace 6 años.
Freemarker : CalEventModel getRecurrance
Junior Member Mensajes: 42 Fecha de incorporación: 14/11/16 Mensajes recientes
Hi All,
In javadocs of com.liferay.portlet.calendar.model.CalEventModel, getRecurrance() has below method signature:
String getRecurrence()
What is sample return type does it return ? I would have guessed since it refers to whether calandar event is recurring or not, return type should be boolean (same as boolean isRepeating() )
Thanks,
Sourabh
In javadocs of com.liferay.portlet.calendar.model.CalEventModel, getRecurrance() has below method signature:
String getRecurrence()
What is sample return type does it return ? I would have guessed since it refers to whether calandar event is recurring or not, return type should be boolean (same as boolean isRepeating() )
Thanks,
Sourabh
Andrew Jardine, modificado hace 6 años.
RE: Freemarker : CalEventModel getRecurrance
Liferay Legend Mensajes: 2416 Fecha de incorporación: 22/12/10 Mensajes recientes
Hi Sourabh,
Which version of the portal are you using? if it is 7 you can reference the portal source (https://sourceforge.net/projects/lportal/files/Liferay%20Portal/7.0.3%20GA4/liferay-ce-portal-src-7.0-ga4-20170613175008905.zip/download) and look up all the calendar stuff as it is included.
If you are working with 6.2 then you can always grab the app from the marketplace. Normally there is the ability to download the source as well -- https://web.liferay.com/marketplace/-/mp/application/31070085
Which version of the portal are you using? if it is 7 you can reference the portal source (https://sourceforge.net/projects/lportal/files/Liferay%20Portal/7.0.3%20GA4/liferay-ce-portal-src-7.0-ga4-20170613175008905.zip/download) and look up all the calendar stuff as it is included.
If you are working with 6.2 then you can always grab the app from the marketplace. Normally there is the ability to download the source as well -- https://web.liferay.com/marketplace/-/mp/application/31070085