Hi Kranti,

The patch attached solves your problem.
But I am trying to find a better solution at the framework level.

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.

Kranti Agrawal wrote:
Hi all,

Please follow the following steps to understand the problem -
1. Go to WorkEffort -> Calander.
2. Add new Event. The date-time field uses a time-dropdown input method.
This lists the current time both the start and end time. This behavior is
correct.
3. Change the start and end time of the event. Save it.
4. Edit the newly created event. Here, on the start and end time of the
event, the current time is indicated, whereas I think it should display the
time which was set for the event.
How can this be fixed?

Regards,
Kranti Agrawal
Student, IIIT Bangalore
krantiagrawal.blogspot.com

Index: applications/workeffort/widget/CalendarForms.xml
===================================================================
--- applications/workeffort/widget/CalendarForms.xml	(revision 956539)
+++ applications/workeffort/widget/CalendarForms.xml	(working copy)
@@ -103,8 +103,8 @@
                 </entity-options>
             </drop-down>
         </field>
-        <field name="estimatedStartDate"><date-time input-method="time-dropdown" /></field>
-        <field name="estimatedCompletionDate"><date-time input-method="time-dropdown"/></field>
+        <field name="estimatedStartDate"><date-time input-method="time-dropdown" default-value="${workEffort.estimatedStartDate}"/></field>
+        <field name="estimatedCompletionDate"><date-time input-method="time-dropdown" default-value="${workEffort.estimatedCompletionDate}"/></field>
         <field name="actualStartDate" use-when="parentWorkEffortId!=null"><display type="date-time"/></field>
         <field name="actualCompletionDate" use-when="parentWorkEffortId!=null"><display type="date-time"/></field>
         <field name="addButton" use-when="workEffort==null"><submit/></field>

Reply via email to