FYI, I updated the Mach-II Bean Creator - now V1.1  Since I mentioned it today in a post today, Bill Rawlinson emailed me to say it had a little nasty bug (Thanks for pointing that out).  Shame on me for uploading a file with a missing ";" in a cfscript block - yet my local copy was good.  It was an bug that rendered the generated code with a syntax error - so I suggest getting a new copy on my blog or fixing the error in the _javascript_ section of the code yourself (it was in the createTO() method).

New Features:
Create Get/Set Errors Methods
Creates a structure outside of the variables.instance scope [but in variables.errors] to hold error messages - otherwise the getMemento gets the errors structure.

Create Transfer Object
Creates a lightweight transfer object based on the bean template text area. This is probably the most exciting addition to the bean creator since TOs are usually just as dull to create as the bean.

Please, this is not a "true" TO like described in Sun's Java patterns. It's more of a "transferStruct" as coined by Barney Boisvert. It produces code just like the TOs in Phil Cruz's mach-ii info sample application.

Allowing Defaults in Bean Template
You can now set a default to be placed in the default="" in the arguments of the init() instead of hand coding them like I originally was doing. Especially useful if the argument type is numeric and you init() with "".

Blog entry:
http://blog.maestropublishing.com/index.cfm?mode=entry&entry=FB4F0F0D-9C7D-72AE-97FD9D08619A4E4F
(watch the wrap)

Thanks...from now on I'll just post to my blog instead of here.  I just felt bad that I posted code with a silly syntax error.

P.s. Sorry for hijacking this thread.
-- 
Peter J. Farrell :: Maestro Publishing

blog	:: http://blog.maestropublishing.com
email	:: [EMAIL PROTECTED]
phone	:: 651-204-0513

Fatal Windows Error 039: Cray not found - System Halted.
--
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]

Reply via email to