cfgrid displaying data
Hi Frnds, My problem is i am displaying my query data through cfgrid,i am able to display but problem is in the same page i have print option for that data, in that data is not coming completly(firefox browser) and if my browser is IE even that some of the data is not coming why? Rama ~| 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:325177 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Form in CFWINDOW - currently CHEATING to get parent to refresh...
Nicholas, Using cfwindow, he is actually using a modal window for his edits, not a popup. As his data is not in cfgrid, but a custom layout, my advice would be to contain all of the logic of that layout (including sql call for data) in it's own template. Use the Coldfusion.navigate previously mentioned to handle updating the db, then use the callback to call that template to update the region. JQuery would be a good option here. -- 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 ~| 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:325178 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Decipher CFLDAP date values
http://cflib.org/udf/convertActiveDirectoryTime _ From: Dave Phillips [mailto:experiencedcfdevelo...@gmail.com] Sent: Fri 7/31/2009 10:34 PM To: cf-talk Subject: RE: Decipher CFLDAP date values Wally, I don't know if you figured this out yet or not, but using this page: http://techtasks.com/code/viewbookcode/1607 And trying to convert that code to ColdFusion, I think I'm close, but not quite there. Here's what I have, maybe with this, you can figure it out (I don't know what the correct date/time stamp actually is: cfset sLDAPDate = 128922162522263907 cfset iLogonTime = left(sLDAPDate,4) * (2^32) + right(sLDAPDate,4) cfset iLogonTime = iLogonTime / (60 * 1000) cfset iLogonTime = iLogonTime / 1440 cfset iLogonTime = iLogonTime + createDateTime(1601,1,1,0,0,0) cfoutput#dateFormat(iLogonTime, dd, )# #timeFormat(iLogonTime,hh:mm:ss)#/cfoutput Dave Phillips ~| 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:325179 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Matching Up Data From 2 Queries
Hi, I'm stumped on how to match data from 2 queries. What is the best way? Here's the situation Query A -- CFQUERY NAME=qSSR DATASOURCE=#DSN# SELECT #ssr_tablename#.mat_grp, #ssr_tablename#.plant, sloc, mat_id, mat_desc, valuated_stock_unrestricted, rounding_value, rop, format, SUM(PO_Qty) as po_qty FROM #ssr_tablename# INNER JOIN #tablename# ON (#ssr_tablename#.plant = #tablename#.plant) WHERE (#ssr_tablename#.mat_id = #tablename#.matnum) AND #ssr_tablename#.plant IN ('SI**', 'SI**') GROUP BY mat_id order by #ssr_tablename#.plant, mat_id /CFQUERY QueryB --- CFQUERY NAME=qUsage7 DATASOURCE=#DSN# SELECT count(distinct mdoc) AS Usage7, matnum, postdate FROM table1 INNER JOIN #ssr_tablename# ON (table1.matnum = #ssr_tablename#.mat_id) where plant IN ('SI**', 'SI**') and mvt = '201' and DATE_SUB(CURDATE(),INTERVAL 7 DAY) = postdate GROUP BY matnum order by plant; /CFQUERY Output For QueryA * cfloop query=qSSR tr bgcolor=###iif(currentrow MOD 2,DE('ff'),DE('efefef'))# cfloop index=f list=#ssr_fields# cfset bg=ff td align=rightcfif evaluate(#f#) eq OR left(trim(evaluate(#f#)),1) eq 0nbsp;/cfif#trim(evaluate(#f#))#/td /cfloop /tr /cfloop Basically, during the loop of queryA I want it to, if it finds a match, to output from QueryB or else just leave blank and move on to the next row... Should this be done before hand in a query so all I have to do is output the query data or can this be done on the backend via the CF page? Thanks as always for your time and response(s)... ~| 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:325180 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Matching Up Data From 2 Queries
you could run a QoQ inside a loop of queryA, or, since it looks like both queries have at least one column in common, use one original query to pull all the data, then do a cfoutput with GROUP attribute. it's hard to suggest anything more specific since your code is so very non-specific. and do you really need to use evaluate() function there? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 03/08/2009 23:58, patrick buch wrote: Hi, I'm stumped on how to match data from 2 queries. What is the best way? Here's the situation Query A -- CFQUERY NAME=qSSR DATASOURCE=#DSN# SELECT #ssr_tablename#.mat_grp, #ssr_tablename#.plant, sloc, mat_id, mat_desc, valuated_stock_unrestricted, rounding_value, rop, format, SUM(PO_Qty) as po_qty FROM #ssr_tablename# INNER JOIN #tablename# ON (#ssr_tablename#.plant = #tablename#.plant) WHERE (#ssr_tablename#.mat_id = #tablename#.matnum) AND #ssr_tablename#.plant IN ('SI**', 'SI**') GROUP BY mat_id order by #ssr_tablename#.plant, mat_id /CFQUERY QueryB --- CFQUERY NAME=qUsage7 DATASOURCE=#DSN# SELECT count(distinct mdoc) AS Usage7, matnum, postdate FROM table1 INNER JOIN #ssr_tablename# ON (table1.matnum = #ssr_tablename#.mat_id) where plant IN ('SI**', 'SI**') and mvt = '201' and DATE_SUB(CURDATE(),INTERVAL 7 DAY) = postdate GROUP BY matnum order by plant; /CFQUERY Output For QueryA * cfloop query=qSSR tr bgcolor=###iif(currentrow MOD 2,DE('ff'),DE('efefef'))# cfloop index=f list=#ssr_fields# cfset bg=ff td align=rightcfif evaluate(#f#) eq OR left(trim(evaluate(#f#)),1) eq 0nbsp;/cfif#trim(evaluate(#f#))#/td /cfloop /tr /cfloop Basically, during the loop of queryA I want it to, if it finds a match, to output from QueryB or else just leave blank and move on to the next row... Should this be done before hand in a query so all I have to do is output the query data or can this be done on the backend via the CF page? Thanks as always for your time and response(s)... ~| 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:325181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Session failure in IE8 on Clustered cf environment
I am using a simple app to test session replication and failover on CF8. When using Chrome, FireFox, or Safari everything works correctly. However IE8 fails on every call to recognize it has a session (see more details below the code clips) The testing application was downloaded from http://www.talkingtree.com/downloads/index.cfm?item=session_test.zip Reduced to itâs most simple form it has an Application.cfm file that consists of this: CFAPPLICATION name=j2ee_session_replication_test sessionmanagement=Yes clientmanagement=No setdomaincookies=Yes cfscript System = createObject(java,java.lang.System); JRun = createObject(java,jrunx.kernel.JRun); /cfscript And an index.cfm page that has this code: cfscript session.currentTimestamp = timeformat(now(),HH:mm:ss); message = [#session.currentTimestamp#] [#JRun.getServerName()#] [New Session: #session.isnew()#] [id: #session.sessionid#]; System.out.println(message); WriteOutput(message); /cfscript brbrSystem.out has written the above data to the console of the active jrun server brbra href=index.cfmRefresh/a | a href=cgi.cfmCGI/a | a href=sessionData.cfmcfif not isdefined(session.myData)CreatecfelseView/cfif nested structure/a brbr CFIF not isDefined(session.session_lock_init_time) CFLOCK scope=SESSION type=EXCLUSIVE timeout=30 cfset session.session_lock_init_time = timeformat(now(),HH:mm:ss) cfset session.session_lock_init_servername = JRun.getServerName() /CFLOCK /CFIF CFIF session.session_lock_init_servername neq JRun.getServerName() CFSET session.session_failedOver_to = JRun.getServerName() brbr strongfont color=red Session has failed over BRfrom cfoutput#session.session_lock_init_servername# BRto #JRun.getServerName()#/cfoutput /font/strongbrbr CFELSEIF isDefined(session.session_failedOver_to) brbrstrongfont color=green Session has been recovered to original server after a failover to cfoutput#session.session_failedOver_to#/cfoutput /font/strongbrbr /CFIF CFDUMP var=#session# label=CONTENTS OF SESSION STRUCTURE IE8 fails to recognize it has a session It is setting cookies⦠however it is setting 2 jsessionid cookies (I am guessing one is upper case and one is lower case). However the IE jsessionid cookies are only 20 chars long and do not resemble the session.sessionid value (other browsers get a jsessionid cookie that is 38 chars and is the same as the session.sessionid value). Also if I delete the jsessionid (programmatically or in the browser settings) and close the browser, then hit the page again I am getting the same value back (previous jsessionid vlue) for the jsessionid in IE only. I have checked the IE settings the security setting is the lowest possible. This seems really strangeâ¦. It works on a non-clustered server. I have also taken our load balancer out and am hitting only one physical web server but it still fails in IE. Here is a link to the test page http://eoetb.akc.org/sessiontest/session_test/index.cfm . Thanks, Frederic ~| 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:325182 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Session failure in IE8 on Clustered cf environment
Sorry that last link is internal you cannot reach it outside our network. My Bad, Freddy ~| 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:325183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Dynamic External Javascript Sheet
I'm looking for a way to attach an external javascript sheet that includes dynamic coldfusion code. Obviously, a ColdFusion file must end with the .cfm extension to be processed by the server and as I have found out through research an external javascript sheets needs to end with a .js extension. The reason I need to do this is because I have a javascript heavy page that builds a separate dynamic javascript array for each user (for a user specific chain-select). I came up with the idea of compiling all the javascript in a cfsavecontent and then writing that output to a specific .js file but I quickly realized this would lead to race conditions if two users accessed the page at the same time. There must be an elegant solution to this. Can anyone give me some advice? ~| 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:325184 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dynamic External Javascript Sheet
You can certainly point your SCRIPT tags at a CFM file to generated dynamic JavaScript: script src=gen_me_some_js.cfm/script You'll need to serve back the right content type (using CFCONTENT). cheers, barneyb On Mon, Aug 3, 2009 at 11:52 AM, Asaf Pelega...@locusenergy.com wrote: I'm looking for a way to attach an external javascript sheet that includes dynamic coldfusion code. Obviously, a ColdFusion file must end with the .cfm extension to be processed by the server and as I have found out through research an external javascript sheets needs to end with a .js extension. The reason I need to do this is because I have a javascript heavy page that builds a separate dynamic javascript array for each user (for a user specific chain-select). I came up with the idea of compiling all the javascript in a cfsavecontent and then writing that output to a specific .js file but I quickly realized this would lead to race conditions if two users accessed the page at the same time. There must be an elegant solution to this. Can anyone give me some advice? ~| 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:325185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dynamic External Javascript Sheet
Obviously, a ColdFusion file must end with the .cfm extension to be processed by the server and as I have found out through research an external javascript sheets needs to end with a .js extension. Actually, neither of these things are true. CF pages can have any extension; you simply have to configure CF and the web server to use different extensions. Also, you can use any extension for JavaScript files. I would recommend using the latter approach over the former. 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:325186 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dynamic External Javascript Sheet
Although there are several really big advantages to an external 'javascript' file being a static file, who said that your external file must end with .js? You can put a .cfm file in the src attribute of a script tag, serving a dynamic document through. Just make sure that the generated JavaScript is valid, and use the cfcontent tag to tell the browser that it's a javascript file. 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 8/3/2009 1:52 PM, Asaf Peleg wrote: I'm looking for a way to attach an external javascript sheet that includes dynamic coldfusion code. Obviously, a ColdFusion file must end with the .cfm extension to be processed by the server and as I have found out through research an external javascript sheets needs to end with a .js extension. The reason I need to do this is because I have a javascript heavy page that builds a separate dynamic javascript array for each user (for a user specific chain-select). I came up with the idea of compiling all the javascript in acfsavecontent and then writing that output to a specific .js file but I quickly realized this would lead to race conditions if two users accessed the page at the same time. There must be an elegant solution to this. Can anyone give me some advice? ~| 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:325187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Regex help - without a look-around
I'm trying to match if a pageID list doesn't end with: ,services.wpViewingHistory And has a siteList with W in it. Here's my regex: pageIDs=[0-9a-zA-Z.,]+,*(s[^e]{1}|se[^r]{1}|ser[^v]{1}|serv[^i]{1}|servi[^c]{1}|servic[^e]{1}|service[^s]{1}|services[^\.]{1}|services\.[^w]{1}|services\.w[^p]{1}|services\.wp[^V]{1}|services\.wpV[^i]{1}|services\.wpVi[^e]{1}|services\.wpVie[^w]{1}|services\.wpView[^i]{1}|services\.wpViewi[^n]{1}|services\.wpViewin[^g]{1}|services\.wpViewing[^H]{1}|services\.wpViewingH[^i]{1}|services\.wpViewingHi[^s]{1}|services\.wpViewingHis[^t]{1}|services\.wpViewingHist[^o]{1}|services\.wpViewingHisto[^r]{1}|services\.wpViewingHistor[^y]{1})\s{1}siteList=(W+[,A-Za-z]*|[,A-Za-z]*W+|[,A-Za-z]*W+[,A-Za-z]+) Here's my target string: pageIDs=services.wpLayout,profile.registerpc,services.wpProgramInfo,profile.pcLogin,errors.profile.apReferrer,services.wpViewingHistory siteList=W It's almost there but not quite. It doesn't match this and it should: pageIDs=services.wpLayout,profile.registerpc,services.wpProgramInfo,profile.pcLogin,errors.profile.apReferrer,main.testing siteList=W I can't use look-around with my regex engine Thanks for any help someone could offer... Will ~| 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:325188 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Matching Up Data From 2 Queries
Ben Nadel posted a couple good way to do this. (His site is awesome) First, and the fastest method a method using Structures as key lookups. http://www.bennadel.com/blog/268-Structs-As-Query-Indexes-Speed-And-Rick-Osborne.htm Second, using the query objects indexOf() method. http://www.bennadel.com/blog/267-Ask-Ben-ColdFusion-Optimization-A-Case-Study.htm Hope that helps. ~| 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:325189 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dynamic External Javascript Sheet
You can put a .cfm file in the src attribute of a script tag, serving a dynamic document through. Just make sure that the generated JavaScript is valid, and use the cfcontent tag to tell the browser that it's a javascript file. What about caching? Won't the browser go for what is in its cache and not grab the same-only-we-made-it-different file? -- Yours, Kym Kovan mbcomms.net.au ~| 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:325190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Dynamic External Javascript Sheet
Browsers should respect the headers that are supplied with the response, and CF sends stuff that will prevent the browser from caching (unless you tell it not to). So that shouldn't be a concern. cheers, barneyb On Mon, Aug 3, 2009 at 4:43 PM, Kym Kovandev-li...@mbcomms.net.au wrote: You can put a .cfm file in the src attribute of a script tag, serving a dynamic document through. Just make sure that the generated JavaScript is valid, and use the cfcontent tag to tell the browser that it's a javascript file. What about caching? Won't the browser go for what is in its cache and not grab the same-only-we-made-it-different file? -- Yours, Kym Kovan mbcomms.net.au ~| 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:325191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF BUILDER - setup and configuration issues
Eclipse noob here, please bear with me. On my local dev box I'm running CF8 with the internal web server. Each local site is set up as a virtual directory from the jrun-web.xml file in C:\ColdFusion8\wwwroot\WEB-INF\. I've successfully configured CF Builder to see my local CF8 install which I can now see in the Servers view. I've also successfully set up a CF Builder Project in the web root. What I cannot seem to get working is setting up a CF Builder Project for any of the sites defined as virtual directories. Any help with that would be appreciated. ~| 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:325192 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF BUILDER - setup and configuration issues
File New ColdFusion Project Enter the project name you want Untick 'use default location' Browse to the location you want to use instead. Click 'Finish'. (Or click 'next', the rest are just server and debugging details, which you may not need). Mark On Tue, Aug 4, 2009 at 1:52 PM, JDK m...@gobluerocket.com wrote: Eclipse noob here, please bear with me. On my local dev box I'm running CF8 with the internal web server. Each local site is set up as a virtual directory from the jrun-web.xml file in C:\ColdFusion8\wwwroot\WEB-INF\. I've successfully configured CF Builder to see my local CF8 install which I can now see in the Servers view. I've also successfully set up a CF Builder Project in the web root. What I cannot seem to get working is setting up a CF Builder Project for any of the sites defined as virtual directories. Any help with that would be appreciated. ~| 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:325193 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF BUILDER - setup and configuration issues
Thanks Mark. Should have been more specific... So the actual question is, how do I configure a CF Builder Project so that I can use the browser preview Views with sites defined as virtual directories..? For example; MySite --- System Path: C:\projects\clients\widgetcorp\siteroot\ Local URL: http://localhost:8501/widgetcorp/ When I attempt to use the browser preview View CF throws a missing template error as follows; File not found: /index.cfm Looks like it's not configured for the /widgetcorp/ virtual directory..? Mark Mandel wrote: File New ColdFusion Project Enter the project name you want Untick 'use default location' Browse to the location you want to use instead. Click 'Finish'. (Or click 'next', the rest are just server and debugging details, which you may not need). Mark On Tue, Aug 4, 2009 at 1:52 PM, JDK m...@gobluerocket.com wrote: Eclipse noob here, please bear with me. On my local dev box I'm running CF8 with the internal web server. Each local site is set up as a virtual directory from the jrun-web.xml file in C:\ColdFusion8\wwwroot\WEB-INF\. I've successfully configured CF Builder to see my local CF8 install which I can now see in the Servers view. I've also successfully set up a CF Builder Project in the web root. What I cannot seem to get working is setting up a CF Builder Project for any of the sites defined as virtual directories. Any help with that would be appreciated. ~| 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:325194 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF BUILDER - setup and configuration issues
Oh no idea.. I don't use it ;o) Sorry. Mark On Tue, Aug 4, 2009 at 2:21 PM, JDK m...@gobluerocket.com wrote: Thanks Mark. Should have been more specific... So the actual question is, how do I configure a CF Builder Project so that I can use the browser preview Views with sites defined as virtual directories..? For example; MySite --- System Path: C:\projects\clients\widgetcorp\siteroot\ Local URL: http://localhost:8501/widgetcorp/ When I attempt to use the browser preview View CF throws a missing template error as follows; File not found: /index.cfm Looks like it's not configured for the /widgetcorp/ virtual directory..? Mark Mandel wrote: File New ColdFusion Project Enter the project name you want Untick 'use default location' Browse to the location you want to use instead. Click 'Finish'. (Or click 'next', the rest are just server and debugging details, which you may not need). Mark On Tue, Aug 4, 2009 at 1:52 PM, JDK m...@gobluerocket.com wrote: Eclipse noob here, please bear with me. On my local dev box I'm running CF8 with the internal web server. Each local site is set up as a virtual directory from the jrun-web.xml file in C:\ColdFusion8\wwwroot\WEB-INF\. I've successfully configured CF Builder to see my local CF8 install which I can now see in the Servers view. I've also successfully set up a CF Builder Project in the web root. What I cannot seem to get working is setting up a CF Builder Project for any of the sites defined as virtual directories. Any help with that would be appreciated. ~| 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:325195 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4