Adobe Dreamweaver Forums



Last 10 THreads :         Re: sRGB vs. Adobe (1998) RGB (Last Post : Ramón_G_Castañeda@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: sRGB vs. Adobe (1998) RGB (Last Post : Ramón_G_Castañeda@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: Optimal Scratch Disk (Last Post : Lundberg02@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: ColorSync Sucks (Last Post : Lundberg02@adobeforums.com - Replies : 0 - Views : 1 )           »          help me with adjustments layers in CS4 (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 2 - Views : 3 )           »          "Save As" crashes PS (Last Post : Rothrock@adobeforums.com - Replies : 2 - Views : 3 )           »          Flash Slide presentation and movieclip looping (Last Post : pivovar - Replies : 0 - Views : 1 )           »          Array of Queries (Last Post : Fetch - Replies : 5 - Views : 6 )           »          Re: 2.1 GB TIF size limit (Last Post : Buko - Replies : 0 - Views : 1 )           »          Re: Colour differences on the web (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 0 - Views : 1 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-03-2008, 04:38 AM
Biswamit
 
Posts: n/a
Diggs:
Default DateField behaviour in Flex 3 and Flex 2

In one of my project I had implemented Date Field(with option of choosing Date
from the Calendar) in a TitleWindow. See the code snippet below

<mxateField x="108" y="462" id="dfStart" height="22" width="100"

text="{getDefaultStartDate(Utils.fromServerDate(mo del.currentDate).getDate())}
"
labelFunction="{Utils.formatDate}" parseFunction="{Utils.parseDate}"
showToday="true" change="Utils.updateDate(event)" fontSize="10"/>

<mxateField x="108" y="505" id="dfStop" width="100" height="22"

text="{Utils.formatDate(Utils.fromServerDate(model .selectedObject.endTime).get
Date())}"
labelFunction="{Utils.formatDate}" parseFunction="{Utils.parseDate}"
showToday="true" change="Utils.updateDate(event)" fontSize="10"/>

The Logic is simple where for the (dfStart.text) Start Date and (dfStop.text)
Stop Date are retrieved from the Server following Cairngorm paradigm. The above
code was working fine with Flex 2 but the moment I have upgraded it to Flex 3(
which means when compiled with Flex 3) and run , the text in the Stop
Date?(dfStop.text) is not becoming visible.
The Title Window comes up with blank text in the Stop date(dfStop.text). It is
populated only when the user selects a date from the Calendar.

The behaviour is Strange as this same code works when compiled with Flex 2.Any
Idea as to why this code indifferently with Flex 2 and Flex 3

Please help



Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:45 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk