Re: Home Site+ and Windows 7
I have been using Topstyle for several years and like it. Since I write most of my code by cutting and pasting what has worked I don't rely on great libraries of tools Rob On 24 May 2010 at 15:21, Jerry Barnes wrote: > > Periodically, I'll download a bunch of editors to see if any match > the > features I like about Homesite +.None have been able to replace > Homesite > + though. Topystyle 4 is the only one to come remotely close. > > > > ~| > Order the Adobe Coldfusion Anthology now! > http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp > /1430272155/?tag=houseoffusion > Archive: > http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:33 > 3962 > Subscription: > http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: > http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334031 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF 9 Hosting
I have been very pleased with kickassvps, their support has been great as I migrated several sites to their site. Rob On 21 May 2010 at 11:38, Gerald Guido wrote: > > +1 for KickAssVPS.com as well. I was on a VPS from them for ~2 years > with > out as much as a hiccup. > > However, their entry level Windows plan has a gig of ram. Running > CF9 and > 2008 Server on a gig of ram would be a *real* tight squeeze IMO. I > recently > set up a dev box with on a machine with 1.5 gig ram running 2008 > server, > IIS, CF9, and SQL server or MySQL (I forgot which) sucked up about > ~1.3 gigs > just sitting there with zero load. You might be able to get away > with it > running 2003 server. I donno, I have never tried. > > G! > > On Fri, May 21, 2010 at 5:10 AM, Paolo Broccardo > wrote: > > > > > >KickAssVPS.com > > > > > >Nearly two years with them and zero down-time. > > >Fast, responsive support. Been on CF9 for several > > >months now. > > > > > >$100 per month... > > > > > >Rick > > > -- > Gerald Guido > http://www.myinternetisbroken.com > > "Wait. We can't stop here. This is bat country." > -- HST > > > > ~| > Order the Adobe Coldfusion Anthology now! > http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp > /1430272155/?tag=houseoffusion > Archive: > http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:33 > 3904 > Subscription: > http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: > http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334030 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: XPATH
Chad, There is a great discussion of exactly this issue here: http://www.bennadel.com/blog/494-Stripping-XML-Name-Spaces-And-Node-Prefixes-From-ColdFusion-XML-Data-To-Simplify-XPath-.htm Basically - xpath and namespaces are a pain in cf. Check the comments of the blog post, they offer a good number of good ideas. Mark On Thu, May 27, 2010 at 3:06 AM, Chad Gray wrote: > > Can someone help me figure out the XPATH of the node that contains DISK > SENT? > > Thanks! > Chad > > > http://schemas.xmlsoap.org/soap/envelope/"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance";> > > http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns1=" > http://DefaultNamespace";> > http://rpc.xml.coldfusion";> > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";> > PRODUCTIONSTATUS > > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";> > > DISK SENT > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334029 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Spreadsheet manipulation - clearing/deleting cell contents
I am not sure if the Spreadsheet functions support the concept of a "blank cell". You could cheat and use the underlying POI functions. But I too am curious if anyone knows a supported method of doing this. // ... variables.sheet = variables.spObj.getWorkBook().getSheetAt( 0 ); for (i=2;i LTE qryTarget.Recordcount; i=i+1) { SpreadsheetSetCellValue(variables.spObj, 'overflowoverflow overflowoverflow overflowoverflow overflowoverflow ', i, 1 ); // data starts at row 1. so physical and logical rows are the same variables.row = variables.sheet.getRow( i-1 ); variables.cell = variables.row.getCell( 1 ); variables.cell.setCellType( variables.cell.CELL_TYPE_BLANK ); // } -Leigh ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334028 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cflayout accordion collapsed initially
Hi I am using cflayout accordion with only one item which I want collapsed on page load. I've eventually put this code in: This works in FF and Chrome but NOT in IE8, which 1) does NOT open collapsed and 2) gives a javascript error Message: Exception thrown and not caught Line: 90 Char: 1 Code: 0 URI: http://127.0.0.1:8500/CFIDE/scripts/ajax/package/cfajax.js So my questions are 1. Is using the onLoad function the best way to have the accordion closed on page load 2. How do I get it to work in IE? And with no errors? Hope someone can help - this is driving me nuts Ta Seamus ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334027 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Comparing two data sets for changes and reporting the changes
If you are only dealing with 20-30 items it would be faster to write a bunch of conditionals instead of trying to find or develop something generic. If you are going to reuse this throughout the site then making a generic function would be more worth the investment. -Mike Chabot On Wed, May 26, 2010 at 6:27 PM, Gerald Guido wrote: > > Here is the situataion: The user submits a form to edit a record from the > database and I want to capture the changes that were made and send them off > in an email. Does anyone know of an easy(ish) way to compare the original > data set (be it saved as a query row, bean, structure,array etc.) with the > potentially updated data and then sniff out and report the individual > changes with out writing a boat load of conditional logic? There are about > 20 or 30 individual items I want to check for and all of them come from a > single database record and all of the form fields are named the same as the > database columns. > > I am on CF 7 Pro and MSSQL 2005. > > Many TIA. > > G! > > -- > Gerald Guido > http://www.myinternetisbroken.com > > "Wait. We can't stop here. This is bat country." > -- HST > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334026 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Comparing two data sets for changes and reporting the changes
Here is the situataion: The user submits a form to edit a record from the database and I want to capture the changes that were made and send them off in an email. Does anyone know of an easy(ish) way to compare the original data set (be it saved as a query row, bean, structure,array etc.) with the potentially updated data and then sniff out and report the individual changes with out writing a boat load of conditional logic? There are about 20 or 30 individual items I want to check for and all of them come from a single database record and all of the form fields are named the same as the database columns. I am on CF 7 Pro and MSSQL 2005. Many TIA. G! -- Gerald Guido http://www.myinternetisbroken.com "Wait. We can't stop here. This is bat country." -- HST ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334025 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: FIXED: cflock and cfloop question
Please be sure to post the fix that was used so that persons using the archive in the future will be able to troubleshoot their stuff as well. William -- William E. Seiter On May 26, 2010, cfcom wrote: ISSUE IS FIXED - THANKS EVERYONE! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334024 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cflock and cfloop question
How are #current_ListingID# and #currentow# getting set? My guess would be that within your loop over allimages, these are never being changed, so all these copies are to the same destination file... resulting in only the last file in the source directory being in the destination directory. Also, Im not sure what the second cffile-copy is trying to do, but I dont remember being able to copy a directory with cffile (not sure though) On Wed, May 26, 2010 at 4:23 PM, cfcom wrote: > > Am having some un predictable results with a loop. > My code is supposed to copy upload jpegs from a temp folder to the images > Folder. But only one jpeg is being moved from temp folder to images > folder and the loop isn't grabbing any additional pictures. > When the cflock was removed, it grabbed a second image but no more. > Any help would be most appreciated - thank you again in advance. > > > directory="#house_dir#\temp\#client.userID#" name="allimages" > filter="*.jpg"> > > source="#house_dir#\temp\#client.userID#\#name#" > destination="E:\webs\xyz\images_houses_new\#current_ListingID#_#currentr > ow#.jpg" nameconflict="overwrite"> > > destination="E:\webs\xyz\images_houses\#current_ListingID#_#currentrow#. > jpg" nameconflict="overwrite"> > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334023 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dynamic Getters and Setters
Ahh. Right. I didn't think about that. :-/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334022 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
FIXED: cflock and cfloop question
ISSUE IS FIXED - THANKS EVERYONE! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334021 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Spreadsheet manipulation - clearing/deleting cell contents
The spreadsheet functions appear to create empty cells that aren't really empty - could use some help on this.. The need has arisen to "clear" cells in certain locations to allow text in the cell to the immediate left to 'overflow'; Monkeying around with SpreadsheetSetCellValue('') etc., SpreadsheetSetCellFormula(), ClearContents have been unsuccessful - (neither is merge an option). To illustrate the problem, create a spreadsheet from an empty query: variables.qryTarget = QueryNew( 'one,two,three,four,five','varchar,varchar,varchar,varchar,varchar'); QueryAddRow(variables.qryTarget, 10); variables.spObj = SpreadsheetNew("foo"); SpreadsheetAddRow(variables.spObj, 'one,two,three,four,five'); SpreadsheetAddRows(variables.spObj,qryTarget); for (i=2;i LTE qryTarget.Recordcount; i=i+1) { SpreadsheetSetCellValue(variables.spObj, 'overflowoverflow overflowoverflow overflowoverflow overflowoverflow ', i, 1 ); } variables.tempfile = GetTempDirectory() & 'foo.xls'; // set the first col to a reasonable width SpreadsheetSetColumnWidth(variables.spObj,1,10); SpreadsheetSetColumnWidth(variables.spObj,2,10); SpreadsheetSetColumnWidth(variables.spObj,3,10); SpreadsheetSetColumnWidth(variables.spObj,4,10); SpreadsheetSetColumnWidth(variables.spObj,5,10); SpreadSheetWrite(variables.spObj, variables.tempfile, "yes"); Then, open the spreadsheet w/Excel and place your cursor in any "empty" cell, ie B2 and hit "Delete" Voila, empty cells that arent' really empty... -- Jon This message and any attached documents are only for the use of the intended recipient(s), are confidential and may contain privileged information. Any unauthorized review, use, retransmission, or other disclosure is strictly prohibited. If you have received this message in error, please notify the sender immediately, and then delete the original message. Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334020 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Getting a list of MySQL database views
http://dev.mysql.com/doc/refman/5.1/en/views-table.html As always when doing this kind of thing, be sure to protect your queries against sql injection and structure permissions accordingly... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334019 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Getting a list of MySQL database views
http://dev.mysql.com/doc/refman/5.0/en/views-table.html On Wed, May 26, 2010 at 1:00 PM, Ray Meade wrote: > > I'm trying to create a custom export page for our member rep's. I'm using > cfdbinfo to get a list of tables to pull the data from, but I also have a > handful of views that combine data from different tables. (such as the > members table and the deliverables table) Is there any way to pull a list of > DB views that I can use instead of raw tables? (I've named my views with > intuitive names ('members' instead of 'users', etc.) so that our rep's. will > know where to pull the data they need) I've looked everywhere I can think of > for a solution including the MySQL doc's., but to no avail...please help. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334018 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Getting a list of MySQL database views
I'm trying to create a custom export page for our member rep's. I'm using cfdbinfo to get a list of tables to pull the data from, but I also have a handful of views that combine data from different tables. (such as the members table and the deliverables table) Is there any way to pull a list of DB views that I can use instead of raw tables? (I've named my views with intuitive names ('members' instead of 'users', etc.) so that our rep's. will know where to pull the data they need) I've looked everywhere I can think of for a solution including the MySQL doc's., but to no avail...please help. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334017 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cflock and cfloop question
Am having some un predictable results with a loop. My code is supposed to copy upload jpegs from a temp folder to the images Folder. But only one jpeg is being moved from temp folder to images folder and the loop isn't grabbing any additional pictures. When the cflock was removed, it grabbed a second image but no more. Any help would be most appreciated - thank you again in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334016 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dynamic Getters and Setters
On Tue, May 25, 2010 at 11:01 PM, Brad Haas wrote: > The fields on my form are the same as in my database so I was wanting to loop > over the form fields and populate the setters in a bean. So basically the > methods are dynamic. Here's what I've been trying but it doesn't work but it > does not work: > > > > > > > > > > > FWIW, that does work on Railo and the CFML Advisory Committee unanimously agreed it should work so I would expect it to appear in Adobe ColdFusion soon (I'm hoping it'll be in the CF9.0.1 updater). It's been verified as a bug by Adobe - please go vote: http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=82579 As for an alternative, since you are using tags, you can write this: -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really al ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334013 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dynamic Getters and Setters
On Tue, May 25, 2010 at 11:45 PM, Matt Quackenbush wrote: > > > > Won't work. Once you pull a method out of an object, you lose the context (THIS / VARIABLES scopes). -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret At ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334014 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dynamic Getters and Setters
On Wed, May 26, 2010 at 10:55 AM, Brad Haas wrote: > But isn't it a problem to use CFINVOKE with getters and setters? Wouldn't > the object be reinstantiated for every single method call? Am I wrong in > assuming this? When component= specifies an existing object, there is no instantiation. When component= specifies the name / path of a CFC, yes, it is instantiated. -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwo ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334015 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfsharepoint and Sharepoint 2010
Haven't used this, but a quick google brought me this. http://slidesix.com/view/ColdFusion--SharePoint On Wed, May 26, 2010 at 2:32 PM, Dawn Sekel wrote: > > Has anyone used the new CF9 cfsharepoint tag? We are implementing > SharePoint 2010. It is the first time our agency has had Sharepoint. In > reading the documentation for CF9 it sounds like it has the > capabilities to update document lists in Sharepoint 2007. We need to bulk > import several thousand PDF documents into our new Sharepoint with metadata > attached. We are also a CF shop and all our external websites are CF > based--so sounds perfect. Until I stumbled across this > command, we were looking at purchasing a SharePoint "bulk import tool" which > can be really pricey. I'm hoping the command will still work with > SharePoint 2010 and I was wondering if anyone has tried using > w/2010 yet. > > Thanks in advance for any advice. > Dawn Sekel > E-Mail: dawn.se...@tcleose.state.tx.us > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334012 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Dynamic Getters and Setters
It depends what you are passing in the "component" attribute. If it is a string (i.e. dot-delimited path), it will indeed instantiate the object. If it's an already created object, it will just call the method. -- Josh -Original Message- From: Brad Haas [mailto:beh...@gmail.com] Sent: Wednesday, May 26, 2010 10:56 AM To: cf-talk Subject: Re: Dynamic Getters and Setters But isn't it a problem to use CFINVOKE with getters and setters? Wouldn't the object be reinstantiated for every single method call? Am I wrong in assuming this? --Brad >**untested** > > > > > > >I don't use cfinvoke, so I may have the syntax a bit wrong... > > > > > >HTH ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334011 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfsharepoint and Sharepoint 2010
Has anyone used the new CF9 cfsharepoint tag? We are implementing SharePoint 2010. It is the first time our agency has had Sharepoint. In reading the documentation for CF9 it sounds like it has the capabilities to update document lists in Sharepoint 2007. We need to bulk import several thousand PDF documents into our new Sharepoint with metadata attached. We are also a CF shop and all our external websites are CF based--so sounds perfect. Until I stumbled across this command, we were looking at purchasing a SharePoint "bulk import tool" which can be really pricey. I'm hoping the command will still work with SharePoint 2010 and I was wondering if anyone has tried using w/2010 yet. Thanks in advance for any advice. Dawn Sekel E-Mail: dawn.se...@tcleose.state.tx.us ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334010 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfselect binding group= not working
ColdFusion8, Windows Server2003, JQuery I have a cfform with a cfselect on it, bound to the selection on another cfselect. This cfselect loads from the query returned from cfc, and, the display and value attributes work, but the group does not. I expect group='column' to populate the select with optgroups. Firebug shows that the column value is returned, but no groups. Anyone use this feature with success? Here's snippets: getIndicators returns, for example: {"COLUMNS":["VARIABLELABEL","STANDARDDESCRIPTION","CATEGORY"],"DATA":[["DataShareDeny","DataShareDeny","Directions"],["Focus","Primary Focus of Academic Department","General Info"],["YearEst","Year Established","General Info"]]} What is missing?? Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334009 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dynamic Getters and Setters
I believe the answer is 'yes, the object would be reinstantiated on each method request'. I think there might be an exception to that rule if it happens within a single http request, but I am not certain. As I stated before, I do not use cfinvoke. I would therefore opt to go with the script example I posted. :-) Sent from my iPhone On May 26, 2010, at 12:55, Brad Haas wrote: > > But isn't it a problem to use CFINVOKE with getters and setters? > Wouldn't the object be reinstantiated for every single method call? > Am I wrong in assuming this? > > --Brad > >> **untested** >> >> >> >> >> >> >> I don't use cfinvoke, so I may have the syntax a bit wrong... >> >> >> >> >> >> HTH > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334008 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dynamic Getters and Setters
But isn't it a problem to use CFINVOKE with getters and setters? Wouldn't the object be reinstantiated for every single method call? Am I wrong in assuming this? --Brad >**untested** > > > > > > >I don't use cfinvoke, so I may have the syntax a bit wrong... > > > > > >HTH ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334007 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
XPATH
Can someone help me figure out the XPATH of the node that contains DISK SENT? Thanks! Chad http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns1="http://DefaultNamespace";> http://rpc.xml.coldfusion";> http://schemas.xmlsoap.org/soap/encoding/";> PRODUCTIONSTATUS http://schemas.xmlsoap.org/soap/encoding/";> DISK SENT http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334006 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Retrive query cell value by key/value pair instead of row number?
That's definately a clever way to crack that nut, thanks Charlie. In this case the source query won't be too big. But it seems odd that after all this time with we still don't have a Query(); function. -Original Message- From: Charlie Stell [mailto:charlie.st...@gmail.com] Sent: Wednesday, May 26, 2010 2:18 AM To: cf-talk Subject: Re: Retrive query cell value by key/value pair instead of row number? When I've had to deal with the same situation previously, I usually created a "lookup" structure based on the column ill use as a handle - mystruct[value I want to ref by]=row index from query (this struct would get populated by looping over whole query) . This index then can be used to get at that row... I do seem to remember however that there's now a cfscript verion of cfquery (I don't remember if it supports query of querys). If that doesn't work, you could write a function that takes a colname, col value and query name, and perform a qoq- assuming the function will have access to the original query... Hope that helps! On 5/26/10, Jon Sala wrote: > > Is it possible to retreive from a query in memory a cell value by a > key value pair, ie other than the usual row number: myquery.columname[i]? > Something like myquery.columname[myquery.keyval:thisquery.Id] > For example, in a block I'm looping through a query, and > under certain conditions I need to retrieve a cell value from a > previous query using a current keyval. > > I guess the real problem is I'm looking for a simple equivalent to > usable inside . Is > coldfusion.server.ServiceFactory the only way out? > > Don't even know if any of this makes sense... I think I need to get > some sleep. > > -- > Jon > > This message and any attached documents are only for the use of the > intended recipient(s), are confidential and may contain privileged > information. Any unauthorized review, use, retransmission, or other > disclosure is strictly prohibited. If you have received this message > in error, please notify the sender immediately, and then delete the original > message. Thank you. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334005 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Retrive query cell value by key/value pair instead of row number?
When I've had to deal with the same situation previously, I usually created a "lookup" structure based on the column ill use as a handle - mystruct[value I want to ref by]=row index from query (this struct would get populated by looping over whole query) . This index then can be used to get at that row... I do seem to remember however that there's now a cfscript verion of cfquery (I don't remember if it supports query of querys). If that doesn't work, you could write a function that takes a colname, col value and query name, and perform a qoq- assuming the function will have access to the original query... Hope that helps! On 5/26/10, Jon Sala wrote: > > Is it possible to retreive from a query in memory a cell value by a key > value pair, ie other than the usual row number: myquery.columname[i]? > Something like myquery.columname[myquery.keyval:thisquery.Id] > For example, in a block I'm looping through a query, and under > certain conditions I need to retrieve a cell value from a previous query > using a current keyval. > > I guess the real problem is I'm looking for a simple equivalent to > usable inside . Is coldfusion.server.ServiceFactory the only way > out? > > Don't even know if any of this makes sense... I think I need to get some > sleep. > > -- > Jon > > This message and any attached documents are only for the use of the intended > recipient(s), are confidential and may contain privileged information. Any > unauthorized review, use, retransmission, or other disclosure is strictly > prohibited. If you have received this message in error, please notify the > sender immediately, and then delete the original message. Thank you. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334004 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Retrive query cell value by key/value pair instead of row number?
Is it possible to retreive from a query in memory a cell value by a key value pair, ie other than the usual row number: myquery.columname[i]? Something like myquery.columname[myquery.keyval:thisquery.Id] For example, in a block I'm looping through a query, and under certain conditions I need to retrieve a cell value from a previous query using a current keyval. I guess the real problem is I'm looking for a simple equivalent to usable inside . Is coldfusion.server.ServiceFactory the only way out? Don't even know if any of this makes sense... I think I need to get some sleep. -- Jon This message and any attached documents are only for the use of the intended recipient(s), are confidential and may contain privileged information. Any unauthorized review, use, retransmission, or other disclosure is strictly prohibited. If you have received this message in error, please notify the sender immediately, and then delete the original message. Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334003 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm