Blog

ColdFusion/ColdBox Job Opening in Ft. Lauderdale, Florida

Luis Majano |  January 25, 2011

Here is a job opening that a friend of mine in Ft. Lauderdale has opened up for a ColdFusion/ColdBox developer.  Please contact Victor Mendez at victor@jobsite123.com so you can apply for this position.

 

Job Title:

Read More

Don't Forget persistent="false" When Autowiring Entities

Curt Gratz |  January 21, 2011

I ran into a strange error yesterday that I couldn't seem to find out what was happening.

I was getting coldfusion.runtime.TemplateProxy cannot be cast to java.lang.String when trying to save an entity using ColdFusion ORM.  

Google was turning up nothing, so I started systematically removing lines of code.  It started working when I removed the line that did an entityLoad on a different object.  What was weird was I was just using that object to get a bit of data and not even for the object I was saving that caused everything to go boom, and if I removed the save, everything worked fine.  Then I remembered that the Hibernate session is affected so I took a deeper look at the entity that a loaded.  Sure enough, I was autowiring a property and didn't have persistent="false" on that property, causing it to throw the "coldfusion.runtime.TemplateProxy cannot be cast to java.lang.String" error.

Changing it from something like this

property name="shippingOriginationZip" inject="coldbox:setting:shippingOriginationZip";

to this

property name="shippingOriginationZip" inject="coldbox:setting:shippingOriginationZip" persistent="false";

fixed it all up.  Of course, like all coding solutions happen, this was in the middle of the night when I was no longer working on the code that this came to me.

So remember folks, if you have a property in an persistent CFC that is not persistent, be sure to say so!

Read More

New ColdBox Training: CBOX203 ColdBox Modules

Luis Majano |  January 19, 2011
We are proud to announce another addition to the ColdBox Training Series: CBOX203: ColdBox Modules.  This is our first course in our advanced series that will take your development to the next level.  Below you can review the course syllabus and you can also register for our March trainings!

Course Overview

CBOX-203 is one of our advanced courses dealing with ColdBox Modules, Architecture and Modularization spread in 2 intense training days. In this course you will lear...

Read More

ColdBox at the OpenCF Summit

Curt Gratz |  January 19, 2011

ColdBox will be at OpenCF Summit. Don't know what the OpenCF Summit is? It is "a community gathering focused exclusively on advancing free and open source software in the CFML community."

I will be hosting a offical ColdBox Unconference. I am very excited to meet with other developers(ie YOU) and have a conversation about advancing ColdBox and sharing some of the different ways we can use the robust framework in our development. I am also excited about learning more about some of the different Open Source ColdFusion projects and ways we as a community can advance those projects. What a great concept for a conference.

If you are wondering why you should care open this "open source" stuff, Bob Silverberg recently posted Why Contribute to Open Source Projects?

If you are wondering why you should go to the OpenCF Summit, check out Jamie Krug's post Go To OpenCF Summit!

If you still aren't convinced to go, the great news is, the price was just dropped to $30. So for the price of a dinner you get

  • A 3 day professional conference
  • A great lineup of speakers
  • The chance to participate in a community "hackfest"
  • The opportunity to network within the greatest development community on the planet

If you have any ideas for things you would like to discuss at the ColdBox Unconference, leave me a comment and we will do our best to cover your idea in some fashion, or just come to the event with your creative juices flowing.

See you at the OpenCF Summit.

Read More