Wednesday, 24 September 2008
|
| breaking a line of code to two lines Daniel Kessler 03:51:32 |
| | I need to break a line of code onto a second line while keeping it as a line of code. I have the following array and when I use the value "Jerry Wrenn Scholarship" as a value in a radio button, when I retrieve the value from the db, it doesn't match the original value in an CFIF statement. When I make it all on on line, the CFIF works fine. How do I do this sort of soft-return?
<cfset fund_ar = listToArray("The Dean's Fund,Health and Society Visiting Professorship, Jerry Wrenn Scholarship,Kinesiology Gift Fund)
In the example above, I've shortened the entries. I need this to make the code manageable.
-- Daniel Kessler
Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 301-405-2545 Phone www.phi.umd.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188465 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 7 answers | Add comment |
|
| Persistence layers for CF Micha Schopman 03:51:31 |
| | Just interested, but does anyone now any ColdFusion based persistence frameworks like hibernate for Java (and nHibernate for .NET)? It isn't a real ColdFusion thing but maybe someone was crazy enough to try something with it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188479 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 1 answer | Add comment |
|
| Plum Adam Churvis 03:51:30 |
| | If any of you had a problem with requesting a Beta License Key for the Plum Release Candidate, the problem has now been fixed (I forgot to add the new version to the Licensing Wizard).
Respectfully,
Adam Phillip Churvis Member of Team Macromedia http://www.ProductivityEnhancement.com
Download Plum and other cool development tools, and get advanced intensive Master-level training:
* C# & ASP.NET for ColdFusion Developers * ColdFusion MX Master Class * Advanced Development with CFMX and SQL Server 2000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188309 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 1 answer | Add comment |
|
| ArgoUML Trevor Holm-Laursen 03:51:28 |
| | Hey all,
Does anyone have a sample diagram or tutorial that has beans, dao's and gateways that they would be willing to share. I'm trying to design all my apps in UML now but work better when I have a tutorial that builds up to a completed diagram or a completed one with explanations with it. I've seen the help that comes with Argo but would Like something more CF related.
Trevor
Trevor Holm-Laursen
eBusiness Developer, FCS
FCS (Fundy Computer Services Ltd.)
Phone: (902)463-5953
Tel: 877-993-8636
Fax: 902-484-5887
<mailto:trevor.holm-laursen-eMTfb5GSp3E@public.gmane.org> trevor.holm-laursen-eMTfb5GSp3E@public.gmane.org
<http://www.fcs.ca> http://www.fcs.ca
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Re-transmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If received in error, please accept my apologies, contact the sender and delete the material from any computer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197175 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | Add comment |
|
| CF Chart bug? (CFMX7?) Tom McNeer 03:51:27 |
| | My development server is running CFMX7, and I have not had a chance to test this on 6.1, so I'm sure if the issue is related to the CF version.
In certain charts, the "scaleto", "scalefrom" and "gridlines" values are not being used correctly when the chart is generated. I'm aware that the "scalefrom" and "scaleto" values are modified by the charting code if they would result in cropping the chart contents, but that's not the case here.
I'm attempting to display two charts: one works, the other doesn't.
The first has the following atttributes - scalefrom="0" , scaleto = "1", gridlines="11". The values displayed on the chart are always decimals <= 1. The chart displays correctly, with Y-axis labels and gridlines from 0 to 1, in increments of 0.1.
The second chart has its scaling values set dynamically, to present a compact chart based on making the top of the Y-axis slightly higher than the largest displayed Y-value. (For instance, if the largest Y-value is 298, the "scaleto" is set to 300.) The following values were sent to the <cfchart> tag (I output them elsewhere to verify them): scalefrom="0", scaleto="300", gridlines="31". This should have produced a Y-axis running from 0 to 300, naturally, with gridlines at 10,20,30,etc.
The displayed chart, however, ran from -50 to 600, in increments of 50. There were 14 total gridlines, including the axis. No data points were less than 0, so there was no need for the Y-Axis value to extend below 0. All data points were displayed in the correct positions - the highest Y-value was 298, just as it should have been. Only the number of gridlines and the scaling were incorrect.
I followed up by placing static values into these attributes as a test, using the same data to create the data points. The results changed, but were still mostly wrong. Occasionally, the number of gridlines was correct, but the scaling values continued to be wrong, although they changed.
For instance, when I hard-coded the following: scalefrom="0", scaleto="300", gridlines="4", I got a chart which did, in fact have 4 gridlines. But the scale went from -200 to 400.
I have also tested this with chart formats of both Flash and JPEG, with the same results.
Does anyone (MM, perhaps?) have any light to shed on this? -- Tom McNeer MediumCool http://www.mediumcool.com 530 Means St NW, Suite 110 Atlanta, GA 30318 404.589.0560
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197165 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | Add comment |
|
| I DID IT!! Shameless Self-promotion Mike Kear 03:51:26 |
| | <cf_owntrumpet action="blow"> I finally did it - I sat my Macromedia ColdFusion Developer exam today and not only passed, I bloody CREAMED it !!!
In all four areas of the test, I scored 80% - Application Development, Database Concepts, Client state management and Data exchange. Which means ....
Mike Kear is now an Advanced Certified Coldfusion Developer!!! </cf_owntrumpet>
As a work colleague said when I got back to the RTA today - So you got 20% of them wrong huh?
-- Cheers Mike Kear Advanced Certified ColdFusion Developer Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188601 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 4 answer | Add comment |
|
| Re: RegEx help - Solved Cedric Villat 03:51:24 |
| | Ben,
I got it working with:
REReplace(text, "((.)\.([^0-9]))|([^0-9]\.(.))", "\2 \3", "all");
Cedric
Ben,> That makes sense. I get an error though, as it complains about the ?. > What are they for? I thought the ? was the "0 or 1 occurances" > operator.> Also, would this cover things like:> 12.2.12.12 ?> I noticed that my current regex of> m = REReplace(m, "([0-9])\.([0-9])", "\1|\2", "ALL");> generate 12|2.12|12. I assume this is because the pointer after the > first replace has passed the single "2". Is there a way around that > too?> Thanks!> Cedric> rereplace(text,"(?(.)\.([^0-9]))|(?([^0-9])\.(.))", "\1\2", "all");> > Not tested, YMMV, there are a lot of parens and it wouldn't surprise > me > > if I'm off somewhere, etc. But the basic idea is to check for > either > > a > > non-number before or after the dot.> > Cedric Villat wrote:> > > Pete,> > > Thanks, that was the way I thought I would have to go. Just was > > hoping there was an easier way  I'd still like to see if it can be > done in 1 *line*  Thanks.> > > Cedric
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195770 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | Add comment |
|
| deleting folders Brian Coleman 03:51:23 |
| | This may or may not be a CF question. I'm relatively sure I could do this if the folders were on the web server rather then remote servers. Anyway I'll describe my problem and if anyone has experience or advice I'd like to know I have about 4-5 servers that need certain folders deleted on demand. There are so many folders manual deletion isn't really an option. These servers would be reachable from the webserver if need be via UNC or mapped drive The folder structure is like C:\folder\folder\folder\someone's name\folder\folder to be deleted I have no way of knowing the part where a name would be but the other folders all have pre-defined names The ideal situation would be when it's time for it to be deleted, a button can be clicked or a file ran to delete. Even something set up w/ scheduler would work. The two things I've though of so far is either a) write something in cold fusion, where I don't know how to reach the remote servers via CF or b) some kind of VBscript which can do it when ran, but I don't really have much vbscript knowledge Thanks, Brian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:179566 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 2 answer | Add comment |
|
| Flash Form Question C. Hatton Humphrey 03:51:22 |
| | I just finished building an app using the new CFMX 7 flash forms. It works great on both dev boxes. However, when I move it to the client's server it throws a Javascript error "lc_id is undefined" and then just *sits* there.
Anyone have any ideas about this one? I'm at a loss as to what might be causing this one?
Thanks! Hatton
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198617 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 3 answer | Add comment |
|
| SQL Mask not using CF Mickael 03:51:20 |
| | Hi All
I was wondering if someone could help me out with the following SQL function.
I would like to select Today(*) from my database but have it display as Thursday, October 28, 2004
This is easily done with a mask in CF but is there a way to do it right in my select statement?
Something like ("ddd, mmmm, dd, yyyy", "today(*))
I working with a sybase database.
Thanks
Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182816 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 1 answer | Add comment |
|
| speaking of rants Dana Tierney 03:51:19 |
| | You guys in Ontario should double-check your tax bills *very* carefully. I just had to cancel my debit card and get it re-issued because the Ontario Registrar-General has for a *second* time put an unauthorized charge through. I have no idea what they think they are doing -- maybe they are just now getting around to trying to credit back the *first* unathorized debit. As previously noted, they don't seem very smart up there.
They originally had the number because I paid for expedited processing on a birth certificate back in January. I got the birth certificate but they dinged the card twice after that. I never got an explanation, let alone an apology. Bank of America credited the last unauthorized charge back to me, but it took them a couple of days.
Meanwhile I am overdrawn. Whaaa.
Dana
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:113851 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5
|
| | Add comment |
|
| XSLT Help mpwoodward-PkbjNfxxIARBDgjK7y7TUQ @ public . gmane . org mpwoodward-PkbjNfxxIARBDgjK7y7TUQ @ public . gmane . org 03:51:17 |
| | OK, now that I have my XML working I'm running into an issue with XSLT that I'm hoping someone can diagnose. Here's my XML (I verified this by writing to a file to make sure the XML structure is what I think it is): <combo name="Combo" catalogNumber="010101"> <product productType="Brush" name="Trim Rite" catalogNumber="6460"> <brush> <size>1</size> <packBox>12</packBox> </brush> <brush> <size>1.5</size> <packBox>12</packBox> </brush> </product> </combo>
Here's my current XSL (limiting this to a single product type for simplicity): <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" /> <xsl:template match="/combo"> <xsl:for-each select="product"> <xsl:if test="@productType = 'Brush'"> <table border="0" cellpadding="2" cellspacing="1" bgcolor="909090"> <tr bgcolor="ffffff"> <td class="tdGeneric" colspan="2"><strong>Brush: <xsl:value-of select="@name" /> (CatalogNumber <xsl:value-of select="@catalogNumber" />)</strong></td> <td class="tdGeneric">Size: <xsl:value-of select="brush/size" /></td> <td class="tdGeneric">Pack/Box: <xsl:value-of select="brush/packBox" /></td> </tr> <xsl:for-each select="brush"> <tr bgcolor="ffffff"> <td class="tdGeneric" colspan="2"> </td> <td class="tdGeneric"><xsl:value-of select="size" /></td> <td class="tdGeneric"><xsl:value-of select="packBox" /></td> </tr> </xsl:for-each> </table> </xsl:if> </xsl:for-each> </xsl:template>
OK, now I realize in the above XSL I'm outputting brush/size and brush/packBox before I do the for-each select="brush", but I left that experiment in there to point out the issue I'm running into. The line Size: <xsl:value-of select="brush/size" /> (and the following packBox line) outputs the value of the FIRST brush fine. That isn't really what I want since I need to get the details for both brushes, but I decided to do that as an experiment to see what could be seen where. The issue arises when I do <xsl:for-each select="brush">, which generates the following error: Message javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Reference to undefined entity " ". Detail A [Transformer] object cannot be created that satisfies the configuration requested. This could be due to a failure in compiling the [XSL] text. javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Reference to undefined entity " ".
I'm 99.9% sure that the for-each select="brush" is throwing the error because when I comment that out the error doesn't occur. The annoying thing is that based on the structure of the XML, I would think that my for-each select="brush" would get the data for the two brush elements that are nested in the product node, particularly since brush/size gets me the size of the first one. Any idea why the for-each is throwing this error?
Thanks, Matt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:166460 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4
|
| | 2 answer | Add comment |
|
| Bush, The Nickname-a-nator Gruss Gott 03:51:16 |
| | I thought this was really funny - it's from a post-mortum WSJ article on the SS private accounts initiative. The clip below is talking about how Mr. Bush met with various Dems to try to sell them, but didn't do much more than talk about sports:
'When Mr. Bush got to Omaha, Neb., waiting was Sen. Ben Nelson, perhaps his most reliable Democratic ally in the first term; the senator had been told of the event by a Nebraska Republican. Before 11,000 people, Mr. Bush called Mr. Nelson a Democrat "who is willing to put partisanship aside to focus on what's right for America."
In the limousine afterward, Mr. Nelson said he, Mr. Bush and several others mostly gabbed about University of Nebraska football, and the president agreed to quit calling him "Nellie" and to call him "Benator" instead.'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:177615 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | Add comment |
|
| OT: Need a SQL Reporting Services guru G 03:51:15 |
| | Sorry for the off topic, i'm completely stuck on a report im generating using SQL Server Reporting Services. Its a simple report, and i'm simply trying to read a URL variable within the report.
If you think you can help, please contact me off list at: brian.grant-AeP5+ZH0GCsd1K/UYSjSdw@public.gmane.org
Much appreciated,
Brian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:167921 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | Add comment |
|
| Query by example application or code Mario Ciliotta 03:51:14 |
| | Hi,
I was wondering in anyone knows of any code out there might show how to do a query by example. My end-users want to displayed a list of availible column names and pick and choose what they want to see and then pick and choose to create their where clause and also the order by clause.
I remember reading about it in an older issue of the CFDJ. If there is something out there that is already written and maybe open source so that I can change it that would be the best as my end-users are never happy with anything off the shelf. I tried to search the Macromedia exchange but my browser is having issues with the Flash on the site - keeps locking up.
Thanks,
Mario
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:179543 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | Add comment |
|
| Application Scope Variables Sean Hynes 03:51:13 |
| | Thanks for your help, but I thought that once you define the variables in the APplication scope they are yours to use them at any time and the <cfapplictioan tag does not need to run again until the application TIMES OUT. SO if thats the case, Application.DSN would be defined for 20 min, and it would skip redefining the application scope again. Am I wrong? IF Application.DSN is NOT DEFINED, then it will run the CFapplication tag, whats wrong with this logic?
THanks
At 06:02 PM 12/14/2004, you wrote:>You're checking for application.dsn before CFApplication (therefore it>won't have been defined).. Move CFApplication above the isdefined and>you should be laughing..>
I am having the worst time with the Application scope. I thought that> >if I define APplication.DSN sometime after this initialized, it will be> set until it times out. HOwever, this block of code gets executed each> >time I go to a new page, and the Application.name gets redefined.. ANy> >ideas what I am doing wrong?> > <cfif not ISDefined("Application.DSN")>> > <cfparam name="URL.DSN" default="cfbb_iaba">> > <cfapplication name="#URL.DSN#" sessionmanagement="Yes"> > clientmanagement="Yes" sessiontimeout="#CreateTimeSpan(0,0,40,0)#"> > applicationtimeout="#CreateTimeSpan(0,0,20,0)#"> <cfset Application.DSN = "#URL.DSN#">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190170 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 1 answer | Add comment |
|
| capturing SOAP/AXIS data Lewis Sellers 03:51:12 |
| | I remember a while back someone (possibly Dave Watts?) mentioning I believe a proxy server that could be used to capture raw traffic XML with between a client and a web service? I vaguely recall even downloading it ... and then forgetting what CDR I eventually backed up a copy to.
Anyone care to save me a few hours of searching and point me to a link?
Thanks, --min
-- --Lewis Sellers (AKA min) Intrafoundation Software http://www.intrafoundation.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190348 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 2 answer | Add comment |
|
| Gruss Gott Matthew Small 03:51:11 |
| | So I've been interested in your name for a while, if it was real or not. I googled it and it's a German phrase meaning "God's Greeting". If I assume that it's not your real name, would I be right or wrong in doing so?
- Matt Small
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:155464 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13124.11887.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 3 answer | Add comment |
|
| nitpicky with Excel Paul 03:51:10 |
| | Does anyone know how to get the familiar Excel grids in a cf-generated xls?
I'm using the method below to generate my Excel files. It works well, but displays no grids between cells, just my report on an ocean of white. If I add border=1 to the table, the grids appear but only around the data, not across all cells. It looks goofy.
<cfsavecontent variable="excelfile">
<table>
<tr><cfoutput><cfloop list="#arguments.columns#" index="x"><td>#x#</td></cfloop></cfoutput></tr>
<cfoutput query="#arguments.outputquery#">
<tr><cfloop index="y" list="#arguments.values#" delimiters="|">
<td>#evaluate(y)#</td>
</cfloop></tr>
</cfoutput>
</table>
</cfsavecontent>
<CFFILE contentType="application/x-msexcel" action="write" file="C:\reports\xls\#myFile#" output="#excelfile#">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197368 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 2 answer | Add comment |
|
| CFC instance creation Problem Sam Komolafe 03:51:09 |
| | Hi,
Why am I not able to create an instance of a CFC on my test server using this syntax: <cfset myInfo = createObject("component","theSite.myApp.CompLib.DAccess")>
It only works using the CFOBJECT syntax. By the way the CreateObject syntax works perfectly on my local PC. I have CFMX 6.1 + updater on both PC's
Thanks Sam
--- [This E-mail scanned for viruses.]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184921 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 4 answer | Add comment |
|
| Railo / IgniteFusion Ryan Jones 03:51:08 |
| | Does anyone have experience using either Railo or IgniteFusion?
I am very interested to switch from PHP to CFML for our websites, but we are unable at present to afford CFMX or Bluedragon (even the "free" version has limitations on the kind of businesses that may use it, and does not support SSL).
Unfortunately, now is the only opportunity in the forseeable future that we will be able to switch over, so if I am unable to get my foot in the door with CFML now, I will need to stick with PHP.
I am just a bit wary, however, about putting IgniteFusion into a production environment, and was wondering if anyone had done this before.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184944 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 1 answer | Add comment |
|
| OT: CSS Resources Donna French 03:51:07 |
| | I am hoping some of you can recommend a good online source for CSS. I'm wanting to add dotted lines and such around paragraphs, and would like to see examples with code of what all can be done with CSS.
TIA, -- ------------------------ Donna French dgfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Blog: http://dgfrench.blogspot.com Site: http://www.dgfrenchdesigns.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184318 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13123.11886.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
|
| | 2 answer | Add comment |
|