<?xml version="1.0" encoding="iso-8859-1"?>

<rdf:RDF 
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns="http://purl.org/rss/1.0/"
>

	<channel rdf:about="http://forums.coldbox.org/">
	<title>Galleon Forums : Conference : ColdBox</title>
	<description>Conference : ColdBox : This conference is to discuss ColdBox development, bugs, enhancements, etc.</description>
	<link>http://forums.coldbox.org/</link>
	
	<items>
		<rdf:Seq>
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=30A9E405-FF6E-E829-9A1126ADDD4282D5" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=E70A8E16-FF6E-E829-9AADAC67046854E3" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=80783832-FF6E-E829-9AD26F737ACBEE62" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=80783832-FF6E-E829-9AD26F737ACBEE62" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=80783832-FF6E-E829-9AD26F737ACBEE62" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=F88462D2-FF6E-E829-9AA43B776ED7252D" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=264720D4-FF6E-E829-9AF5BC8B4080AE63" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=5178EEE6-FF6E-E829-9AF151FAF60D1D62" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=1A695C58-FF6E-E829-9AD313991DA0E0AC" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=827AE3D5-FF6E-E829-9A71675981C08E27" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=50B23F05-FF6E-E829-9A22D0E7C0472F28" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=4EDA6B78-FF6E-E829-9A168AA373FB1956" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=DFEBDD02-FF6E-E829-9A1DE419190F3DCB" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=67DD8141-FF6E-E829-9AE7A3C6DDD4485C" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=B39660DB-FF6E-E829-9A0BAA48685883CB" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=67DD8141-FF6E-E829-9AE7A3C6DDD4485C" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=F0E9F6B6-FF6E-E829-9AAD6AB0C1BC3C67" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=F0E9F6B6-FF6E-E829-9AAD6AB0C1BC3C67" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=210A04F8-FF6E-E829-9A6F0C32FDCEB80F" />
			
			<rdf:li rdf:resource="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=210A04F8-FF6E-E829-9A6F0C32FDCEB80F" />
			
		</rdf:Seq>
	</items>
	
	</channel>

	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=30A9E405-FF6E-E829-9A1126ADDD4282D5">
		<title>problems with event.BuildLink in Coldbox</title>
		<description>Hi I am having trouble using event.BuildLink in coldbox.

Hi I am wondering if there is a way to regenerate the URL when any page is loaded in coldbox when using event.buildLink ?

Currently I get http://cawksd05.codandev.local:8080/entries/editor when using event.buildlink.

But the correct url should have /index.cfm added to it as shown below:

/index.cfm/entries/editor

Is there a way to set this once and where does this get set as I am confused where to set this for all my pages so that /index.cfm gets added the the url prefix when I do an event.Buildlink.

Please see my code for the routes.cfm below:

// General Properties setUniqueURLS(false);
setAutoReload(false);

// Base URL
if( len(getSetting(&apos;AppMapping&apos;) ) lte 1){
    setBaseURL(&quot;http://#cgi.HTTP_HOST#/index.cfm&quot;);
}
else{
    setBaseURL(&quot;http://#cgi.HTTP_HOST#/#getSetting(&apos;AppMapping&apos;)#/index.cfm&quot;);
}

// Your Application Routes
formatConstraints = {format=&quot;(xml|json)&quot;};

addRoute(pattern=&quot;/api/:format/tasks/completed&quot;,handler=&quot;tasksAPI&quot;,action=&quot;list&quot;,constraints=formatConstraints,completed=true);
addRoute(pattern=&quot;/api/:format/tasks&quot;,handler=&quot;tasksAPI&quot;,action=&quot;list&quot;,constraints=formatConstraints);
addRoute(pattern=&quot;/api/:format?&quot;,handler=&quot;tasksAPI&quot;,action=&quot;invalid&quot;);

addRoute(pattern=&quot;/tasks/list/:status?&quot;,handler=&quot;tasks&quot;,action=&quot;index&quot;);
addRoute(pattern=&quot;:handler/:action?&quot;);</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=30A9E405-FF6E-E829-9A1126ADDD4282D5</link>
		<dc:date>2010-06-04T16:31:11-05:00</dc:date>
		<dc:subject>problems with event.BuildLink in Coldbox</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=E70A8E16-FF6E-E829-9AADAC67046854E3">
		<title>Renderer locateView &quot;bug&quot;</title>
		<description>This is a long running issue that we&apos;ve had with the renderer.

In most of our applications, due to the way we structure them, we have ColdFusion mappings for the main site as well as to external views.

When you build up a view path using a mapping rather than a physical folder in the top level of a view expandPath will throw you a whammy... (See my blog post here from ages ago for why : http://nil.checksite.co.uk/index.cfm/2008/9/11/getdirectoryfrommapping-function-to-solve-a-problem-with-expandpath)

coldbox.system.plugins.Renderer.locateView() will generate a path using the mapping, which is correct, but when you call expandPath() on this path it will return the name of the template currently being called. When you then call FileExists() you get a &quot;true&quot; returned, because its looking at the current template and not the view.  This means that external views are never returned from locateView()

We had just been hacking some code in to handle our specific situation, but I&apos;ve just rewritten it to be more generic and thought I would attempt to explain the problem and post my solution (in the vain hope that it ends up in the core code and I don&apos;t have to hack it every time we download a new version of ColdBox ;) ).

Bascially, rather than checking to see if the file exists I check to make sure that the template name at the end of the physical path is the same as the one at the end of the relational/mapping path.

Here&apos;s the code. It should make perfect sense. :)

[code]
	&lt;!--- locateView ---&gt;
	&lt;cffunction name=&quot;locateView&quot; output=&quot;false&quot; access=&quot;private&quot; returntype=&quot;any&quot; hint=&quot;Locate the view to render&quot;&gt;
		&lt;cfargument name=&quot;view&quot; 		type=&quot;any&quot; 		required=&quot;true&quot; 	hint=&quot;The view name&quot; &gt;
		&lt;cfscript&gt;
			// Default path is the conventions
			var viewPath 	= &quot;/#instance.appMapping#/#instance.viewsConvention#/#arguments.view#&quot;;
			var extViewPath = &quot;#instance.viewsExternalLocation#/#arguments.view#&quot;;
			var viewPathPhysical = expandPath(viewPath &amp; &quot;.cfm&quot;);
			var extViewPathPhysical = expandPath(extViewPath &amp; &quot;.cfm&quot;);
			var slash = iif(findnocase(&quot;window&quot;,server.os.name),de(&apos;\&apos;),de(&apos;/&apos;));

			// Check if view does not exists in Conventions
			// ExpandPath bug fix
			if ( ListLast(viewPathPhysical,slash) NEQ ListLast(viewPath&amp;&quot;.cfm&quot;,&quot;/&quot;) AND fileExists(extViewPathPhysical) )
			{
				return extViewPath;
			}

			return viewPath;
		&lt;/cfscript&gt;
	&lt;/cffunction&gt;
[/code]

Regards

Stephen</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=E70A8E16-FF6E-E829-9AADAC67046854E3</link>
		<dc:date>2010-06-03T06:12:29-05:00</dc:date>
		<dc:subject>Renderer locateView &quot;bug&quot;</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=80783832-FF6E-E829-9AD26F737ACBEE62">
		<title>RE: setNextRoute</title>
		<description>Still can&apos;t get this to work with setNextRoute().

Has anybody got a viable working example of setNextRoute using the persist argument?</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=80783832-FF6E-E829-9AD26F737ACBEE62</link>
		<dc:date>2010-05-27T20:59:34-05:00</dc:date>
		<dc:subject>setNextRoute</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=80783832-FF6E-E829-9AD26F737ACBEE62">
		<title>RE: setNextRoute</title>
		<description>I think I just realized what I was doing wrong. Sorry to bother :)</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=80783832-FF6E-E829-9AD26F737ACBEE62</link>
		<dc:date>2010-05-27T07:10:22-05:00</dc:date>
		<dc:subject>setNextRoute</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=80783832-FF6E-E829-9AD26F737ACBEE62">
		<title>setNextRoute</title>
		<description>I&apos;m trying to use setNextRoute with the &apos;persist&apos; attribute and the routing works but my persisted variables (structure and a query) are not visible.

&lt;cfset rc.struct = structNew()&gt;
&lt;cfset rc.qry = queryNew(&quot;&quot;)&gt;
&lt;cfset setNextRoute(route:&quot;route&quot;,persist:&quot;struct,qry&quot;,ssl:&quot;true&quot;)&gt;

Any ideas what I&apos;m doing wrong?</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=80783832-FF6E-E829-9AD26F737ACBEE62</link>
		<dc:date>2010-05-27T07:05:36-05:00</dc:date>
		<dc:subject>setNextRoute</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=F88462D2-FF6E-E829-9AA43B776ED7252D">
		<title>RE: Facebook Connect</title>
		<description>@grapestack

Thanks for the offer. Whats the best way to contact you?

cheers.</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=F88462D2-FF6E-E829-9AA43B776ED7252D</link>
		<dc:date>2010-05-26T22:12:14-05:00</dc:date>
		<dc:subject>Facebook Connect</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=264720D4-FF6E-E829-9AF5BC8B4080AE63">
		<title>Width problem in CFGrid example</title>
		<description>CB 2.6.4
CF9
Windows XP sp3
Apache server

Just looked at the  cfgrid example in the coldbox examples and found the cfgrid does not work because the width is set to 100%. Actually, this looks like a bug in CF9&apos;s implementation OR in the CF9 docs.

The example has the format=&quot;html&quot; which SHOULD allow percentages, but it doesn&apos;t.

The CF9 cfgrid docs say &quot;In Flash and applet format, must be a number of pixels. In HTML format, can be in any valid CSS measurement unit, and a numeric-only value specifies pixels.
If you omit the attribute in Flash or HTML format; the grid sizes automatically.&quot;

You should probably just omit the width=&quot;&quot; or set autowidth=&quot;true&quot; .</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=264720D4-FF6E-E829-9AF5BC8B4080AE63</link>
		<dc:date>2010-05-25T13:03:34-05:00</dc:date>
		<dc:subject>Width problem in CFGrid example</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=5178EEE6-FF6E-E829-9AF151FAF60D1D62">
		<title>RE: MXUnit cannot find Application scope in V3 beta</title>
		<description>put an application.cfc in mxunit.framework. it works for me.

&lt;cfcomponent output=&quot;false&quot;&gt;
	&lt;!--- APPLICATION CFC PROPERTIES ---&gt;
	&lt;cfset this.name = &quot;ColdBoxTestingSuite&quot; &amp; hash(getCurrentTemplatePath())&gt; 
	&lt;cfset this.sessionManagement = true&gt;
	&lt;cfset this.sessionTimeout = createTimeSpan(0,0,30,0)&gt;
	&lt;cfset this.setClientCookies = true&gt;
&lt;/cfcomponent&gt;</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=5178EEE6-FF6E-E829-9AF151FAF60D1D62</link>
		<dc:date>2010-05-25T11:10:44-05:00</dc:date>
		<dc:subject>MXUnit cannot find Application scope in V3 beta</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=1A695C58-FF6E-E829-9AD313991DA0E0AC">
		<title>coldboxproxy: Double Execution from JS call</title>
		<description>coldboxproxy: Double Execution from JS call


A simplified version of what I ran into:

Create a coldboxproxy class:

/remote/MyProxy.cfc
[code]
&lt;cfcomponent name=&quot;MyProxy&quot; output=&quot;false&quot; extends=&quot;coldbox.system.remote.ColdboxProxy&quot; &gt;

	&lt;cffunction name=&quot;doAnything&quot; output=&quot;false&quot; access=&quot;remote&quot; returntype=&quot;any&quot; hint=&quot;Remote access for returning MyProxy&quot;&gt;
		&lt;cfargument name=&quot;passed_value&quot; required=&quot;true&quot; displayname=&quot;a_value&quot; hint=&quot;The passed value&quot; type=&quot;string&quot; &gt;

		&lt;cfset var temp = &quot;test of setting value&quot; + passed_value /&gt;
		
		&lt;cfreturn &gt;
	&lt;/cffunction&gt;
