Forums de discussion
Freemarker : CalEventModel getRecurrance
Sourabh Lonikar, modifié il y a 6 années.
Freemarker : CalEventModel getRecurrance
Junior Member Publications: 42 Date d'inscription: 14/11/16 Publications récentes
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, modifié il y a 6 années.
RE: Freemarker : CalEventModel getRecurrance
Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
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