Fórum
Freemarker : CalEventModel getRecurrance
Sourabh Lonikar, modificado 6 Anos atrás.
Freemarker : CalEventModel getRecurrance
Junior Member Postagens: 42 Data de Entrada: 14/11/16 Postagens Recentes
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 6 Anos atrás.
RE: Freemarker : CalEventModel getRecurrance
Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
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