Re: [jira] Commented: (SLING-231) ujax post servlet should respect several date formats for @TypeHint="Date"
if you like, i can also look at the delete issue. On 2/8/08, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Cool. Thanks, so I will take if off my list of potential TODOs :-) > > Regards > Felix > > Am Freitag, den 08.02.2008, 04:28 -0800 schrieb Tobias Bocanegra (JIRA): > > [ > > https://issues.apache.org/jira/browse/SLING-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567017#action_12567017 > > ] > > > > Tobias Bocanegra commented on SLING-231: > > > > > > ok - i will work on 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 > > > > > > 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. > > > > -- -< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 ---< http://www.day.com >---
Re: [jira] Commented: (SLING-231) ujax post servlet should respect several date formats for @TypeHint="Date"
Cool. Thanks, so I will take if off my list of potential TODOs :-) Regards Felix Am Freitag, den 08.02.2008, 04:28 -0800 schrieb Tobias Bocanegra (JIRA): > [ > https://issues.apache.org/jira/browse/SLING-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567017#action_12567017 > ] > > Tobias Bocanegra commented on SLING-231: > > > ok - i will work on 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 > > > > 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. >
Re: [jira] Commented: (SLING-231) ujax post servlet should respect several date formats for @TypeHint="Date"
I am working on this: My idea is to not implement the check proposed by Philipp but to create the "currentNode" on demand when there really are things to do on that node. such as just build the path and add a new deepGetOrCreate taking a parent path instead of a parent node. Regards Felix Am Freitag, den 08.02.2008, 13:45 +0100 schrieb Tobias Bocanegra: > if you like, i can also look at the delete issue. > > > On 2/8/08, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > Cool. Thanks, so I will take if off my list of potential TODOs :-) > > > > Regards > > Felix > > > > Am Freitag, den 08.02.2008, 04:28 -0800 schrieb Tobias Bocanegra (JIRA): > > > [ > > > https://issues.apache.org/jira/browse/SLING-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567017#action_12567017 > > > ] > > > > > > Tobias Bocanegra commented on SLING-231: > > > > > > > > > ok - i will work on 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 > > > > > > > > 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. > > > > > > > > >
Re: [jira] Commented: (SLING-231) ujax post servlet should respect several date formats for @TypeHint="Date"
On Feb 8, 2008 2:05 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > I am working on this: My idea is to not implement the check proposed by > Philipp but to create the "currentNode" on demand when there really are > things to do on that node Sounds good, in testing I've seen cases where nodes are created needlessly. -Bertrand