AnsweredAssumed Answered

Getting Error:dojo.date.format:invalid pattern char:jj/MM/aa

Question asked by dynamolalit on Aug 30, 2009
Hi,

I am using alfresco 3.1.1 over JBoss 4.3.2 with Firefox 3.5.I have an xsd to create web content in English,French & German which has a date field as:

<xs:element name="Content_Date_of_Expiry" type="xs:date"  nillable="true" minOccurs="0">
<xs:annotation>
   <xs:appinfo>               
      <alf:label>${contentExpiryDate}</alf:label>                  
   </xs:appinfo>
</xs:annotation>
</xs:element>

Problem is that when i have selected English as my language,its working fine & i can see date filed on my web form.But as soon as i switch to French or German,this date filed disappears.Firefox is giving no error for this but IE7 shows javascript error like this:

Line :97
Char: 1
Error:dojo.date.format:invalid pattern char:jj/MM/aa
Code : 0
URL: http://localhost:8080/alfresco/faces/jsp/wizard/container.jsp

I googled for it & found some existing posts for the same:

http://forums.alfresco.com/en/viewtopic.php?f=30&t=6563&p=21221&hilit=Error%3Adojo.date.format%3Ainvalid+pattern+char%3Ajj%2FMM%2Faa#p21221

http://forums.alfresco.com/en/viewtopic.php?f=30&t=11107&p=37255&hilit=Error%3Adojo.date.format%3Ainvalid+pattern+char%3Ajj%2FMM%2Faa#p37255

But here no solution has been given.

Can anyone help me on this issue.

Outcomes