ColdFusion Community

The online ColdFusion / CFML community website

I'm just getting started with scaffolds (using Transfer ORM), and I'm wondering if anyone can point me to some more information about how the validation works, and how I can customize it.

I have a field in a table that is nullable, but I keep getting an error saying it's required when I don't pass it. How can I control what is required?

Thanks in advance for any suggestions.

Tags: model-glue, scaffolding, validation

Reply to This

Replies to This Discussion

Figured it out! I'm a Transfer n00b, I didn't realize that there was a "nullable" attribute for the property. Once I made the property nullable in my Transfer.xml, it worked fine. I was looking at other blog posts that used Reactor, and thought that making the database field nullable was what I needed to do.

Reply to This

RSS

Specialists in ColdFusion Development
Tagged.com

> Place your advert here /h3>

Latest Activity

8 hours ago
17 hours ago
Chandan Kumar added a photo
19 hours ago
19 hours ago
John Farrar About a month ago my second book "ColdFusion 9 Developers Tutorial" hit the press. You can find it on amazon.com and packtpub.com both.
yesterday
Shirak Grigor added a blog post
There are a communication issues between three technologies together Flex, CF, and .Net. The issue is around null values and how each technology treating it. Flex support null values for String, Object, and Dates only as far as my knowledge up to Fl…
on Tuesday
Mark Parratt and Kathy Elliott joined ColdFusion Community
August 24
Discussion, Q&A, and fellowship amongst those interested in the ColdFusion on Wheels framework.
August 23
Thanks Jamie
August 20
This is currently being discussed in the Wheels Google Group: http://groups.google.com/group/cfwheels/browse_thread/thread/832e0a5010f96a53?hl=en
August 20
Jamie Martin updated their profile
August 20
I use layerblue http://www.layerblue.com/ they've been good to me, the are only on cf7 though... but depends what you need.
August 20

Members

  • Paul
  • Tariq Ahmed
  • Francisca Espi Puig
  • Chandan Kumar
  • Pradeep
  • John Farrar
  • Ram
  • Vijay Manickaraja
  • Jan van Hellemond
  • Shirak Grigor
  • Wil Genovese
  • David Harris

Translate this page

© 2010   Created by Nick Tong

Badges  |  Report an Issue  |  Terms of Service

Sign in to chat!