English Spanish
Straker » Blog » 2005 » 2005

Blog Archives

Adding a new FMS Admin Group to a File Store

Updated Jul 16, 2007

The reason the editors can''t see the contents of the FMS is because they do not have permissions to do so.If you want granular permissions against the FMS folders, you can set up the permissions... more »

Sandboxing on CFMX7 (Multi-server and J2EE config modes)

Updated Jul 15, 2007

http://www.creative-restraint.co.uk/blog/index.cfm?mode=entry&entry=A7038D2C-933C-C47E-510C9D5E61402BA4

Rename site code snippet from Alex

Updated Aug 02, 2006

Glenn, Thanks for the help with this, the script in this case didntwork for me as i think the regex wasnt matching unquoted values, asthe old editor didnt always put in " or ''. I changed the... more »

Hungarian Coding Notation for Coding ShadoMX sites

Updated Aug 02, 2006

When coding ShadoMX apps or websites, please use the following Hungarian notation for referring to variables. a: arrayb: booleanc: single chari: intf: floatl: listo: objectq: querys: stringst:... more »

Delete a SOF Class

Updated Jul 24, 2006

This has been asked a couple of times now... How does one delete aSOF class once it has been created through the IDE. In ShadoMX 7.0.0.47 and above , you need to go to IDE > ShadoMX >shadoclass.... more »

Another new function: listDiff()

Updated Jul 24, 2006

It''s in shadomx.util.misc.list This is the hint: Returns a list that is all the items from list1 that are not in list2. Uses java.util.HashSet. Sample usage: <cfscript> oList =... more »

Hiding all Shado Specific Javascripts from the head of the rendered page

Updated Jul 18, 2006

You can setup the following variables in the app_templates/index.cfm before the <cf_shado_template_cache> tag is called. <cfset attributes.includeshadolibs = false> This will... more »

Staging, Live, SSURL and 404

Updated Jul 18, 2006

I had a client who had a set up like this: 2 web servers 1 database/file server They wanted to have one of the web servers as the "live" server so users would do most, if not all, browsing on ... more »

Server Hardening Documentation

Updated Jul 18, 2006

Grant posted this entry today on his blog: /grantstraker/index.cfm?mode=entry&entry=EF874C16-16C3-D74B-F738B23185FDE4AF Server Hardening I got a request for information on hardening a server... more »

Missing code that creates SSURL for pages

Updated Jul 18, 2006

This blog post is for people who are having problems with issue SMX-1697: the fact that the shado_obj_pages.add() method does not create the search-engine-safe URLs when the rest of the page... more »

expandpath not working very well

Updated Jul 18, 2006

We''ve had issues where expandpath() wasnt returning the correct value. To overcome this add a jrun mapping in [webroot]\WEB-INF\jrun-web.xml like the one below: <virtual-mapping> ... more »

Collation conflict error

Updated Jul 18, 2006

How to change the collation of a database. http://www.ssw.com.au/SSW/KB/KB.aspx?KBID=Q711843

Forgot your CF password?

Updated Jul 18, 2006

Try this..... Stop the CFMX service. Open /lib/password.properties (CFMX Standard) or /servers//cfusion-ear/cfusion-war/WEB-INF/lib/password.properties (CFMX/J2EE) Change the password... more »

Fun and frustration while working with Flex Tree

Updated Jul 18, 2006

I had a play with the Flex tree. Some key learnings: Whenever you are setting the dataProvider attribute of the tree tag, make sure to plug the curly brackets around the dataprovider source... more »

Using ShadoMX Portal Framework

Updated Jul 18, 2006

Structure of the Portal Application The front-end of the Flex-based ShadoMX portal is based on a custom-built framework that contains a ShadoMX app, Flex-user classes used... more »

Using Eclipse for Flex Development

Updated Jul 18, 2006

http://www.everythingflex.com/blog/1/2005/05/Eclipse-for-Flex-Development.cfm

Deleting multiple instances of a SOF object

Updated Jul 18, 2006

I faced this issue today. I have two independent SOF objects (say, object1, and object2) objects, and one SOF objects that linked the these two (say, linkedObject - which contains object1 and... more »

What is Cairngorm - in plain English

Updated Jul 18, 2006

Editing MXML files with Eclipse 3.1

Updated Jul 18, 2006

Eclipse 3.1 rocks! Much faster than before, and much kinder to my old laptop. To work with MXML documents in Eclipse, use the  Eclipse Web Tools Platform... more »

Episode VI - Return of the RemoteObject

Updated Jul 18, 2006

The more I work with the <RemoteObject> tag in Flex, the more I am impressed by. I discovered that when you call a CFC (e.g., a SOF object), the remoteobject tag has access to all the... more »

Useful tool for Flex styles....

Updated Jul 18, 2006

http://www.markme.com/mc/archives/FlexStyleExplorer.html

Features of different versions of Coldfusion

Updated Jul 18, 2006

http://www.macromedia.com/software/coldfusion/productinfo/product_editions/fp_frameset.html

RemoteObject and its source attribute

Updated Jul 18, 2006

I wanted to be able to read the "source" attribute of the RemoteObject tag from an XML file. So I first read the XML file into the model: <mx:Model id="portalConfig"... more »

Including a stand alone app in a .cfm page or Shado template

Updated Jul 18, 2006

I like this. It is possible to create completely stand alone flex apps that can be either run from within a cfm page/shado template or as a .mxml file. This means we can develope our Flex apps to ... more »

Using Flex to Access ShadoMX Variables

Updated Jul 18, 2006

I got Flex to access Shado variables. It''s quite easy.Make sure that you turn on "Use J2EE session variables" option in CF Admin (under Memory Variables).Here is the code for the flex... more »

Remote Objects not working in a Flex App embedded in a ColdFusion Page

Updated Jul 18, 2006

Again, this issue was caused but the flex-config.xml that is located in the "cfform" directory of the ColdFusion directory. The guilty node was: ... more »

Using a SOF Object - through RemoteObject and

Updated Jul 18, 2006

SOF objects can be accessed through Flex using the remoteobject tag. And of course we can access them using <cfinvoke>, <cfobject> or createObject in CF.There are two major difference... more »

Flex FAST Toolkit - great tool

Updated Jul 18, 2006

MM has released a new framework that can be integrated into the process of developing applications with Flex. It helps a) debugging, b) performance enhancement through caching. Have a look it at:... more »

