Working with spool files on the AS400 in Coldfusion
Posted by [Justice] in on August 5, 2008
I wanted to put this code out here just to help anyone out who try's to get started with the IBM toolbox for Java. This is still rather rough, but this CFC will allow you to connect to your iSeries, retrieve a filtered list of spool files, and download a spool file into ASCII or PDF format. This is really not 'production ready' code, but it does function in its limited capacity right now. I am releasing this to solicit opinions or additions to this, and maybe even find other sections of the iSeries toolkit that someone else has addressed. It would be cool to create a Riaforge project that has a rollup of CFC's that can interact with the AS400 to do anything! *Note: You need to install the JTOpen classes into the coldfusion classpath and restart before this component will work.
Anyway, you can download the wrksplf.cfc file and check it out. Don't try and drop it into a production environment, just look and see if you can learn anything from it, and if you have something to contribute either email me at justice@cfcode.net, or comment here!
SQL Fun - Let the DB do the work
Posted by [Justice] in Coldfusion , SQL on August 5, 2008
few AS400 query nuggets
Posted by [Justice] in iSeries / AS400 on July 29, 2008
Multi-Step form in Model-Glue with Services
Posted by [Justice] in Coldfusion , Model-Glue on July 28, 2008
While I don't make any claims at being a model-glue expert, I did come up with a way to run my multi-step forms in model-glue. I basically use a single 'event' entry point that has several named results, and the single entry point controller runs 'makeEventBean()' against my form bean (kept in session), and then passes the bean to the service and asks 'what is my next step?' The next named step gets fired off to the named result, and the user see's the appropriate screen in the multi-step process. I am using Transfer ORM, so inside the service you will see some use of that code. Also, I am not going to paste the display files here, this is just really to blog about the gist of my methods to handle a multi-step form. There are quite a few little code chunks here, so without further ado...
CfEclipse Beta and Eclipse 3.4 issues and resolutions
Posted by [Justice] in on July 25, 2008
I am rocking the latest CfEclipse Beta and Eclipse 3.4. Impressions? Fast, I love the updated SVN dialog boxes, and everything feels nice and stable. Only problems were Tag-Insight for CfEclipse and missing line numbers. CJ from IRc (thanks bud!) pointed me to the fixes, so I figured I would share.
To fix the missing tag-insight: Right click your project, and select 'Add Remove CFE Nature' (no clue what it is or does, but it fixed me right up)
To fix missing line numbers: in your workspace, find file .metadata\.plugins\org.eclipse.core.runtime\.settings\org.cfeclipse.cfml.prefs and add a line with this text: lineNumberRuler=true
Have a great weekend all!
Recent Comments