My Books

  • Follow me on Twitter
My Photo

Subscribe my blog

  • Get this widget from Widgetbox
  • Add to Google
  • RSS FEEDS
  • Enter your Email here to subscribe :



    Powered by FeedBlitz

Blog Widget by LinkWithin

« Generating PDF with Livecycle ES | Main | The new Flex Builder 4 Flex Package Explorer which replaces the Flex Navigator »

Comments

Jeffrey Gilbert

Thanks for that. :)

Jeffrey Gilbert

I also found it handy to pass an object to the VO when creating it rather than setting each value manually. It allowed me to quickly turn SQL results into VO's

ex:

public function QuestionsVO(defaults:Object = null) {
if(defaults != null){
if(defaults.id != null) { this.id = defaults.id; }
if(defaults.question != null) { this.question = defaults.question; }
if(defaults.categoryID != null) { this.categoryID = defaults.categoryID; }
if(defaults.a != null && defaults.a != '') { this.a = defaults.a; answerLength +=1; }
if(defaults.b != null && defaults.b != '') { this.b = defaults.b; answerLength +=1; }
if(defaults.c != null && defaults.c != '') { this.c = defaults.c; answerLength +=1; }
if(defaults.d != null && defaults.d != '') { this.d = defaults.d; answerLength +=1; }
if(defaults.e != null && defaults.e != '') { this.e = defaults.e; answerLength +=1; }
if(defaults.answer != null) { this.answer = defaults.answer; }
if(defaults.explanation != null) { this.explanation = defaults.explanation; }
if(defaults.reference != null) { this.reference = defaults.reference; }
if(defaults.points != null) { this.points = defaults.points; }
}
}

investment advisor

What a facinating article. I’m looking for a marketing expert to help with a project, could you help? Please come visit my site mutual fund when you got time.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment