Forums

Home » Alloy UI » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jignesh Vachhani
RE: code
August 3, 2012 1:09 AM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 780

Join Date: March 10, 2008

Recent Posts

you have to override below jsp code of calendar(html\portlet\calendar) :

In init.jsp :

Format df = FastDateFormatFactoryUtil.getSimpleDateFormat("dd-MMM-yyyy");


in summary.jspf :

<liferay-ui:calendar
month="<%= selMonth %>"
day="<%= selDay %>"
year="<%= selYear %>"
headerFormat="<%= df %>"
data="<%= data %>"
/>

You can also refer This Blog

I tried in LR 6.1 and its working perfectly.
Shilpa B
RE: code
August 6, 2012 5:15 AM
Answer