DSpace JSPUI v3.1
In DSpace currently there is a date control which has only Year, Month and
Day fields. We need Hour and Minute for time as well.
We have tried editing edit-metadata.jsp like this
.append(LocaleSupport.getLocalizedMessage(pageContext,
"jsp.submit.edit-metadata.hour"))
.append("<input type=\"text\" name=\"")
.append(fieldName)
.append("_hour");
if (repeatable && i>0)
sb.append("_").append(i);
if (readonly)
{
sb.append("\" disabled=\"disabled");
}
sb.append( "\" size=\"4\" maxlength=\"4\" value=\"" )
.append((dateIssued.getHour() > 0 ?
String.valueOf(dateIssued.getHour()) : "" ))
.append("\"/>");
It added another textBox for Hour but didn't store it or perhaps didn't
retrieve it back.
--
View this message in context:
http://dspace.2283337.n4.nabble.com/Dspace-Date-with-Time-control-tp4665333.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette