RE: Need some advice on approach...

2008-06-08 Thread Rick Faircloth
Thanks for the feedback, Isaac... I was actually planning to use url's like "agent.c21ar.com" and create subdomains (A records in the DNS manager) and then point those subdomains to the main agents' folder and use cfif statements to setup the variables for a particular agent's version of the site.

Re: data from coldfusion query to db query

2008-06-08 Thread Azadi Saryev
since you are using mysql db you can do this: INSERT INTO yourtable (col1, col2, col3, ...), hth Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Richard White wrote: > i must be naive as i have never used the cfinsert but how would i use it in > this case as the documentation seems

Re: data from coldfusion query to db query

2008-06-08 Thread Wil Genovese
What are you really trying to do? Are you importing data from a flat file? How many rows of data are we talking about? Is this a one time or reoccurring import? Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing wel

Re: data from coldfusion query to db query

2008-06-08 Thread Richard White
i must be naive as i have never used the cfinsert but how would i use it in this case as the documentation seems to suggest that it only uses formfields and not the contents of another cf query thanks >THis is quick and dirty, cfloop over your query and use cfinsert. 3 >lines of code. > >

Re: data from coldfusion query to db query

2008-06-08 Thread Richard White
Hi will thanks for the reply the problem i am having is that it is taking ages to loop through and insert at the moment i am using a function from cflib to get the contents of a each row in the cf query. is there a quicker way to get this as well thanks thanks >THis is quick and dirty, cf

Re: Jrun Memory Usage Problem: could fileexists() be the culprit?

2008-06-08 Thread Wil Genovese
Try this to deal with your possible missing images. http://www.mydomain.com/missing_image.jpg' ;"> Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Jun 6, 2008, at 5:50 PM, Sean Kozey wrote: > > > * fileexi

Re: data from coldfusion query to db query

2008-06-08 Thread Wil Genovese
THis is quick and dirty, cfloop over your query and use cfinsert. 3 lines of code. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Jun 8, 2008, at 4:19 PM, Richard White wrote: > Hi, > > i have built

Re: cfm file save compiled content as an xml file

2008-06-08 Thread Dominic Watson
Probably a whitespace issue (without looking at the code in detail). Make sure that is the very first bit of text in the output. I use for this, usually in application.cfm / application.cfc. Then, when outputting the xml page, I'd make sure there was no space between the first cfoutput and the x

Re: cfm file save compiled content as an xml file

2008-06-08 Thread Richard Steele
Here's my code. When I try to pull it into blogcfc as a newsfeed, it doesn't work. I get An error occured while Parsing an XML document. Premature end of file. What am I missing here? Many thanks. Select * from magazine_rss order by datepublished desc My| Magazine RSS

Re: Need some advice on approach...

2008-06-08 Thread s. isaac dealey
> To clarify your statement about application.cfm... > > Are you suggesting putting an application.cfm in the main agents > folder, and then having an application.cfm in *each* of the specific > agents' folders and simply have that "included" application.cfm > contain the specific variables needed

Re: cfm file save compiled content as an xml file

2008-06-08 Thread Dominic Watson
Does the cfm template output xml that is consumed over http? If so, first make sure that before you output the xml, you have: Then, if it is absolutely required to have the url as: http://www.mysite.com/myxmloutput.XML, I suspect you will need some sort of Url rewriting / 404 catching trick to r

cfm file save compiled content as an xml file

2008-06-08 Thread Richard Steele
I have a cfm file that makes xml code, but I need the content that is the compiled code to have an xml extension. For example, news_story.cfm then should make news_story.xml. How is this accomplished? Thanks in advance. ~| Ado

data from coldfusion query to db query

2008-06-08 Thread Richard White
Hi, i have built up a ColdFusion query with the use of querynew, queryaddrow etc... the columns i have in this query are identical to a query i have in my mysql database(including the column types) is there a way for me to quickly transfer all the data from the coldfusion query to the mysql da

JBoss deployment tip

2008-06-08 Thread denstar
I don't know if this will help anybody else, but: If you've got a large code-base, and it encompasses various java projects and whatnot, you'll see a significant speed/memory boost to JBoss if you disable the "automatic" EJB3 detection stuff in the EJB3 deployer. If you're running into a lot of "

Re: Railo 3 -> Open Source with JBoss

2008-06-08 Thread denstar
On Fri, Jun 6, 2008 at 5:41 PM, Mary Jo Sminkey <[EMAIL PROTECTED]> wrote: >> What?!? And Mary Jo likes their customer service? That seals the >> deal! > > LOL, nice to know my recommendation means so much! ;-) Well, yeah. :-) I've heard about the support for your stuff, from others, and I kno

Asynchronous Web Service Response

2008-06-08 Thread Ryan Carlson
I am looking for some assistance with a web service that I am working on. I have hit a dead end and I am hoping for some advice. I have created a web service CFC to open some functionality within our application. The web service allows our clients to update customer account information locat

RE: Need some advice on approach...

2008-06-08 Thread Rick Faircloth
Hi, Isaac... At this point, I was think that identifying the agent involved via the referring url or internally via a url variable would allow me to query a db for all needed variables, turn those variables into session variables, and then setup the agent pages via the session variables. I don't

Re: Need some advice on approach...

2008-06-08 Thread s. isaac dealey
Hey Rick. Brief recommendation. You mentioned you're using Application.cfm still - what you might want to do is add an Application.cfm in your /agents subdirectory to modify whatever the original Application.cfm did to set up the page... /root/Application.cfm original code ... /root/ag

Re: Railo 3 -> Open Source with JBoss

2008-06-08 Thread Andy Allan
They (Railo/jBoss) had been in talks for the past 18 months, so it's nothing to do with OpenBD. Andy 2008/6/5 Larry Lyons <[EMAIL PROTECTED]>: >>Railo announced today that they are joining JBoss.org and going Open Source. >> >>The license will be LGPL2. More information is available on jboss.org

Re: Setting a default value and dynamically checking a radio button

2008-06-08 Thread Les Mizzell
The only thing I can find that works is: checked="checked" Which is a little uglier that setting thisNL.alignHEAD to "rgt" by default if it isn't anything else. ~| Adobe® ColdFusion® 8 software 8 is the most important and

RE: Setting a default value and dynamically checking a radio button

2008-06-08 Thread Bobby Hartsfield
I spoke too soon too, you are trying to cfset the query value inside the recordcount check so that's not going to work either. You probably want to do... Then check form.alignHEAD to decide whether or not to check the box/radio ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://a

RE: Setting a default value and dynamically checking a radio button

2008-06-08 Thread Bobby Hartsfield
thisNL is a query object, you can't cfset its' values... which is why the latter works and the former doesn't. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2008 10

Re: Setting a default value and dynamically checking a radio button

2008-06-08 Thread Les Mizzell
> > > Spoke too quick - no it doesn't. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.house

Re: Setting a default value and dynamically checking a radio button

2008-06-08 Thread Les Mizzell
> If I do #thisNL.alignHEAD# - these nothing there, , > so I'm not sure why the below won't set the varialbe to "rgt" in this case. > > > > This works: ~| Adobe® ColdFusion® 8 software 8 is the most important an

Re: Setting a default value and dynamically checking a radio button

2008-06-08 Thread Les Mizzell
> 3) your cfif block is redundant - you already set your var with cfparam > if it does not exist I had both there testing to see if one of them would catch the null/empty value and set the variable. *Neither* is catching is, so it's not getting set. So, looking at it again. I want the first ali

Need some advice on approach...

2008-06-08 Thread Rick Faircloth
Hi, all... I'm working on a real estate website and for the first time, I'm setting up agents' sites using subdomains. I have some ideas on how to approach this, but I thought I'd ask about those of you with experience doing this kind of thing to offer advice. First, on the folder structure. I'

Re: Apache CF8 install issue

2008-06-08 Thread AJ Dyka
Hi Patrick, I found some great instructions here: http://www.houseoffusion.com/groups/cf-mac/thread.cfm/threadid:1512#5164 The main difference from every other time I've tried (& failed) was using the 64bit ColdFusion installer. Once I had that everything was smooth sailing! A.J. > I am try

Re: Setting a default value and dynamically checking a radio button

2008-06-08 Thread Azadi Saryev
1) why don't you use form.alignHEAD instead of thisNL.alignHEAD? if you must use thisNL, then maybe add before your cfparam tag... 2) you don't need those # inside len(trim()) 3) your cfif block is redundant - you already set your var with cfparam if it does not exist Azadi Saryev Sabai-dee.com h