[jira] [Created] (OFBIZ-4319) Display dateTime field with input method time-dropdown not use context value to display hour and minutes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-4319) Display dateTime field with input method time-dropdown not use context value to display hour and minutes

Nicolas Malin (Jira)
Display dateTime field with input method time-dropdown not use context value to display hour and minutes
--------------------------------------------------------------------------------------------------------

                 Key: OFBIZ-4319
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4319
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Nicolas Malin
            Priority: Minor
             Fix For: SVN trunk


If you define a dateTime field that like :

 <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>

and pass in context : estimatedStartDate = "2011-06-016 20:30:00"

when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30

I test patch :
 * Apply patch (of course ;) )
 * build with ant
 * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
 * the field 4 must have hour to 02 and minutes to 21

I create 2 screeshot before and after correction.

Nicolas

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4319) Display dateTime field with input method time-dropdown not use context value to display hour and minutes

Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-4319:
---------------------------------

    Attachment: OFBIZ-4319.patch
                DateTime-time-dropdown-without-path.png
                DateTime-time-dropdown-with-path.png

In patch :
 * I also correct multiple definition :    sr.append("\" value=\"");
 * remove unneeded escape at end line :
if (UtilValidate.isEmpty(requiredStyle)) requiredStyle = "required";


> Display dateTime field with input method time-dropdown not use context value to display hour and minutes
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4319
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: DateTime-time-dropdown-with-path.png, DateTime-time-dropdown-without-path.png, OFBIZ-4319.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> If you define a dateTime field that like :
>  <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>
> and pass in context : estimatedStartDate = "2011-06-016 20:30:00"
> when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30
> I test patch :
>  * Apply patch (of course ;) )
>  * build with ant
>  * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
>  * the field 4 must have hour to 02 and minutes to 21
> I create 2 screeshot before and after correction.
> Nicolas

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4319) Display dateTime field with input method time-dropdown not use context value to display hour and minutes

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-4319:
---------------------------------

    Attachment: OFBIZ-4319.patch

Previous upload contains with line contextValue = modelFormField.getEntry(context, dateTimeField.getDefaultValue(context));

> Display dateTime field with input method time-dropdown not use context value to display hour and minutes
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4319
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: DateTime-time-dropdown-with-path.png, DateTime-time-dropdown-without-path.png, OFBIZ-4319.patch, OFBIZ-4319.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> If you define a dateTime field that like :
>  <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>
> and pass in context : estimatedStartDate = "2011-06-016 20:30:00"
> when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30
> I test patch :
>  * Apply patch (of course ;) )
>  * build with ant
>  * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
>  * the field 4 must have hour to 02 and minutes to 21
> I create 2 screeshot before and after correction.
> Nicolas

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4319) Display dateTime field with input method time-dropdown not use context value to display hour and minutes

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-4319:
---------------------------------

    Description:
If you define a dateTime field that like :

 <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>

and pass in context : estimatedStartDate = "2011-06-016 20:30:00"

when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30

To test the patch :
 * Apply patch (of course ;) )
 * build with ant
 * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
 * the field 4 must have hour to 02 and minutes to 21

I create 2 screenshots : before and after correction.

Nicolas

  was:
If you define a dateTime field that like :

 <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>

and pass in context : estimatedStartDate = "2011-06-016 20:30:00"

when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30

I test patch :
 * Apply patch (of course ;) )
 * build with ant
 * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
 * the field 4 must have hour to 02 and minutes to 21

I create 2 screeshot before and after correction.

Nicolas


> Display dateTime field with input method time-dropdown not use context value to display hour and minutes
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4319
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: DateTime-time-dropdown-with-path.png, DateTime-time-dropdown-without-path.png, OFBIZ-4319.patch, OFBIZ-4319.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> If you define a dateTime field that like :
>  <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>
> and pass in context : estimatedStartDate = "2011-06-016 20:30:00"
> when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30
> To test the patch :
>  * Apply patch (of course ;) )
>  * build with ant
>  * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
>  * the field 4 must have hour to 02 and minutes to 21
> I create 2 screenshots : before and after correction.
> Nicolas

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-4319) Display dateTime field with input method time-dropdown not use context value to display hour and minutes

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux closed OFBIZ-4319.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 11.04
         Assignee: Jacques Le Roux

Thanks Nicolas,

For your easy to use demonstration:)

Your patch is in
trunk at r1139385
R11.04 at r1139388


> Display dateTime field with input method time-dropdown not use context value to display hour and minutes
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4319
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Release Branch 11.04, SVN trunk
>
>         Attachments: DateTime-time-dropdown-with-path.png, DateTime-time-dropdown-without-path.png, OFBIZ-4319.patch, OFBIZ-4319.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> If you define a dateTime field that like :
>  <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>
> and pass in context : estimatedStartDate = "2011-06-016 20:30:00"
> when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30
> To test the patch :
>  * Apply patch (of course ;) )
>  * build with ant
>  * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
>  * the field 4 must have hour to 02 and minutes to 21
> I create 2 screenshots : before and after correction.
> Nicolas

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Closed] (OFBIZ-4319) Display dateTime field with input method time-dropdown not use context value to display hour and minutes

Malin Nicolas
Thanks jacques for your review.

I try just to minimize wast commiter time ;)

Nicolas

Le 24/06/2011 20:11, Jacques Le Roux (JIRA) a écrit :

>       [ https://issues.apache.org/jira/browse/OFBIZ-4319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Jacques Le Roux closed OFBIZ-4319.
> ----------------------------------
>
>         Resolution: Fixed
>      Fix Version/s: Release Branch 11.04
>           Assignee: Jacques Le Roux
>
> Thanks Nicolas,
>
> For your easy to use demonstration:)
>
> Your patch is in
> trunk at r1139385
> R11.04 at r1139388
>
>
>> Display dateTime field with input method time-dropdown not use context value to display hour and minutes
>> --------------------------------------------------------------------------------------------------------
>>
>>                  Key: OFBIZ-4319
>>                  URL: https://issues.apache.org/jira/browse/OFBIZ-4319
>>              Project: OFBiz
>>           Issue Type: Bug
>>           Components: framework
>>     Affects Versions: SVN trunk
>>             Reporter: Nicolas Malin
>>             Assignee: Jacques Le Roux
>>             Priority: Minor
>>              Fix For: Release Branch 11.04, SVN trunk
>>
>>          Attachments: DateTime-time-dropdown-with-path.png, DateTime-time-dropdown-without-path.png, OFBIZ-4319.patch, OFBIZ-4319.patch
>>
>>    Original Estimate: 10m
>>   Remaining Estimate: 10m
>>
>> If you define a dateTime field that like :
>>   <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>
>> and pass in context : estimatedStartDate = "2011-06-016 20:30:00"
>> when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30
>> To test the patch :
>>   * Apply patch (of course ;) )
>>   * build with ant
>>   * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
>>   * the field 4 must have hour to 02 and minutes to 21
>> I create 2 screenshots : before and after correction.
>> Nicolas
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>


--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply | Threaded
Open this post in threaded view
|

[jira] [Reopened] (OFBIZ-4319) Display dateTime field with input method time-dropdown not use context value to display hour and minutes

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux reopened OFBIZ-4319:
------------------------------------


Adrian has complained about this in [see his comments|http://svn.apache.org/viewvc?view=revision&revision=1197028]
               

> Display dateTime field with input method time-dropdown not use context value to display hour and minutes
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4319
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Release Branch 11.04, SVN trunk
>
>         Attachments: DateTime-time-dropdown-with-path.png, DateTime-time-dropdown-without-path.png, OFBIZ-4319.patch, OFBIZ-4319.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> If you define a dateTime field that like :
>  <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>
> and pass in context : estimatedStartDate = "2011-06-016 20:30:00"
> when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30
> To test the patch :
>  * Apply patch (of course ;) )
>  * build with ant
>  * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
>  * the field 4 must have hour to 02 and minutes to 21
> I create 2 screenshots : before and after correction.
> Nicolas

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-4319) Display dateTime field with input method time-dropdown not use context value to display hour and minutes

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284127#comment-13284127 ]

Jacques Le Roux edited comment on OFBIZ-4319 at 5/27/12 9:02 AM:
-----------------------------------------------------------------

== TYPO ==
Adrian has complained about this [see his comments|http://svn.apache.org/viewvc?view=revision&revision=1197028]
               
      was (Author: jacques.le.roux):
    Adrian has complained about this in [see his comments|http://svn.apache.org/viewvc?view=revision&revision=1197028]
                 

> Display dateTime field with input method time-dropdown not use context value to display hour and minutes
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4319
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Release Branch 11.04, SVN trunk
>
>         Attachments: DateTime-time-dropdown-with-path.png, DateTime-time-dropdown-without-path.png, OFBIZ-4319.patch, OFBIZ-4319.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> If you define a dateTime field that like :
>  <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>
> and pass in context : estimatedStartDate = "2011-06-016 20:30:00"
> when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30
> To test the patch :
>  * Apply patch (of course ;) )
>  * build with ant
>  * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
>  * the field 4 must have hour to 02 and minutes to 21
> I create 2 screenshots : before and after correction.
> Nicolas

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4319) Display dateTime field with input method time-dropdown not use context value to display hour and minutes

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux updated OFBIZ-4319:
-----------------------------------

    Fix Version/s: Release Branch 12.04

R12.04 is also concerned now...
               

> Display dateTime field with input method time-dropdown not use context value to display hour and minutes
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4319
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Release Branch 11.04, SVN trunk, Release Branch 12.04
>
>         Attachments: DateTime-time-dropdown-with-path.png, DateTime-time-dropdown-without-path.png, OFBIZ-4319.patch, OFBIZ-4319.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> If you define a dateTime field that like :
>  <field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>
> and pass in context : estimatedStartDate = "2011-06-016 20:30:00"
> when you edit the form, estimatedStartDate take the good value 2011-06-016 on date, but take nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30
> To test the patch :
>  * Apply patch (of course ;) )
>  * build with ant
>  * go to ofbiz example component with given date that like : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
>  * the field 4 must have hour to 02 and minutes to 21
> I create 2 screenshots : before and after correction.
> Nicolas

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira