留言板

Freemarker : CalEventModel getRecurrance

Sourabh Lonikar,修改在6 年前。

Freemarker : CalEventModel getRecurrance

Junior Member 帖子: 42 加入日期: 16-11-14 最近的帖子
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
thumbnail
Andrew Jardine,修改在6 年前。

RE: Freemarker : CalEventModel getRecurrance

Liferay Legend 帖子: 2416 加入日期: 10-12-22 最近的帖子
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