Hi all,
I was trying to adapt the nuxeo studio template for Holiday request and have problem to find the correct syntax for the following:
My document has a customised schema which include two properties with "Date" type.
In my automation chain I want to send a Notification -> Send E mail and ton include those "date" inforamtion.
For the moment, in my mail "message" part, I have used the following syntax:
@{Document["SchemaName:date_start"]}
As a result I receive an email with the following (in addition to the reset of the e mail which is OK):
java.util.GregorianCalendar[time=1326668400000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Europe/Paris",offset=3600000,dstSavings=3600000,useDaylight=true,transitions=184,lastRule=java.util.SimpleTimeZone[id=Europe/Paris,offset=3600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2012,MONTH=0,WEEK_OF_YEAR=3,WEEK_OF_MONTH=3,DAY_OF_MONTH=16,DAY_OF_YEAR=16,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=3,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OFFSET=3600000,DST_OFFSET=0]
Question is: how to display the date in readable format ??
Thank you
PS: I looked in the documentation but all the examples I found are concerning "CurrentDate" but never for a parameter that belong to a Document schema.
Snarf