&lt;/cfcomponent&gt;
[/code]

Create a class that uses the proxy in JS, in this case a button that executes the JS

MyProxyUse.cfm
[code]
&lt;html&gt;
&lt;head&gt;
coldboxproxy class---&gt;
&lt;cfajaxproxy CFC=&quot;/remote/MyProxy&quot; jsclassname=&quot;theProxy&quot;&gt;
&lt;/head&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
	function onSave(button,event){
		// create an instance of the proxy
		var rproxy = new theProxy();
		// new record save with saveNew
		rproxy.doAnything(&apos;Do Anything&apos;);
	}
&lt;/script&gt;	

		&lt;input type=&quot;button&quot; value=&quot;Execute Proxy Call&quot; onClick=&quot;onSave()&quot;&gt;
&lt;/html&gt;

[/code]

Connected to the server in the debugger you will see two calls to the doAnything method from the coldboxproxy code for each single click on the button.</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=1A695C58-FF6E-E829-9AD313991DA0E0AC</link>
		<dc:date>2010-05-25T07:31:45-05:00</dc:date>
		<dc:subject>coldboxproxy: Double Execution from JS call</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=827AE3D5-FF6E-E829-9A71675981C08E27">
		<title>Coldbox 30.0. utilities</title>
		<description>Recently I looked into the utilities plugin just to explore. THere are some handy functions but I but have a few questions about their implementation:

It&apos;s about this cfc: coldbox.plugins.utilities

placeHolderReplacer():
var regex = &quot;\$\{([0-9a-z\-\.\_]+)\}&quot;;
Why not incorporate A-Z in the RegEx as well insteasd of only a-z?

readFile():
Why is there no locking here during file reading??

saveFile():
Why is there no locking here during file write?

Isn&apos;t it best practice to use name-based locking with all file operations?

Marc</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=827AE3D5-FF6E-E829-9A71675981C08E27</link>
		<dc:date>2010-05-22T08:42:36-05:00</dc:date>
		<dc:subject>Coldbox 30.0. utilities</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=50B23F05-FF6E-E829-9A22D0E7C0472F28">
		<title>Coldboxproxy duplicate proxy calls</title>
		<description>I have the following issue using a coldboxproxy call. My set up is as follows:

Cfgrid: loaded through proxy call, Onchange has no effect ( though mapped ) so that user can save mulitple edits not save each edit.
My save, delete and new buttons map to javascript functions that make coldboxproxy calls to perfrom their actions.

When any of the buttons are selected the following occurs
 1 call to the javascript function
 2 calls to the proxy cffunction executed from the coldboxproxy code.
 2 calls to the service layer functions.


I have followed the execution in debugger as well as added tracking in the javascript to ensure that the call from the JS is only being made once. Yet the coldboxproxy calls into the proxy class twice on each user-based execution. 
I don&apos;t want to dump all my code here ( and I&apos;m sure you don&apos;t want me to either) so I will post the bare bones of one of the methods. I am new to coldfusion and coldbox so I am sure it will be mis-use on my part but I have not been able to track it down as of yet. 
Any suggestions, observations and/or corrections welcome.

Simplifed code
RoleCFM.cfm
[code]
	&lt;cfajaxproxy CFC=&quot;/remote/RoleProxy&quot; jsclassname=&quot;roleProxy&quot;&gt;
	&lt;!--- ... ---&gt;	
	&lt;cfsavecontent variable=&quot;headContent&quot;&gt;
	var roleFunction = function()
    {
		// code that builds toolbar and adds buttons, I will just leave the delete
	        var gtbar = new Ext.Toolbar({
	        	renderTo: tbar,
	            items: [{
	                iconCls: &apos;delete&apos;,
	                tooltip:&quot;Delete Selected&quot;,
	                handler: function(){onDelete(this);}
	                }
	            ]
	        });
	        // set the paging toolbar to the bottom toolbar             
	};   
	&lt;!--- ... ---&gt;	

	/**
	 *
	 */
	function onDelete(){
		// retrieve the reference to the grid
		var grid = ColdFusion.Grid.getGridObject(&quot;RoleGrid&quot;);
		// retrieve the selected record from the selection model
		var record = grid.getSelectionModel().getSelected();
		// retrieve the role name from the record and  get confirmation from the user 
		var name = record.get(&apos;ROLE_NAME&apos;);
		var deleteConfirm=confirm(&quot;Delete: &quot; + name);
		// if the user confirms retrieve the proxy and execute the deletion from store and database
		if (deleteConfirm == true) {
			// retrieve role proxy so that database can be accessed
			var rproxy = new roleProxy();
			// execute the deletion through the proxy
			rproxy.deleteRole(record.get(&apos;ROLE_UID&apos;));
			// refresh the grid
			ColdFusion.Grid.refresh(&apos;RoleGrid&apos;, true);			
		}
	}
	&lt;/cfsavecontent&gt;
	&lt;!--- ... ---&gt;	
	&lt;cfform name=&quot;roleFrom&quot;  &gt;
		&lt;cfgrid  name=&quot;RoleGrid&quot; format = &quot;html&quot; onchange = &quot;cfc:/neptune/remote/RoleProxy.onChange({cfgridaction},{cfgridrow},cfgridchanged})&quot;
			   roleGrid_args.bind=&quot;cfc:/neptune/remote/RoleProxy.getRoles({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})&quot; 
			   selectmode=&quot;edit&quot; delete=&quot;true&quot; insert=&quot;true&quot;&gt;
					&lt;cfgridcolumn name=&quot;role_uid&quot; display=&quot;false&quot; &gt;
      				&lt;cfgridcolumn name=&quot;role_name&quot; header=&quot;Role Name&quot; width=&quot;300&quot;&gt;
      				&lt;cfgridcolumn name=&quot;description&quot; header=&quot;Description&quot; width=&quot;300&quot;&gt;
		&lt;/cfgrid&gt;
	&lt;cfhtmlhead text=&quot;#headContent#&quot; /&gt;
	&lt;!--- Method to load ajax on the page load ---&gt;
	&lt;cfset ajaxOnLoad(&quot;roleFunction&quot;)&gt;
[/code]


Here is the simplified proxy
RoleProxy.cfc
[code]

&lt;cfcomponent name=&quot;RoleProxy&quot; output=&quot;false&quot; extends=&quot;coldbox.system.remote.ColdboxProxy&quot; &gt;
&lt;!--- ... ---&gt;
&lt;cffunction name=&quot;deleteRole&quot; output=&quot;false&quot; access=&quot;remote&quot; returntype=&quot;any&quot; hint=&quot;Remote access for returning Roles&quot;&gt;
		&lt;cfargument name=&quot;role_uid&quot; required=&quot;true&quot; displayname=&quot;role_uid&quot; hint=&quot;The role id for retrieval&quot; type=&quot;string&quot; &gt;
		&lt;cfset var results = &quot;&quot;&gt;
		
		&lt;cfset arguments.event = &quot;&quot;&gt;

		&lt;cfset temp = getModel(&quot;RoleService&quot;).remove(role_uid) /&gt;
		
		&lt;cfreturn &gt;
&lt;/cffunction&gt;
[/code]


Here is the simplified service layer
RoleService.cfc
[code]
/**
* A service layer that handles all Role operations
*/
component output=&quot;false&quot; singleton {
	/**
	 *	 
	 */
	void function remove(roleID) output=false access=&quot;remote&quot;{
		transaction{
			// get Role
			var role = getRoleByID(roleID);
			if (not isNull(role.getRole_UID())) {
				entityDelete(role);
			}
		}
	}
}
[/code]</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=50B23F05-FF6E-E829-9A22D0E7C0472F28</link>
		<dc:date>2010-05-21T09:30:30-05:00</dc:date>
		<dc:subject>Coldboxproxy duplicate proxy calls</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=4EDA6B78-FF6E-E829-9A168AA373FB1956">
		<title>changes from M4 to M5 release?</title>
		<description>Hi,

