掲示板
Freemarker : CalEventModel getRecurrance
6年前 に Sourabh Lonikar によって更新されました。
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
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
6年前 に Andrew Jardine によって更新されました。
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
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