[ 
https://issues.apache.org/jira/browse/TRINIDAD-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573269#action_12573269
 ] 

Jan Görß commented on TRINIDAD-977:
-----------------------------------

We want to switch from trinidad 1.2.3 to trindad 1.2.6.

In trinidad 1.2.3 is the Method without _dl

function _getDateFieldFormat(dateField)
{
  var name = dateField.name;
  if (name && _dfs)
  {
    var format = _dfs[name];
    if (format)
      return new TrDateTimeConverter(format);
  }

  return new TrDateTimeConverter();
}

 Where is _dl defined in the trinidad 1.2.6 version?


> tr:inputDate Javascript bug
> ---------------------------
>
>                 Key: TRINIDAD-977
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-977
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.6-core
>            Reporter: Jan Görß
>
> We are using tr:inputDate and the Firefox throw an error in method
> function _getDateFieldFormat(dateField)
> {
>   var name = dateField.name;
>   if (name && _dfs)
>   {
>     var format = _dfs[name];
>     if (_dl)
>     {
>       var locale = _dl[name];
>       return new TrDateTimeConverter (format, locale);
>     }
>    return new TrDateTimeConverter(format);
>   }
>   return new TrDateTimeConverter();
> }
> _dl is not defined
> and  our javascript code will not execute by onblur because _dl is not 
> defined.
> client-validation-disabled is true in our webapp.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to