META-INF.adf.jsLibs.DateFieldFormat.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trinidad-impl Show documentation
Show all versions of trinidad-impl Show documentation
Private implementation of the Apache MyFaces Trinidad project
function _getDateFieldFormat(a0)
{
var a1=a0.name;
if(a1&&_dfs)
{
var a2=_dfs[a1];
if(_dl)
{
var a3=_dl[a1];
return new TrDateTimeConverter(a2,a3);
}
return new TrDateTimeConverter(a2);
}
return new TrDateTimeConverter();
}
function _fixDFF(a0)
{
var a1=_getDateFieldFormat(a0);
if(a0.value!="")
{
try
{
var a2=a1.getAsObject(a0.value);
if(a2!=null)
a0.value=a1.getAsString(a2);
}
catch(e)
{
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy