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 flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Try valueCommit
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Sherif Abdou
> Sent: Wednesday, January 16, 2008 10:13 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Date field with time
> 
>  
> 
> try the dataChange event instead, i think
> 
> ----- Original Message ----
> From: gur_sukh <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.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>
>


Reply via email to