You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2011/06/24 20:11:47 UTC

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

     [ 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

        

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

Posted by Nicolas Malin <ma...@librenberry.net>.
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/