--- In flexcoders@yahoogroups.com, "mortenkruse" <[EMAIL PROTECTED]> wrote: > > I'm creating an application where everything is based on a calendar. > Therefore the first thing a person has to do when entering the > application is to choose a date. > > The application is created using the Cairngorm framework. The date is > defined using the mxml:DateChooser > My question is then if I should create a value object for the date > chosen? > Like public class DateVO > And if the answer is yes, How should I retrieve the date? I think that > the DateChooser does not return a date object "30-10-2006". I think > that there must be some kind of function that generates the date ("30- > 10-2006"). And where should that function be located. > > What do you think? > Just create a Value Object that feet your needs. Check the DateFormater Class and the formatString property in the component.
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/