is there a link to the changes from M4 to M5 release? I get a message lanlog or something not found in component  when upgrading.</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=4EDA6B78-FF6E-E829-9A168AA373FB1956</link>
		<dc:date>2010-05-21T08:38:57-05:00</dc:date>
		<dc:subject>changes from M4 to M5 release?</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=DFEBDD02-FF6E-E829-9A1DE419190F3DCB">
		<title>Coldbox after CF9 upgrade issue</title>
		<description>Something strange has happened to one of our websites using Coldbox after we upgrade to CF9. I now get the error message below. however all mapping are the same and other CB sites on the same server works.

the error is looking for  layoutHome but i dont use layoutHome.cfm and have no idea where it is getting this from and there is not reference in my code to this file. its also just ignoring my handler etc the coldbox config is poting to the right default event. nothing has changed other than a CF9 updrade. 

anyone got an idea why? thanks :)  
[code]
Application Execution Exception
Error Type: MissingInclude : [N/A]
Error Messages: Could not find the included template //layouts/layoutHome.cfm.
Note: If you wish to use an absolute template path (for example, template=&quot;/mypath/index.cfm&quot;) with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc.
Using relative paths (for example, template=&quot;index.cfm&quot; or template=&quot;../index.cfm&quot;) does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.
[/code]</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=DFEBDD02-FF6E-E829-9A1DE419190F3DCB</link>
		<dc:date>2010-05-19T04:56:59-05:00</dc:date>
		<dc:subject>Coldbox after CF9 upgrade issue</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=67DD8141-FF6E-E829-9AE7A3C6DDD4485C">
		<title>RE: ForgeBox Module and 3.0M5</title>
		<description>Si is correct.


[code]
modelMappings = {};
modelMappings[&quot;forgeService@forgebox&quot;] = {path = &quot;ForgeService&quot;};
[/code]

Will give you the same result without tripping over CF9 specific code.</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=67DD8141-FF6E-E829-9AE7A3C6DDD4485C</link>
		<dc:date>2010-05-18T09:41:32-05:00</dc:date>
		<dc:subject>ForgeBox Module and 3.0M5</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=B39660DB-FF6E-E829-9A0BAA48685883CB">
		<title>Modules and Coldspring</title>
		<description>I would like to keep the coldspring definition for my modules separate from the parent application. Is it possible to do this? I don&apos;t see IOC has part of the moduleConfig. What is the best practice for this?</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=B39660DB-FF6E-E829-9A0BAA48685883CB</link>
		<dc:date>2010-05-18T08:17:17-05:00</dc:date>
		<dc:subject>Modules and Coldspring</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=67DD8141-FF6E-E829-9AE7A3C6DDD4485C">
		<title>RE: ForgeBox Module and 3.0M5</title>
		<description>It&apos;s coldfusion 9 isn&apos;t it!?</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=67DD8141-FF6E-E829-9AE7A3C6DDD4485C</link>
		<dc:date>2010-05-18T05:37:50-05:00</dc:date>
		<dc:subject>ForgeBox Module and 3.0M5</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=F0E9F6B6-FF6E-E829-9AAD6AB0C1BC3C67">
		<title>RE: lightwire not resolving property setters</title>
		<description>Found what the issue was.
There is a difference in the way CS and LB work. Quite a big one. For CB if you have a function called setName, in the configxcml you say
[code]
&lt;bean...
    &lt;property name=&quot;name&quot;&gt;&lt;value&gt;Bob&lt;/value&gt;&lt;/property&gt;
[/code]

In the setName function the arg can called be called anything.

For lightbox the argument in the function MUST also be called name. which means you would have to go through all your code and change the argument names. Yuk!

I modified the version of lightbox.cfc that comes with 2.6.4.Its just the one function that sets properties.

Basiically it uses positional rather than named argument resolution if the function only has 1 argument.
 
