Hi Kranti,

you just need to provide the default-value to form-fields to display,
i haven't looked at the code but i think you can do it yourself in the similar way the patch, for a little help, you have 'timeStamp' available in the context which is the current timeStamp.

--
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 Atul,

The fix you provided fixes a part of my problem.
In the case where I am editing an event, the time is displayed correctly as
it is set for the event.
In case I want to create a new event, The the estimatedStartDate should be
set to the current time, whereas, with the fix provided, it sets it to the
current date at midnight.
Please guide me through it.

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


On Mon, Jun 21, 2010 at 7:21 PM, Atul Vani <[email protected]>wrote:

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




Reply via email to