From f2100e807c3a90d080b50094e92190b0f319f1ca Mon Sep 17 00:00:00 2001 From: nac26 Date: Thu, 6 Jan 2011 02:18:39 +0000 Subject: [PATCH] NIHVIVO-631 NIHVIVO-1354 Updated dateTimePrecision and changed property name references to "education and training" to reflect latest updates to ontology --- productMods/edit/forms/personHasEducationalTraining.jsp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/productMods/edit/forms/personHasEducationalTraining.jsp b/productMods/edit/forms/personHasEducationalTraining.jsp index 49bd6e07..71868f21 100644 --- a/productMods/edit/forms/personHasEducationalTraining.jsp +++ b/productMods/edit/forms/personHasEducationalTraining.jsp @@ -348,7 +348,7 @@ core:dateTimePrecision (DateTimeValue : DateTimeValuePrecision) //setup date time edit element Field dateTime = editConfig.getField("dateTime"); - dateTime.setEditElement( new DateTimeWithPrecision(dateTime, VitroVocabulary.Precision.YEAR)); + dateTime.setEditElement( new DateTimeWithPrecision(dateTime, VitroVocabulary.Precision.YEAR.uri(), VitroVocabulary.Precision.NONE.uri())); EditConfiguration.putConfigInSession(editConfig,session); } @@ -374,14 +374,14 @@ core:dateTimePrecision (DateTimeValue : DateTimeValuePrecision) - + <% } else { // adding new entry %> - + <% } @@ -411,7 +411,7 @@ This goes to an experimental FM based form: -

${titleVerb} educational training entry for <%= subjectName %>

+

${titleVerb} education and training entry for <%= subjectName %>

" >