hmm could that be a problem?
 
I am assigning the model.sessionData.priceEndDate the text value and
this is bound to the selecteddate on the priceEndDate.

The same code below, i just changed the change to valueCommit.

jkaur

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I doubt that your problem indicates that the entire component is broken.
> valueCommit is used by databinding so it probably works in many cases.
> What are you doing in your valueCommit handler?
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of gur_sukh
> Sent: Thursday, January 17, 2008 7:57 AM
> To: [email protected]
> Subject: [flexcoders] Re: Date field with time
> 
>  
> 
> Thanks for the reply,
> 
> dataChange is for data property only and doesn't work.
> 
> If i use valueCommit, i can't even click on the datechooser. The whole
> component is kind of broken.
> 
> there should be some way to handle date time.
> 
> Any ideas, anyone...
> 
> jkaur
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
> , "Alex Harui" <aharui@> wrote:
> >
> > Try valueCommit
> > 
> > 
> > 
> > ________________________________
> > 
> > From: [email protected] <mailto:flexcoders%40yahoogroups.com>
> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of Sherif Abdou
> > Sent: Wednesday, January 16, 2008 10:13 PM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> > Subject: Re: [flexcoders] Date field with time
> > 
> > 
> > 
> > try the dataChange event instead, i think
> > 
> > ----- Original Message ----
> > From: gur_sukh <gur_sukh@>
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> > Sent: Thursday, January 17, 2008 12:01:50 AM
> > Subject: [flexcoders] Date field with time
> > 
> > Hi,
> > 
> > Need some help. Fiddling with datefield component.
> > 
> > <mx:DateField id="sessionEndDate"
> > labelFunction= "formatDate" 
> > selectedDate= "{model.sessionD ata.prodEndDate} "
> > change="if (null != DateField(event. currentTarget) .selectedDate)
> > model.sessionData. prodEndDate = 
> > checkProdEndDate( DateField( event.currentTar get).selectedDat e)" 
> > formatString= "MM/DD/YYYY JJ:NN:SS"
> > enabled="{dateHandl er.checkDate( model.sessionDat a.prodEndDate) }"
> > editable="true" 
> > width="160"/ >
> > 
> > this works fine when the user chooses the date from date chooser. but
> > when the users edits the time the change event doesn't occur. Which
> > event should be used to know that the text has changed.
> > 
> > Thanks
> > jkaur
> > 
> > 
> > 
> > 
> > 
> > ________________________________
> > 
> > Never miss a thing. Make Yahoo your homepage.
> > <http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs
> <http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs> >
> >
>


Reply via email to