Re: New CF8 vulnerability

2009-07-10 Thread Tom Chiverton

On Thursday 09 Jul 2009, Dawson, Michael wrote:
 I don't see your particular update level, but I do see an update level
 that is earlier than 77218.

Cool. I cc'ed Adam so at least Adobe and Google now know :-)

-- 
Helping to advantageously foster eligible guinine mindshares as part of the IT 
team of the year, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.co

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324420
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Ext Js 3.0 Released

2009-07-10 Thread Cutter (ColdFusion Related)

Ext Js 3.0 is highlighted in the top section of their homepage right 
now. The separation of products is easiest found from the Products menu 
item on the site. They are separate products, though Core is at the core 
of Ext Js itself, with the rest of the library being built on top of it.

Themeroller does look very sharp. I'll have to drop a note to the Ext 
team to check it out. There are many themes available within the 
learning center and the forums, but nothing this tight to show you your 
options.

Judah McAuley wrote:
 I'll have to take a look at Ext again as well. We bought a license to
 get at svn a bit before the 3.0 beta release at the April conference.
 At that point, at least, there had been no substantial themeing
 changes and all that they were really releasing was Core. It isn't
 obvious from the site now if anything besides Core has been released.
 Perhaps it is just confusion though. When they released 3.0 Core, I
 expected there to be a follow up with 3.0 Other Bits. Have they rolled
 it back into one project? Is there no separation between Core
 and...other stuff?

 Do check out the themeroller for JQueryUI. You can do a lot of on the
 fly skinning for people with different color look/feels without having
 to change any images at all and that is huge for rolling out
 multi-customer websites.

 Judah

 On Thu, Jul 9, 2009 at 2:37 PM, Cutter
 (ColdFusion)cold.fus...@cutterscrossing.com wrote:
   
 You're looking at the wrong bits. Ext Core is the same thing as JQuery,
 a DOM manipulation and Ajax setup. Ext Js (full) would be the components
 (similar to JQueryUI, though more full featured).

 Theming does require a log of images. With the various controls we've
 customized, I know I've had to change about 30. Spket can help, doing
 the entire library, if you're theming only entails color differences.

 I've never seen (or heard) of the themeroller engine for JQueryUI. I'll
 take a look at it.

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
 http://blog.cutterscrossing.com


 On 7/9/2009 12:48 PM, Judah McAuley wrote:
 
 I'll take a look again but Ext Core did not seem to have much of
 anything in the way of themeing options that didn't still require 101
 images. And given that a lot of the widgets were pulled out of Ext
 Core and have yet to be upgraded..I'm dubious.

 JQuery UI has the themeroller engine. I'm still amazing impressed by
 it. I really love the way that Ext is engineered but until it has
 something similar to themeroller, it really isn't skinable in the
 way that people are going to expect.

 Judah

 On Thu, Jul 9, 2009 at 8:58 AM, Cutter
 (ColdFusion)cold.fus...@cutterscrossing.com  wrote:

   
 Theming is much easier, as they've broken down the CSS by component
 within the build files. There have been multiple themes available via
 the forums and learning center of the Ext site for quite a while, and
 the Spket IDE (http://www.spket.com/) has a custom theming tool built in
 as well.

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _

 
   
 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324421
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


script.js file inside cfoutput

2009-07-10 Thread RamaDevi Dobbala

hi frnds,

i have a problem

like 
cfoutput
.
.
.Here i have my date field,
where i have to insert .js file, where ever i am insert it is not taking the 
file
i am calling js function like this javascript:showID(..)
error is this 

ColdFusion was looking at the following text:

javascript
.
.
.
/cfoutput


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324422
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: script.js file inside cfoutput

2009-07-10 Thread Francois Levesque

That's not much to work with, but my guess would be that you have an opening
hash sign (#) before your javascript call and that's throwing ColdFusion
off. Whenever you want to display a hash sign between cfoutput tags you
need to escape it like so:
This would throw an error:
cfoutput
a href=#anchorGo to this section/a
/cfoutput

This would not:
cfoutput
a href=##anchorGo to this section/a
/cfoutput

Francois Levesque
http://blog.critical-web.com/


On Fri, Jul 10, 2009 at 8:15 AM, RamaDevi Dobbala ramadobb...@gmail.comwrote:


 hi frnds,

 i have a problem

 like
 cfoutput
 .
 .
 .Here i have my date field,
 where i have to insert .js file, where ever i am insert it is not taking
 the file
 i am calling js function like this javascript:showID(..)
 error is this

 ColdFusion was looking at the following text:

 javascript
 .
 .
 .
 /cfoutput


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324423
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Database Security

2009-07-10 Thread Tom Chiverton

On Tuesday 30 Jun 2009, Byte Me wrote:
 the staff maintain the website. From a security standpoint, does it make
 any difference if I create one database connection and call my queries as
 follows or would this be more secure (three separate connections):

With a single connection connecting to multiple databases, there is a greater 
chance a single SQL injection will be able to reach everything.

-- 
Helping to paradigmatically revolutionize enterprise communities as part of 
the IT team of the year, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.co

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324424
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


SOT: Front-Page Extension a problem on a server running CF8?

2009-07-10 Thread Rick Faircloth

Hi, all.

 

I've got a client that's building their own site and wants me to host it for
them.

They need FrontPage Extensions installed for their site to operate properly.

I've never used them so I have no experience with FrontPage Extensions.

 

Any problem installing them with CF8, IIS7 that anyone is aware of?

 

Thanks,

 

Rick

 


--

Ninety percent of the politicians give the other ten percent a bad
reputation.  - Henry Kissinger

 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324425
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Using SWFOBJECT inside of a CFLAYOUT

2009-07-10 Thread Cutter (ColdFusion)

Check out 
http://extjs.com/forum/showthread.php?t=23983highlight=swfobject+flash 
http://extjs.com/forum/showthread.php?t=23983highlight=swfobject+flash

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/9/2009 9:21 PM, Abinidi Web Services wrote:
 I am trying to use the swfobject.js from google in a page that is loading a 
 flash swf file that is nested inside of a Cflayout/cflayoutarea. The page is 
 the source for the cflayoutarea.

 When I try to include the code to load the swfobject.js file in the page that 
 is nested:

 script type=text/javascript src=swfobject/swfobject.js/script

 It throws an error.

 If I try to include it in the parent page that has the cflayout code on it, 
 no error, but the swf file doesnt load.

 If I just make a test page not nested in the cflayout, it works fine.

 I am also doing:cfajaximport tags=cfwindow,cfform,cftooltip,cfdiv   on 
 the cflayout main page so it can load stuff for the nested source pages. This 
 is what it is having a conflict with.

 Basically I have:
 page1.cfm

 cflayout type=tab name=user_upload_layout tabposition=top

  cflayoutarea name=tab1 title=Image Uploads 
 source=page2.cfm?upld_folder=#upld_folder# 
 selected=#isDefined('url.tab1')#
   /cflayoutarea
cflayoutarea name=tab2 title=Upload via Zip file 
 source=page3.cfm?zip_folder=#zip_folder# selected=#isDefined('url.tab2')#
   /cflayoutarea
 /cflayout


 and on the page2.cfm I have:

   script type=text/javascript
  var params = {
  BGColor: ##FF
  };

  var attributes = {
  id: FlashFilesUpload,
  name: FlashFilesUpload
  };

  var flashvars = {
uploadUrl : upload_image.cfm,
customPostFields : foldername;#url.upld_folder#,
backgroundColor : ##FF
  };
  swfobject.embedSWF(uploader.swf, Upload_holder, 450, 350, 
 9.0.0, expressInstall.swf, flashvars, params, attributes);
 /script

   I need it to be able to call this function:

 swfobject.embedSWF but I cant get the js to load properly


 Does anyone know of a workaround to get this to work? Does CF8 have anything 
 built in that will do the same as swfobject and not conflict? Maybe im doing 
 it wrong?

 The main reason I'm doing this is the swf isn't working right if I use the 
 EMBED method of loading flash swf in firefox but it is working fine on the 
 test page if I use the swfobject. And its a 3rd party app with zero help.

 Thanks.

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324426
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF8 Developer Edition and CFTHREAD

2009-07-10 Thread Alan Rother

Hey All,
Anyone know offhand if the CFTHREAD limitation on two concurrent threads
found in the standard edition of CF8 is also in the developer edition?

I'm building something for one of our CF8 Enterprise servers on my desktop
and the threaded process seems as equally slow as the non-threaded
process... If not, then I need to check for other bottlenecks in the
process.

I'm know that in CF8 standard, the server will only process 2 CFTHREADs at a
time (it's an intentional limitation designed to push you to purchase Ent),
but it's that also in the developer edition...

http://www.adobe.com/products/coldfusion/pdfs/cf8_featurecomp.pdf

http://www.adobe.com/products/coldfusion/pdfs/cf8_featurecomp.pdf=]

-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324427
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread heath stein

I have set up a call to a cfc with as3. I have tested this on a cf mx server 
and it worked fine. Now I am trying to get it to work on a cf8 server and I'm 
having no luck.

It returns a null value every time. I can actually change the name of the 
method of the call to anything and I get the same result. Just returns null 
with no errors. 

If I change the name of the to the cfc in the call then it throws an error.

ERROR:

Service com.testCFC.testReturn not found.
Server.ResourceNotFound
error
 _


As3 Code:

import flash.net.NetConnection;
import flash.net.Responder;
 

var myService = new NetConnection();


myService.connect(http://localhost/flashservices/gateway;);

var responder:Responder=new Responder(onResult,onFault);

 function onResult(responder:Object):void {
trace('LOADED');
trace(responder);
}


 function onFault(responder:Object):void {
var i=0;
for (i in responder) {
trace(responder[i]);
//ect.
}
}


myService.call(com.testCFC.testReturn,responder);




If any one has run in to this issue, your help would be very appreciated,
Heath Stein



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324428
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF8 Developer Edition and CFTHREAD

2009-07-10 Thread Azadi Saryev

dev edition is enterprise limited to only 2 ip addresses


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/


On 11/07/2009 00:14, Alan Rother wrote:
 Hey All,
 Anyone know offhand if the CFTHREAD limitation on two concurrent threads
 found in the standard edition of CF8 is also in the developer edition?
 
 I'm building something for one of our CF8 Enterprise servers on my desktop
 and the threaded process seems as equally slow as the non-threaded
 process... If not, then I need to check for other bottlenecks in the
 process.
 
 I'm know that in CF8 standard, the server will only process 2 CFTHREADs at a
 time (it's an intentional limitation designed to push you to purchase Ent),
 but it's that also in the developer edition...
 
 http://www.adobe.com/products/coldfusion/pdfs/cf8_featurecomp.pdf
 
 http://www.adobe.com/products/coldfusion/pdfs/cf8_featurecomp.pdf=]
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324429
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread Azadi Saryev

iirc, you have to edit web.xml and un-comment the flash remoting section
of the code there... i may be wrong since i do not use flash remoting
much...


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/


On 11/07/2009 00:47, heath stein wrote:
 I have set up a call to a cfc with as3. I have tested this on a cf mx server 
 and it worked fine. Now I am trying to get it to work on a cf8 server and I'm 
 having no luck.
 
 It returns a null value every time. I can actually change the name of the 
 method of the call to anything and I get the same result. Just returns null 
 with no errors. 
 
 If I change the name of the to the cfc in the call then it throws an error.
 
 ERROR:
 
 Service com.testCFC.testReturn not found.
 Server.ResourceNotFound
 error
  _
 
 
 As3 Code:
 
 import flash.net.NetConnection;
 import flash.net.Responder;
  
 
 var myService = new NetConnection();
 
   
   myService.connect(http://localhost/flashservices/gateway;);
   
 var responder:Responder=new Responder(onResult,onFault);
 
function onResult(responder:Object):void {
   trace('LOADED');
   trace(responder);
   }
 
 
function onFault(responder:Object):void {
   var i=0;
   for (i in responder) {
   trace(responder[i]);
   //ect.
   }
   }
   
   
 myService.call(com.testCFC.testReturn,responder);
 
 
 
 
 If any one has run in to this issue, your help would be very appreciated,
 Heath Stein
 
   
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324430
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF8 Developer Edition and CFTHREAD

2009-07-10 Thread Dave Watts

 Anyone know offhand if the CFTHREAD limitation on two concurrent threads
 found in the standard edition of CF8 is also in the developer edition?

My understanding is that there is no difference between Enterprise and
Developer with regard to CFTHREAD.

If you have a spare Enterprise license laying around, you could plug
the number in for a minute and see if there's any difference.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324431
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread heath stein

Here are my config settings for web.xml and gateway-config.xml. I think 
everything is configured correctly.


Web.xml


servlet id=coldfusion_servlet_11
servlet-nameFlashGateway/servlet-name
display-nameFlash Gateway/display-name
descriptionAllows flash to connect to CFML and CFC 
templates./description
servlet-classcoldfusion.bootstrap.BootstrapServlet/servlet-class
init-param id=InitParamdca
param-nameDISABLE_CFWS_ADAPTERS/param-name
param-valuefalse/param-value
descriptionWhen set to true, this setting disables the ColdFusion 
WebServices Adapters in the
gateway./description
/init-param
init-param
param-nameDISABLE_SERVER_AUTHENTICATION/param-name
param-valuefalse/param-value
descriptionWhen set to true, this setting disables the server 
authentication of users./description
/init-param
init-param id=InitParam_103401311064890
param-nameservlet.class/param-name
param-valueflashgateway.controller.GatewayServlet/param-value
/init-param
init-param id=InitParam_1034013110642x
param-namecfRootDir/param-name
param-value./WEB-INF/cfusion/param-value
/init-param
init-param
param-namegateway.configuration.file/param-name
param-value/WEB-INF/gateway-config.xml/param-value
/init-param
init-param
param-namewhitelist.configuration.file/param-name
param-value/WEB-INF/gateway-config.xml/param-value
/init-param
init-param
param-namewhitelist.parent.node/param-name
param-valuegateway-config/param-value
/init-param
init-param id=InitParam_1034013110643a
param-nameappServer/param-name
param-valueJ2EE/param-value
/init-param
load-on-startup11/load-on-startup
/servlet


___
gateway-config
___


gateway-config xmlns=http://www.macromedia.com/2004/gateway-config;


service-adapters

adapterflashgateway.adapter.resultset.PageableResultSetAdapter/adapter
adaptercoldfusion.flash.adapter.ColdFusionAdapter/adapter
adaptercoldfusion.flash.adapter.CFCAdapter/adapter
adaptercoldfusion.flash.adapter.CFSSASAdapter/adapter
!--adapter 
type=stateful-classflashgateway.adapter.java.JavaBeanAdapter/adapter--
!--adapter 
type=stateless-classflashgateway.adapter.java.JavaAdapter/adapter--
!--adapter 
type=ejbflashgateway.adapter.java.EJBAdapter/adapter--
!--adapter 
type=servletflashgateway.adapter.java.ServletAdapter/adapter--
  adaptercoldfusion.flash.adapter.CFWSAdapter/adapter
/service-adapters 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324432
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread Paul Kukiel

Did you enable mappings in the remoting-config.xm file?  Also does  
the mapping exist?  By default its off.

Paul


On 10/07/2009, at 1:47 PM, heath stein wrote:


 I have set up a call to a cfc with as3. I have tested this on a cf  
 mx server and it worked fine. Now I am trying to get it to work on  
 a cf8 server and I'm having no luck.

 It returns a null value every time. I can actually change the name  
 of the method of the call to anything and I get the same result.  
 Just returns null with no errors.

 If I change the name of the to the cfc in the call then it throws  
 an error.

 ERROR:

 Service com.testCFC.testReturn not found.
 Server.ResourceNotFound
 error
  _


 As3 Code:

 import flash.net.NetConnection;
 import flash.net.Responder;


 var myService = new NetConnection();

   
   myService.connect(http://localhost/flashservices/gateway;);
   
 var responder:Responder=new Responder(onResult,onFault);

function onResult(responder:Object):void {
   trace('LOADED');
   trace(responder);
   }


function onFault(responder:Object):void {
   var i=0;
   for (i in responder) {
   trace(responder[i]);
   //ect.
   }
   }
   
   
 myService.call(com.testCFC.testReturn,responder);




 If any one has run in to this issue, your help would be very  
 appreciated,
 Heath Stein

   

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324433
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread heath stein

Did you enable mappings in the remoting-config.xm file?  Also does  
the mapping exist?  By default its off.

Paul


On 10/07/2009, at 1:47 PM, heath stein wrote:



Paul, I have enabled mapping in the flex/remoting-config.xml file. I have set 
up a mapping in the CF Admin, But not in the flex/remoting-config.xml file. Do 
I need to set up mapping in the flex/remoting-config.xml file? If so what is 
the xml tags needed.

Also this is strange but it doesn't throw any error just returns null. Is that 
a usual  response if flash remoting is not configured properly?

Thanks for the Help

Heath 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324434
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


How to make CF 8.0 and IIS6 respond to OPTIONS method

2009-07-10 Thread cftalk

Hello,

 

If you want CF to respond to a cross domain XHR request in Firefox 3.5 and
IE8 (I'm not too sure about the IE8 implementation), preflighted requests
may be required. Meaning an OPTIONS method is used to request Access Control
headers from the remote server (The CF server) that indicate if the request
can continue. This is explained really well here:

https://developer.mozilla.org/En/Server-Side_Access_Control

 

In PHP/Apache, you could craft the header response as shown here:

https://developer.mozilla.org/en/HTTP_access_control

 

 

But I can not get IIS 6.0 on Win2003 Server to pass a request (with the
OPTIONS method) to CF. The CF Mapping in IIS is set to 'all verbs', But CF
never gets the request. IIS responds with the default headers. How do I get
CF to handle the request so I can dynamically craft the headers to return?

 

Brook Davies

 

 

 

 




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324435
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion 8 Flash Remoting Issue

2009-07-10 Thread Paul Kukiel

You should just need to change:

use-mappingstrue/use-mappings

to:

use-mappingstrue/use-mappings

I can't be 100% but I think I needed to restart ColdFusion.

My flex-remoting.xml with the default ColdFusion destination looks  
like this:

  destination id=ColdFusion
 channels
 channel ref=my-cfamf/
 /channels
 properties
 source*/source
 !-- define the resolution rules and access level of the  
cfc being invoked --
 access
 !-- Use the ColdFusion mappings to find CFCs, by  
default only CFC files under your webroot can be found. --
 use-mappingstrue/use-mappings
 !-- allow public and remote or just remote  
methods to be invoked --
 method-access-levelremote/method-access-level
 /access

 property-case
 !-- cfc property names --
 force-cfc-lowercasefalse/force-cfc-lowercase
 !-- Query column names --
 force-query-lowercasefalse/force-query-lowercase
 !-- struct keys --
 force-struct-lowercasefalse/force-struct-lowercase
 /property-case
 /properties
 /destination

Paul


On 10/07/2009, at 8:34 PM, heath stein wrote:


 Did you enable mappings in the remoting-config.xm file?  Also does
 the mapping exist?  By default its off.

 Paul


 On 10/07/2009, at 1:47 PM, heath stein wrote:



 Paul, I have enabled mapping in the flex/remoting-config.xml file.  
 I have set up a mapping in the CF Admin, But not in the flex/ 
 remoting-config.xml file. Do I need to set up mapping in the flex/ 
 remoting-config.xml file? If so what is the xml tags needed.

 Also this is strange but it doesn't throw any error just returns  
 null. Is that a usual  response if flash remoting is not configured  
 properly?

 Thanks for the Help

 Heath

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324436
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4