[code]
	&lt;!--- Invoker Mixin ---&gt;
	&lt;cffunction name=&quot;invoker&quot; hint=&quot;calls private/packaged/public methods&quot; access=&quot;private&quot; returntype=&quot;any&quot; output=&quot;false&quot; &gt;
		&lt;!--- ************************************************************* ---&gt;
		&lt;cfargument name=&quot;object&quot; 		 type=&quot;any&quot; 	required=&quot;true&quot;	 hint=&quot;The object to call a method on&quot;&gt;
		&lt;cfargument name=&quot;method&quot; 		 type=&quot;string&quot;  required=&quot;true&quot;  hint=&quot;Name of the private method to call&quot;&gt;
		&lt;cfargument name=&quot;argCollection&quot; type=&quot;struct&quot;  required=&quot;false&quot; hint=&quot;Can be called with an argument collection struct&quot;&gt;
		&lt;cfargument name=&quot;argList&quot; 		 type=&quot;string&quot;  required=&quot;false&quot; hint=&quot;Can be called with an argument list, for simple values only: ex: &apos;plugin=logger,number=1&apos;&quot;&gt;
		&lt;!--- ************************************************************* ---&gt;
		&lt;cfset var results = &quot;&quot;&gt;
		&lt;cfset var key = &quot;&quot;&gt;
		&lt;cfset var l = {}&gt;
		&lt;cfset var objMetaData = getMetaData(arguments.object)&gt;

		&lt;!--- get meta data for the function ---&gt;
		&lt;cfloop from=&quot;1&quot; to=&quot;#arrayLen(objMetaData.functions)#&quot; index=&quot;l.i&quot;&gt;
			&lt;cfset l.funcMeta = objMetaData.functions[l.i]&gt;
			&lt;cfif compareNoCase(l.funcMeta.name,arguments.method) eq 0&gt;
				&lt;cfbreak&gt;
			&lt;/cfif&gt;
		&lt;/cfloop&gt;
		
		&lt;!--- Determine type of invocation ---&gt;
		&lt;cfif structKeyExists(arguments,&quot;argCollection&quot;)&gt;

			&lt;cfif arrayLen(l.funcMeta.parameters) eq 1&gt;
				&lt;!--- effectively positional for 1 arg---&gt;
				&lt;cfinvoke component=&quot;#arguments.object#&quot;
				  method=&quot;#arguments.method#&quot; 
				  returnvariable=&quot;results&quot;&gt;
					&lt;cfinvokeargument name=&quot;#l.funcMeta.parameters[1].name#&quot; value=&quot;#argCollection[listFirst(structKeyList(argCollection))]#&quot;&gt;
				&lt;/cfinvoke&gt;
			&lt;cfelse&gt;
				&lt;cfinvoke component=&quot;#arguments.object#&quot;
					  method=&quot;#arguments.method#&quot; 
					  returnvariable=&quot;results&quot; 
					  argumentcollection=&quot;#arguments.argCollection#&quot; /&gt;
			&lt;/cfif&gt;
			
		&lt;cfelseif structKeyExists(arguments, &quot;argList&quot;)&gt;
		
			&lt;cfif arrayLen(l.funcMeta.parameters) eq 1&gt;
				&lt;!--- effectively positional for 1 arg---&gt;
				&lt;cfinvoke component=&quot;#arguments.object#&quot;
				  method=&quot;#arguments.method#&quot; 
				  returnvariable=&quot;results&quot;&gt;
					&lt;cfinvokeargument name=&quot;#l.funcMeta.parameters[1].name#&quot; value=&quot;#listLast(listFirst(argList),&apos;=&apos;)#&quot;&gt;
				&lt;/cfinvoke&gt;
			&lt;cfelse&gt;
				&lt;cfinvoke component=&quot;#arguments.object#&quot;
					  method=&quot;#arguments.method#&quot; 
					  returnvariable=&quot;results&quot;&gt;
					&lt;cfloop list=&quot;#argList#&quot; index=&quot;key&quot;&gt;
						&lt;cfinvokeargument name=&quot;#listFirst(key,&apos;=&apos;)#&quot; value=&quot;#listLast(key,&apos;=&apos;)#&quot;&gt;
					&lt;/cfloop&gt;
				&lt;/cfinvoke&gt;
			&lt;/cfif&gt;
					
		&lt;cfelse&gt;
			&lt;cfinvoke component=&quot;#arguments.object#&quot;
					  method=&quot;#arguments.method#&quot; 
					  returnvariable=&quot;results&quot; /&gt;
		&lt;/cfif&gt;
		
		&lt;!--- Return results if Found ---&gt;
		&lt;cfif isDefined(&quot;results&quot;)&gt;
			&lt;cfreturn results&gt;
		&lt;/cfif&gt;
	&lt;/cffunction&gt;

[/code]</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=F0E9F6B6-FF6E-E829-9AAD6AB0C1BC3C67</link>
		<dc:date>2010-05-15T10:19:23-05:00</dc:date>
		<dc:subject>lightwire not resolving property setters</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=F0E9F6B6-FF6E-E829-9AAD6AB0C1BC3C67">
		<title>lightwire not resolving property setters</title>
		<description>I have 2.6.4 version of cb on cf 8.

I have the very annoying issue of lightwire not executing property setters.

My bean config is a small coldspring file with one bean def.

[code]
&lt;bean id=&quot;adesBean&quot; class=&quot;components.Ades&quot; singleton=&quot;true&quot; &gt;
	&lt;property name=&quot;prop1&quot;&gt;&lt;value&gt;bob&lt;/value&gt;&lt;/property&gt;
&lt;/bean&gt;
[code]

on the component there is a setProp1 function that sets this.prop1 = arguments.prop1.

I get the component like..
[code]
iocObj = getPlugin(&quot;ioc&quot;).getIocFactory();
aobj = iocObj.getBean(&quot;adesBean&quot;);
...
&lt;cfdump var=&quot;#aobj#&quot;&gt;&lt;cfabort&gt;
[/code]

In the above this.prop1 is never set. Even if i put in an abort it never executes.

I am using a coldbox settings file that was defined initially for 2.6.0.
[code]
&lt;Setting name=&quot;IOCFramework&quot;				value=&quot;lightwire&quot; /&gt;
		&lt;!--IOC Definition File Path, relative or absolute --&gt;
&lt;Setting name=&quot;IOCDefinitionFile&quot;			value=&quot;config/beans.xml.cfm&quot; /&gt;
		
&lt;Setting name=&quot;IOCObjectCaching&quot;			value=&quot;false&quot; /&gt;
[/code]

Any ideas would be muchly appreciated.

It defeinetly calls constructors and does settings replacement.</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=F0E9F6B6-FF6E-E829-9AAD6AB0C1BC3C67</link>
		<dc:date>2010-05-14T13:33:20-05:00</dc:date>
		<dc:subject>lightwire not resolving property setters</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=210A04F8-FF6E-E829-9A6F0C32FDCEB80F">
		<title>RE: Converting Existing Applications</title>
		<description>I would also be interested in anyone had any experience using legacy code in the middle of a refactor job to Coldbox.</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=210A04F8-FF6E-E829-9A6F0C32FDCEB80F</link>
		<dc:date>2010-05-13T18:48:18-05:00</dc:date>
		<dc:subject>Converting Existing Applications</dc:subject>
		</item>
	
	
		<item rdf:about="http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=210A04F8-FF6E-E829-9A6F0C32FDCEB80F">
		<title>RE: Converting Existing Applications</title>
		<description>1. Document everything.  Get a good spec.

2. Setup a conversion plan to migrate fast enough so that you don&apos;t have to make many (if any) new changes.</description>
		<link>http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&amp;threadid=210A04F8-FF6E-E829-9A6F0C32FDCEB80F</link>
		<dc:date>2010-05-13T18:47:33-05:00</dc:date>
		<dc:subject>Converting Existing Applications</dc:subject>
		</item>
	
	
</rdf:RDF>
