Sunday, May 19, 2013

JBoss Setup

Followed  http://davidghedini.blogspot.com/2011/03/install-jboss-6-on-centos.html
with CentOS 5.5 running on an old Dell Latitude D600 with 775MB RAM.

Was able to access admin-console once, but next day get HTTP Status 404.
Notice four run.sh processes running in top. May need to fix service script in /etc/init.d

When tried to edit /etc/init.d/jboss got an error regarding a file system being read-only. Reboot machine and run fsck -y to fix errors.

Monday, May 6, 2013

Word VBA, Template Customization

Learned about creating editable forms: http://www.sunyacc.edu/sites/default/files/Documents/ITS/word_-_creating_fillable_forms_legacy_tools.pdf

And how to insert a Field (Ctrl-F9)!  http://www.techsupportalert.com/pdf/e1182.pdf
and Alt-F9 to toggle!

And How to automatically execute a Word macro when you create, open, or close a document vs. AutoNew()

More on Auto Macros (tip from this link: hold down shift when pressing OK to prevent auto macros from running)

Microsoft's name for the ribbon and quick access toolbar is "Fluent User Interface"
ref: http://msdn.microsoft.com/en-us/library/office/ee704589(v=office.14).aspx

To remove a custom ribbon, simply edit the .rels file. see: http://msdn.microsoft.com/en-us/library/aa338202.aspx#OfficeCustomizingRibbonUIforDevelopers_AddingDocumentBasedAddIns
This also appears to reenable a greyed out File Options, and Customize Ribbon buttons.

To find a bookmark by name do Ctrl-Shift-F5. Note: Protection must be disabled.

Friday, May 3, 2013

Model Glue

Unpacked modelglue-framework-release-3.2-rc2.zip, copied contents (with root file ModelGlue.cfm) into a newly created folder "ModelGlue" under context root: C:\glassfish3\glassfish\domains\domain1\applications\cfusion\cfusion_war\ModelGlue

Thursday, May 2, 2013

CF, GlassFish, Oracle Express, etc. Installs

Run through ColdFusion 10 installation to produce an EAR file. Upload this file to create a new Application through the Glassfish administrator.

followed http://bpits.net/how-to-set-up-local-oracle-sql-database-in-3-steps/
Oracle Express Apex runs on 8080, so I needed to change Glassfish port using:
http://belial.pt/wp/en/how-to/the-best-way-to-change-glassfish-ports/

got started with cf on glassfish by following http://itreminder.blogspot.com/2010/03/deploy-coldfusion-89-on-glassfish-v3.html
still need to figure out the bundle tools for eclipse and how to debug, to read: http://dlc.sun.com.edgesuite.net/glassfish/eclipse/GF-Tools-for-Eclipse-Guide11.pdf

Download Model-Glue, Transfer-ORM (from riaforge as current link is dead), and ColdSpring. In the future may want to see about swapping Transfer-ORM with CF-ORM (Coldfusion ORM that has Hibernate integration?).

Reading http://www.coldspringframework.org/downloads/ColdSpring_Reference.pdf
gives hints on how the Java-beans spec works and provides a good into to IOC / DI.

Installed ColdSpring. Attempted to copy to http://localhost:8082/cfusion/test - continuing from itreminder blog above, but got error. Needed to unzip coldspring1-2-final.zip to "coldspring" in root cfusion context at C:\glassfish3\glassfish\domains\domain1\applications\cfusion\cfusion_war\. When that done, get valid page at http://localhost:8082/cfusion/coldspring/examples/quickstart/

Wednesday, May 1, 2013

CF Dev Environment Setup, VBA to CFML Conversion Research

For testing CF pages with an "integrated" server (Tomcat/Railo) did http://ipggi.wordpress.com/2011/10/07/embed-a-railo-coldfusioncfml-server-within-your-cfeclipseeclipse-application-with-no-need-for-xml-configurations/

Cracked a VBA (from previous day) using technique from http://gbanik.blogspot.com/2010/08/understanding-excel-file-internals.html

Research Apache POI and how it can be used to produce a CFML tag, e.g. "submit" to output a word docx from form wizard inputs.