Import statements do not work in a Flex App embedded in a Coldfusion page

Updated Jul 18, 2006

This has bugged me to no end. If you try to use a Flex app that you've written that contains the "import" statement, and you've embedded this Flex app in a Coldfusion page, Coldfusion complains ... more »

Multiple installation configurations collide on Verity Search Service

Updated Jul 18, 2006

http://www.talkingtree.com/blog/index.cfm?mode=entry&entry=A408F2CB-50DA-0559-A0D48C56C738A6F2

CFLEX: Macromedia Flex Community

Updated Jul 18, 2006

Just came across a newly started Macromedia Flex community site: http://www.cflex.net/ Looks quite useful.

Removing MS SQL table relationships on Shado 6.0.1.27 and before

Updated Jul 18, 2006

Instructions to manually remove redundant table relationships from the "users" table in a Microsoft SQL Server database using Enterprise Manager. Please note that you need to do this only if: - ... more »

How to use MySQL 4.1 with ColdFusion MX

Updated Jul 18, 2006

This technote is for you if you need to get MySQL Server 4.1 working with CFMX 7, To connect to a MySQL 4.1 database from ColdFusion MX: Download a current, stable version of the MySQL Connector JDBC... more »

Passing a value object to a SOF CFC through webservice

Updated Jul 18, 2006

And this will save you a lot of time, the value of which can easily equal to a few rounds of drink that you can treat me to. When using Cairngorm framework to create a RIA that interacts with a... more »

Installing Flex 1.5 on Coldfusion

Updated Jul 18, 2006

Open up the install instructions on Macromedia site. http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html For step 7 (where you need to merge the CF web.xml with Flex web.xml in... more »

Installing Flex

Updated Jul 18, 2006

Have a look at: http://www.macromedia.com/support/documentation/en/flex/1_5/install.html Once you have flex.war file, create a directory right under the ear directory of your instance. For... more »

Retrieving value of a global variable

Updated Jul 18, 2006

ShadoMX provides a function to retrieve the value of global properties or variables. <cfset qProperty = request.sitecontext.getGlobalProperty('request.myproperty')> where... more »

shado caching service

Updated Jul 18, 2006

Examples of the shado caching service in use: cachingexamples.zip

Architecting Flex Applications - Good starting point

Updated Jul 18, 2006

http://www.macromedia.com/devnet/flex/articles/architecture_print.html

Flex Blogs

Updated Jul 18, 2006

http://www.bpurcell.org/macromedia/flex.cfm http://coenraets.com/index.jsp http://www.markme.com/eanderson/ http://www.markme.com/hoyt/ http://www.richinternetapps.com/index.html... more »

Debugging in Flex

Updated Jul 18, 2006

Two good links to get started: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19245 http://www.macromedia.com/devnet/flex/articles/client_debug.html

Webservices and ColdfusionMX 7

Updated Jul 18, 2006

When working with webservices in CFMX 7, case sensistivity is critical. So when you are invoking a webservice on CFMX7, make sure that the url to the webservice has the correct casing of folder... more »

Flex and the

Updated Jul 18, 2006

Here are some links I have found... http://www.rocketboots.com.au/blog/index.cfm?mode=entry&entry=C6173106-E081-51EF-A73336809276EB7C http://www.richinternetapps.com/archives/000094.html... more »

Using JRun Metrics Instead of CFSTAT

Updated Jul 18, 2006

Using JRun Metrics Instead of CFSTAT on ColdFusion MXIf you install ColdFusion MX 6.1 in the Standalone mode and you want to get realtime statistics on how the server is operating then you can use... more »

Restarting Component Cache

Updated Jul 18, 2006

<cfset oService = application.shado.serviceManager.getService("componentCache")> <cfset oService.stop()> <cfset ... more »

Container Render Types

Updated Jul 18, 2006

I've implemented a basic content type system into the 48 build. It's pretty simple and is simply a custom editor and a custom render path. <cfset conObj.addcontainer2page( ... more »

Handy file info function

Updated Jul 18, 2006

  getFileInfo public struct getFileInfo ( optional string file ) Returns info from a file / directory. Uses java.io.File to access file. Returns a structure keyed thus: exists... more »

Duplicate Objects

Updated Jul 18, 2006

I have written a function in misc that will clone anything you pass it. Be careful with very large wueries though.. application.shado_obj_factory.get("sahdomx.core.shado.misc").clone(myVar); YOU... more »

Module installers

Updated Jul 18, 2006

I have changed the skin and skin cfc to be more dynamic. You will need to make sure that all modules that add a buttons conform to the standard. check out the dtd in the skin.xml for the sample... more »