[jira] Updated: (SLING-231) ujax post servlet should respect several date formats for @TypeHint=Date

2008-02-12 Thread Tobias Bocanegra (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Bocanegra updated SLING-231:
---

Attachment: ujax_date_parser.r620437.patch

updates patch for latest revision

 ujax post servlet should respect several date formats for @TypeHint=Date
 --

 Key: SLING-231
 URL: https://issues.apache.org/jira/browse/SLING-231
 Project: Sling
  Issue Type: Improvement
Reporter: Tobias Bocanegra
 Attachments: ujax_date_parser.r620038.patch, 
 ujax_date_parser.r620437.patch


 for current date properties the property value handler just calls 
 Node.setProperty(String, type) which will result in errors, if the date 
 string is not of the correct jcr specified format. 
 suggest to add additional conversion helpers that check a range for date 
 formats to be able to deal with other formats, such as ECMA, etc.

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



[jira] Updated: (SLING-231) ujax post servlet should respect several date formats for @TypeHint=Date

2008-02-12 Thread Carsten Ziegeler (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler updated SLING-231:
---

  Assignee: Carsten Ziegeler
Remaining Estimate: 0h
 Original Estimate: 0h

 ujax post servlet should respect several date formats for @TypeHint=Date
 --

 Key: SLING-231
 URL: https://issues.apache.org/jira/browse/SLING-231
 Project: Sling
  Issue Type: Improvement
Reporter: Tobias Bocanegra
Assignee: Carsten Ziegeler
 Attachments: ujax_date_parser.r620038.patch, 
 ujax_date_parser.r620437.patch

   Original Estimate: 0h
  Remaining Estimate: 0h

 for current date properties the property value handler just calls 
 Node.setProperty(String, type) which will result in errors, if the date 
 string is not of the correct jcr specified format. 
 suggest to add additional conversion helpers that check a range for date 
 formats to be able to deal with other formats, such as ECMA, etc.

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



[jira] Updated: (SLING-231) ujax post servlet should respect several date formats for @TypeHint=Date

2008-02-08 Thread Tobias Bocanegra (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Bocanegra updated SLING-231:
---

Attachment: ujax_date_parser.r620038.patch

- implements parsing of some other formats
- provides test case for this

 ujax post servlet should respect several date formats for @TypeHint=Date
 --

 Key: SLING-231
 URL: https://issues.apache.org/jira/browse/SLING-231
 Project: Sling
  Issue Type: Improvement
Reporter: Tobias Bocanegra
 Attachments: ujax_date_parser.r620038.patch


 for current date properties the property value handler just calls 
 Node.setProperty(String, type) which will result in errors, if the date 
 string is not of the correct jcr specified format. 
 suggest to add additional conversion helpers that check a range for date 
 formats to be able to deal with other formats, such as ECMA, etc.

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