As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/> … <type…> … <properties> … <property name="my:dataen"> <type>d:date</type> </property> </properties> </type>
And this warning???? 2006-09-05 10:07:43,796 WARN [org.hibernate.cache.ReadWriteCache] An item was expired by the cache while it was locked (increase your cache timeout): org.alfresco.repo.domain.hibernate.NodeImpl.parentAssocs#409
The date picker renderer has changed to allow dates to be set back to "None". Now when a date property has null in the database "None" is shown in the UI (showing today's date when null was in the database is a bug).The "None" text can be clicked on to set the date to today's date (unless the propery in question is protected, in which case the property will be shown in a gray italic font). There are now also buttons available to set the date back to null and to go to today's date.
<managed-bean> <managed-bean-name>DatePickerGenerator</managed-bean-name> <managed-bean-class>org.alfresco.web.bean.generator.DatePickerGenerator</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>TodayDatePickerGenerator</managed-bean-name> <managed-bean-class>org.alfresco.web.bean.generator.DatePickerGenerator</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> <managed-property> <property-name>initialiseIfNull</property-name> <value>true</value> </managed-property> </managed-bean>
<show-property name="my:todayDate" component-generator="TodayDatePickerGenerator" /> <show-property name="my:noneDate" />