RE: CFIF logic problem
With the example below if I visit http://sitename/test.cfm?no=3 and I am not logged in to view the content on that page. i.e. (session.permission) has not been set The page content displays and does not redirect ? How could I modify the cfif below to check that if a user visits http://sitename/test.cfm?no=3 and is not logged in they are redirected to the index.cfm page but if they are logged in they can view the content. And if a user visits http://sitename/test.cfm?no=2 or http://sitename/test.cfm?no=4 etc the page content displays as normal without any restrictions. cfparam name=url.no default=0 cfset request.restrict = 3 cfif listfind(request.restrict,url.no) and comparenocase(session.permission,admin) neq 0 cflocation url=index.cfm /cfif Page content cfinclude template=pages/#url.no#.cfm -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: 20 July 2005 16:05 To: CF-Talk Subject: RE: CFIF logic problem However The cfif url.no IS 3 etc displays dynamic content out of the database based on the url.no=. So for example http://sitename/test.cfm?no=3 Would bring back the content ' NEWS' While http://sitename/test.cfm?no=2 Would bring back the content 'BUSINESS' So I need the cfif statement to display the content as normal if the url.no is 1 or 2 or 4 etc.. But if it is url.no=3 then apply the logic so that if a user has not logged in and they do not have a session.permission is admin then use cflocation back to the index.cfm page -Original Message- From: Larry Lyons [mailto:[EMAIL PROTECTED] Sent: 20 July 2005 15:01 To: CF-Talk Subject: CFIF logic problem Hi Is my logic correct in the code below ? cfif url.no IS 3 cflocation url=index.cfm cfelseif (url.no IS 3) and (session.permission is admin) Page Content cfelse /cfif What I want is if the url is http://sitename/test.cfm?no=3 Then it will transfer back to the index.cfm page. However if the url is http://sitename/test.cfm?no=3 and the session.permission has been set to 'admin' from the user login then the page content displays. At present however the page keeps redirecting to the index.cfm page. You may want to break up the CFIF into something like this: cfif url.no IS 3 cfif session.permission is admin Page Content cfelse cflocation url=index.cfm /cfif /cfif hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~| 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:212364 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFIF logic problem
With the example below if I visit http://sitename/test.cfm?no=3 and I am not logged in to view the content on that page. i.e. (session.permission) has not been set The page content displays and does not redirect ? How could I modify the cfif below to check that if a user visits http://sitename/test.cfm?no=3 and is not logged in they are redirected to the index.cfm page but if they are logged in they can view the content. And if a user visits http://sitename/test.cfm?no=2 or http://sitename/test.cfm?no=4 etc the page content displays as normal without any restrictions. cfparam name=url.no default=0 cfset request.restrict = 3 cfif listfind(request.restrict,url.no) and comparenocase(session.permission,admin) neq 0 cflocation url=index.cfm /cfif Page content cfinclude template=pages/#url.no#.cfm ~| 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:212365 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMX 7 flash forms error
Hi Asim, The only way to get around this error is to make your Flash Forms smaller. I'm guessing your Flash Form must be pretty massive. Regards Niklas On 20/07/05, Asim Manzur [EMAIL PROTECTED] wrote: I appriciate that if someone can answer this. I am getting the following error. Errors, warnings or exceptions were found when compiling /cfbci-tlc/admin/index.cfm. Visit the online Flex documentation or API reference for further information. 1 Error found. Error Branch between 6248 and 39048 around line 0 exceeds 32K span. If possible, please refactor this component. I google it and found the following link explains the problem http://www.designrepublik.com/ it says that You can avoid this problem if you set FrameProfilingEnable=0 instead of 1. But I think that is for the Flex installations, I seach and couldn't find it on my cfmx installation directory nor on cfmx adminsitration. please advise. -- Regards, ~| 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:212366 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Process Monitor
On Wednesday 20 July 2005 15:26, Kevin Aebig wrote: Actually yes it does. I've worked out a browser based version as well for the Linux and Mac guys. Excellent ! Looking forward to trying this out... -- Tom Chiverton Advanced ColdFusion Programmer ~| 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:212367 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: New JRun updater
On Friday 15 July 2005 03:00, James Holmes wrote: http://www.macromedia.com/go/mpsb05-05 states that the problem is with JRun 4.0, then lists install instructions for CF Enterprise. Does thia apply to standalone CF Enterprise installs or only deployments under JRun? Anyone ? -- Tom Chiverton Advanced ColdFusion Programmer ~| 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:212368 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFIF logic problem
works fine for me! Test not logged in: cfparam name=url.no default=0 cfset request.restrict = 3 cfset session.permission = notadmin cfif listfind(request.restrict,url.no) and comparenocase(session.permission,admin) neq 0 cflocation url=index.cfm /cfif Page contentbr cfoutput #session.permission#br #url.no# /cfoutput test.cfm?no=2 Result: Content displayed test.cfm?no=3 Result: Redirected Test logged in: cfparam name=url.no default=0 cfset request.restrict = 3 cfset session.permission = admin cfif listfind(request.restrict,url.no) and comparenocase(session.permission,admin) neq 0 cflocation url=index.cfm /cfif Page contentbr cfoutput #session.permission#br #url.no# /cfoutput test.cfm?no=2 Result: Content displayed test.cfm?no=3 Result: Content displayed ~| 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:212369 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rails like Framework
On 7/21/05, Dave Carabetta [EMAIL PROTECTED] wrote: We just had a post on the Model Glue list at Topica this morning about it. Where is this post? What is subject? Chris -- Chris Velevitch Manager - Sydney Flash Developers Group www.flashdev.org.au ~| 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:212370 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is using a trigger to return the identity OK or Bad?
Try using the jtds drivers instead. I have not used a trigger to do this though so its just another driver you might try. I dislike the SQL drivers shipped with MX and would recommend finding different drivers. Adam H On 7/20/05, Bert Dawson [EMAIL PROTECTED] wrote: Years ago i picked up a way of returning the value inserted into an Identity column in SQL server, by adding a trigger to that table: CREATE TRIGGER get_my_id ON dbo.my_table FOR INSERT AS SELECT my_id AS my_new_id FROMINSERTED GO Then i can run: cfquery name=q_test datasource=#dsn# INSERT INTO my_table (my_text) VALUES ('foo') /cfquery my new id = #q_test.my_new_id# I know i can use @@IDENTITY or SCOPE_IDENTITY(), but i was wondering if the trigger method is a Bad thing to do... Its worked from CF4 to CFMX7, but barfs with the DataDirect 3.4 drivers: the insert happens, but JRun sits at 50%. Does that mean there's a bug with the driver, or something wrong with my code? Cheers Bert ~| 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:212371 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is using a trigger to return the identity OK or Bad?
Mike I'm on CFMX7 with hf2, in J2EE configuration, JRun 4 updater 5, win2003, sql server 2000. I've knockup up a test, and reproduced this on 2 dev servers, test and staging, though i haven't tried it on live :) !--- /* script to create table with trigger which returns the ID column */ if exists (select * from dbo.sysobjects where id = object_id(N'[my_table]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE dbo.my_table GO CREATE TABLE dbo.my_table ( my_id int NOT NULL IDENTITY (1, 1), my_text varchar(50) NULL ) ON [PRIMARY] GO CREATE TRIGGER get_my_id ON dbo.my_table FOR INSERT AS SELECT my_id AS my_new_id FROMINSERTED GO --- cfset dsn = trips2_hr cfset text = the time is #now()# cfquery name=q_test datasource=#dsn# INSERT INTO my_table (my_text) VALUES ('#text#') /cfquery cfdump var=#q_test# When using DataDirect 3.3 it works, but when i upgrade to 3.4 JRun CPU sticks at 50%, and the thread remains busy. If i delete the trigger then it works on the 3.4 drivers. I haven't had time to investigate this further than posting this mail... Cheers Bert On 7/20/05, Mike Chabot [EMAIL PROTECTED] wrote: Bert, I have been returning new identities using triggers for years without any problems. It is working for me using CFMX 6.1 and the DataDirect 3.4drivers. I do not see any JRun CPU spike on my server. Are you suggesting that everything works without any error messages being generated, but JRun seems to consume more CPU than it should? I would be interested to know if you are able to find an answer to this problem. I would make sure you have applied the latest SQL Server and CFMX service packs / hotfixes. Good luck, Mike Chabot On 7/20/05, Bert Dawson [EMAIL PROTECTED] wrote: Years ago i picked up a way of returning the value inserted into an Identity column in SQL server, by adding a trigger to that table: CREATE TRIGGER get_my_id ON dbo.my_table FOR INSERT AS SELECT my_id AS my_new_id FROM INSERTED GO Then i can run: cfquery name=q_test datasource=#dsn# INSERT INTO my_table (my_text) VALUES ('foo') /cfquery my new id = #q_test.my_new_id# I know i can use @@IDENTITY or SCOPE_IDENTITY(), but i was wondering if the trigger method is a Bad thing to do... Its worked from CF4 to CFMX7, but barfs with the DataDirect 3.4 drivers: the insert happens, but JRun sits at 50%. Does that mean there's a bug with the driver, or something wrong with my code? Cheers Bert ~| 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:212372 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Rails like Framework
http://lists.topica.com/lists/modelglue -- //SIGNED// Chris Montgomery, Contractor HQ AF Security Forces Center, Antiterrorism Branch 1517 Billy Mitchell Blvd, Bldg 954 Lackland AFB, TX 78236-0119 DSN 312.945.7150 Comm 210.925.7150 -Original Message- From: Chris Velevitch [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 5:12 AM To: CF-Talk Subject: Re: Rails like Framework On 7/21/05, Dave Carabetta [EMAIL PROTECTED] wrote: We just had a post on the Model Glue list at Topica this morning about it. Where is this post? What is subject? Chris ~| 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:212373 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Query object contained within a Query object
Because anybody looking at the code wouldn't at first understand what is going on. I don't think this is a good reason. If somebody looking at cfset QuerySetCell(query2, ColumnName, query1, rowNumber) is not able to understand what's being done, he better not have access to the code anyway. Personnally, I'd be more interested in hearing why this would be a *good* idea? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| 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:212374 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Amazon AWS
Cutter, I was trying that code already and I'm still getting the error about not being able to create a web services stub. Can you post an example of exactly what you are filling in for all the variables (except for your developer key obviously) so that I can try to determine what's wrong? Thanks. On 7/20/05, Cutter (CF-Talk) [EMAIL PROTECTED] wrote: Whoops, I missed omitting part of an omission. You can also remove the following lines of code from the previous post: Cutter (CF-Talk) wrote: !--- Call Amazon ASIN Search SOAP Interface. --- cfinvoke webservice=http://soap.amazon.com/schemas/AmazonWebServices.wsdl; method=AsinSearchRequest returnvariable=ProductInfo cfinvokeargument name=AsinSearchRequest value=#SearchRequest#/ /cfinvoke cfdump expand=yes var=#productinfoARRAY.details# --- ~| 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:212375 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
MX ActiveX
Hey all, My company has finally upgraded to MX woohoo... Anyway i'm having an issue with an OCX object i have embedded in one of my applications. I've done plenty of searching to see if anyone else has had this issue. but i can't find anything. Hopefully someone here can help. the OCX is a custom browser that is launched via CF. The OCX gets initiated on the web server. when it tries to initiate i get the following error. run-time error '-2147024882 (800700e)' system Error H80070008 -2147024888 Not enough Storage is available to porcess this command. The machine it self is a windows 2000 server with 768MB Ram. It worked fine when coldfusion 5 was installed on this same machine. When i installed MX i did a new install. Unistalled 5 and then installed MX. Any Help would be greatly appreciated. Regards, Jason Reichenbach Senior Product Developer Openhire.com ~| 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:212376 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rails like Framework
I am a subscriber to the model glue list and I don't know which posting you are referring to. What is the subject of this post? Chris -- Chris Velevitch Manager - Sydney Flash Developers Group www.flashdev.org.au ~| 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:212377 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Formatting text in Report Builder
Works great, thanks! I'm using Report Builder to display the following information. Have you tried appending a carriage return/line feed to the end of each line? like this: FORM.address CHR(13) CHR(10) FORM.city CHR(13) CHR(10) FORM.phone -- Eddie Awad. http://awads.net/ ~| 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:212378 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rails like Framework
On 7/21/05, Chris Velevitch [EMAIL PROTECTED] wrote: I am a subscriber to the model glue list and I don't know which posting you are referring to. What is the subject of this post? Drumroll...MG 1.0 Status? I kept is pretty self-explanatory! ;) Here's the direct link to the start of the thread (as it has grown a bit). http://lists.topica.com/lists/modelglue/read/message.html?mid=1719180697sort=dstart=703 Regards, Dave. ~| 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:212379 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: New JRun updater
On 7/21/05, Thomas Chiverton [EMAIL PROTECTED] wrote: On Friday 15 July 2005 03:00, James Holmes wrote: http://www.macromedia.com/go/mpsb05-05 states that the problem is with JRun 4.0, then lists install instructions for CF Enterprise. Does thia apply to standalone CF Enterprise installs or only deployments under JRun? Anyone ? I would say standard as well. First off, standard edition allows for J2EE session variables, and uses a chopped down version of JRun to do it, so I would imagine this Updater applies. Secondly, and perhaps more clearly, the install instructions refer to the {cf_root}/runtime/servers/lib path to install the jar file, which is a path that only exists in the standalone version of CF. The Enterprise version would use the steps above that section, where you drop it into {jrun_root}/servers/lib. I think that Macromedia simply mis-named the section for the standalone installation process. Unfortunately, I don't see a Feedback link like their Development Center articles have, so I'm not sure who to ping for this. Sean, if you're lurking and stumble across this thread, is there a chance you could escalate this question to the right person/people? Regards, Dave. Regards, Dave. ~| 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:212380 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Flash form doesn't display
I am new to using flash forms and nothing is being displayed on my browser. My test code is below, is there anything special I need to do? cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform ~| 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:212381 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: New JRun updater
Exactly - hence my asking the question. MM really needs to make that technote more clear. On 7/21/05, Dave Carabetta [EMAIL PROTECTED] wrote: Secondly, and perhaps more clearly, the install instructions refer to the {cf_root}/runtime/servers/lib path to install the jar file, which is a path that only exists in the standalone version of CF. The Enterprise version would use the steps above that section, where you drop it into {jrun_root}/servers/lib. I think that Macromedia simply mis-named the section for the standalone installation process. ~| 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:212382 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Flash form doesn't display
Chad, Rendered fine on my browser. Is this the ONLY code you have in your template? If you have other code, it could be generating an error which could keep the flash form from showing (and I've found sometimes you can't even see you error unless you View Source of the page. View the source and see if that gives you any indication as to why the page is failing. There's definitely nothing wrong with the code below. Dave -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 10:23 AM To: CF-Talk Subject: Flash form doesn't display I am new to using flash forms and nothing is being displayed on my browser. My test code is below, is there anything special I need to do? cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform ~| 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:212383 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flash form doesn't display
I just pasted your code below into a page and it appeared fine in my browser. What else is on the page? I have found that sometimes other problems on the page will prevent the flash form from displaying. Cheers, Dave Chad McCue wrote: I am new to using flash forms and nothing is being displayed on my browser. My test code is below, is there anything special I need to do? cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform ~| 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:212384 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Patching ColdFusion 6.1 running inside of JRun?
Hello, Does anyone have any information on how to patch ColdFusion running as a J2EE server inside JRun? I have a server with six ColdFusion instances, and I can't figure out how to patch it. I downloaded cfmx_61update_java.jar from http://www.macromedia.com/support/coldfusion/downloads_updates.html, but when I run it I get the following error: Failed to load Main-Class manifest attribute from cfmx_61update_java.jar And I'm not sure that that is what I need anyway. Any thoughts or resources? As a worst case, I suppose I can do all the individual patches instead of the updater. Thanks, Matt ~| 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:212385 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flash form doesn't display
There is nothing else on the page. Below is my entire page. When I try and view it in IE the loading never stops, just keeps going. In Mozilla the page loads very quickly with nothing being displayed. Any browser settings that I need to be aware of? !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 titleUntitled Document/title /head body cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform /body /html - Original Message - From: Dave Phipps [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 21, 2005 10:42 AM Subject: Re: Flash form doesn't display I just pasted your code below into a page and it appeared fine in my browser. What else is on the page? I have found that sometimes other problems on the page will prevent the flash form from displaying. Cheers, Dave Chad McCue wrote: I am new to using flash forms and nothing is being displayed on my browser. My test code is below, is there anything special I need to do? cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform ~| 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:212386 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flash form doesn't display
Anything special settings for the server? - Original Message - From: Dave Phipps [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 21, 2005 10:42 AM Subject: Re: Flash form doesn't display I just pasted your code below into a page and it appeared fine in my browser. What else is on the page? I have found that sometimes other problems on the page will prevent the flash form from displaying. Cheers, Dave Chad McCue wrote: I am new to using flash forms and nothing is being displayed on my browser. My test code is below, is there anything special I need to do? cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform ~| 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:212387 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Flash form doesn't display
Just a basic duh question to ask, but you do have a working Flash plugin installed for each browser, correct? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 7:49 AM To: CF-Talk Subject: Re: Flash form doesn't display There is nothing else on the page. Below is my entire page. When I try and view it in IE the loading never stops, just keeps going. In Mozilla the page loads very quickly with nothing being displayed. Any browser settings that I need to be aware of? !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 titleUntitled Document/title /head body cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform /body /html - Original Message - From: Dave Phipps [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 21, 2005 10:42 AM Subject: Re: Flash form doesn't display I just pasted your code below into a page and it appeared fine in my browser. What else is on the page? I have found that sometimes other problems on the page will prevent the flash form from displaying. Cheers, Dave Chad McCue wrote: I am new to using flash forms and nothing is being displayed on my browser. My test code is below, is there anything special I need to do? cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform ~| 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:212388 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Patching ColdFusion 6.1 running inside of JRun?
CF isn't a J2EE server - JRun is the J2EE server. ColdFusion is an application running on said server. You should be able to download the exe for the update. -Original Message- From: Plunkett, Matt [mailto:[EMAIL PROTECTED] Sent: 21 July 2005 15:45 To: CF-Talk Subject: Patching ColdFusion 6.1 running inside of JRun? Hello, Does anyone have any information on how to patch ColdFusion running as a J2EE server inside JRun? I have a server with six ColdFusion instances, and I can't figure out how to patch it. I downloaded cfmx_61update_java.jar from http://www.macromedia.com/support/coldfusion/downloads_updates.html, but when I run it I get the following error: Failed to load Main-Class manifest attribute from cfmx_61update_java.jar And I'm not sure that that is what I need anyway. Any thoughts or resources? As a worst case, I suppose I can do all the individual patches instead of the updater. Thanks, Matt ~| 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:212389 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flash form doesn't display
yes, I have a working plugin installed. - Original Message - From: Ian Skinner [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 21, 2005 10:51 AM Subject: RE: Flash form doesn't display Just a basic duh question to ask, but you do have a working Flash plugin installed for each browser, correct? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 7:49 AM To: CF-Talk Subject: Re: Flash form doesn't display There is nothing else on the page. Below is my entire page. When I try and view it in IE the loading never stops, just keeps going. In Mozilla the page loads very quickly with nothing being displayed. Any browser settings that I need to be aware of? !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 titleUntitled Document/title /head body cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform /body /html - Original Message - From: Dave Phipps [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 21, 2005 10:42 AM Subject: Re: Flash form doesn't display I just pasted your code below into a page and it appeared fine in my browser. What else is on the page? I have found that sometimes other problems on the page will prevent the flash form from displaying. Cheers, Dave Chad McCue wrote: I am new to using flash forms and nothing is being displayed on my browser. My test code is below, is there anything special I need to do? cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform ~| 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:212390 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Flash form doesn't display
IIRC, the CFADMIN\CFIDE\scripts folder needs to be accessible to the web folder where your form resides. The scriptSrc attribute in cfform can do this, as well as mapping a virtual directory in the webspace. What your describing sounds like the same problems I run into when I try to use a Flash form in a webspace that can't access CFADMIN\CFIDE\scripts HTH Matt Osbun Web Developer Health Systems, International -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 9:51 AM To: CF-Talk Subject: Re: Flash form doesn't display Anything special settings for the server? - Original Message - From: Dave Phipps [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 21, 2005 10:42 AM Subject: Re: Flash form doesn't display I just pasted your code below into a page and it appeared fine in my browser. What else is on the page? I have found that sometimes other problems on the page will prevent the flash form from displaying. Cheers, Dave Chad McCue wrote: I am new to using flash forms and nothing is being displayed on my browser. My test code is below, is there anything special I need to do? cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform ~| 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:212391 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Patching ColdFusion 6.1 running inside of JRun?
Whatever on the lingo. CF is running as a Java application within the servers portion of JRun. If I use the .exe, it will only update the war file, which has been deployed already. Does this mean that I will have to redeploy every time I patch? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 10:46 AM To: CF-Talk Subject: RE: Patching ColdFusion 6.1 running inside of JRun? CF isn't a J2EE server - JRun is the J2EE server. ColdFusion is an application running on said server. You should be able to download the exe for the update. -Original Message- From: Plunkett, Matt [mailto:[EMAIL PROTECTED] Sent: 21 July 2005 15:45 To: CF-Talk Subject: Patching ColdFusion 6.1 running inside of JRun? Hello, Does anyone have any information on how to patch ColdFusion running as a J2EE server inside JRun? I have a server with six ColdFusion instances, and I can't figure out how to patch it. I downloaded cfmx_61update_java.jar from http://www.macromedia.com/support/coldfusion/downloads_updates.html, but when I run it I get the following error: Failed to load Main-Class manifest attribute from cfmx_61update_java.jar And I'm not sure that that is what I need anyway. Any thoughts or resources? As a worst case, I suppose I can do all the individual patches instead of the updater. Thanks, Matt ~| 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:212392 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flash form doesn't display
Is it available at a public address? If so, we could try to pull it up and see for sure if it's a client problem or not. Chad McCue wrote: I am new to using flash forms and nothing is being displayed on my browser. My test code is below, is there anything special I need to do? cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform ~| 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:212393 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
# Signs Causing a different Problem
Hi Folks, In my document management application, I have recently run into a problem. I have some documents which were named with pound signs in their name interview with john smith #1.doc for instance. When I link to this file name, the link doesn't work: a href=/documents/interview with john smith #1.docDownload file a/a It will generate a 404 file not found. So the question is, why does this happen? Is this a document encoding issue? Can anyone suggest a solution aside from just renaming the file before its saved? Thank you. Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ~| 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:212394 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Patching ColdFusion 6.1 running inside of JRun?
LOL...whatever may be, but it is kind of fundamental. You could download the individual jar/.cfm and then install them manually - just as easy. The .exe should automatically patch - you can tell when you restart by looking at the CFIDE summary info. -Original Message- From: Plunkett, Matt [mailto:[EMAIL PROTECTED] Sent: 21 July 2005 16:00 To: CF-Talk Subject: RE: Patching ColdFusion 6.1 running inside of JRun? Whatever on the lingo. CF is running as a Java application within the servers portion of JRun. If I use the .exe, it will only update the war file, which has been deployed already. Does this mean that I will have to redeploy every time I patch? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 10:46 AM To: CF-Talk Subject: RE: Patching ColdFusion 6.1 running inside of JRun? CF isn't a J2EE server - JRun is the J2EE server. ColdFusion is an application running on said server. You should be able to download the exe for the update. -Original Message- From: Plunkett, Matt [mailto:[EMAIL PROTECTED] Sent: 21 July 2005 15:45 To: CF-Talk Subject: Patching ColdFusion 6.1 running inside of JRun? Hello, Does anyone have any information on how to patch ColdFusion running as a J2EE server inside JRun? I have a server with six ColdFusion instances, and I can't figure out how to patch it. I downloaded cfmx_61update_java.jar from http://www.macromedia.com/support/coldfusion/downloads_updates.html, but when I run it I get the following error: Failed to load Main-Class manifest attribute from cfmx_61update_java.jar And I'm not sure that that is what I need anyway. Any thoughts or resources? As a worst case, I suppose I can do all the individual patches instead of the updater. Thanks, Matt ~| 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:212395 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: # Signs Causing a different Problem
You need to espace it... a href=/documents/interview with john smith##1.docDownload file a/a -Original Message- From: E C list [mailto:[EMAIL PROTECTED] Sent: 21 July 2005 16:09 To: CF-Talk Subject: # Signs Causing a different Problem Hi Folks, In my document management application, I have recently run into a problem. I have some documents which were named with pound signs in their name interview with john smith #1.doc for instance. When I link to this file name, the link doesn't work: a href=/documents/interview with john smith #1.docDownload file a/a It will generate a 404 file not found. So the question is, why does this happen? Is this a document encoding issue? Can anyone suggest a solution aside from just renaming the file before its saved? Thank you. Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ~| 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:212396 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Patching ColdFusion 6.1 running inside of JRun?
On 7/21/05, Plunkett, Matt [EMAIL PROTECTED] wrote: Hello, Does anyone have any information on how to patch ColdFusion running as a J2EE server inside JRun? I have a server with six ColdFusion instances, and I can't figure out how to patch it. I downloaded cfmx_61update_java.jar from http://www.macromedia.com/support/coldfusion/downloads_updates.html, but when I run it I get the following error: Failed to load Main-Class manifest attribute from cfmx_61update_java.jar And I'm not sure that that is what I need anyway. Any thoughts or resources? As a worst case, I suppose I can do all the individual patches instead of the updater. Are you saying that you're using MX 6.0 right now, and not 6.1? If you're on 6.0, do not just install each individual hotfix, as there were some significant improvements made in the official 6.1 updater that no individual hotfix contains. What Operating System are you deploying on? The version you downloaded is only for non-supported platforms (i.e., Mac). If you're on Windows, Linux, Solaris, etc., there are specific downloads for each OS type, found here: http://www.macromedia.com/support/coldfusion/downloads_updates.html#updater Did you use these instructions to install the Updater? http://www.macromedia.com/support/documentation/en/coldfusion/mx61updater/releasenotes_cfmx61_updater.html If you're already using MX 6.1, then you simply need to download each post-6.1 hotfix and unzip the jar file into your {jrun_root}/servers/lib directory and restart each instance. Some of the TechNotes for each hotfix might have other instructions if it's not a simply jar file, but this is the general process. Hope this helps? Regards, Dave. ~| 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:212397 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Flash form doesn't display
This sounds like it to me too. The /CFIDE/SCRIPTS folder has to be accessible for all CFFORM's anyway, so it makes sense that it could be the culprit. Dave -Original Message- From: Matt Osbun [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 11:02 AM To: CF-Talk Subject: RE: Flash form doesn't display IIRC, the CFADMIN\CFIDE\scripts folder needs to be accessible to the web folder where your form resides. The scriptSrc attribute in cfform can do this, as well as mapping a virtual directory in the webspace. What your describing sounds like the same problems I run into when I try to use a Flash form in a webspace that can't access CFADMIN\CFIDE\scripts HTH Matt Osbun Web Developer Health Systems, International -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 9:51 AM To: CF-Talk Subject: Re: Flash form doesn't display Anything special settings for the server? - Original Message - From: Dave Phipps [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, July 21, 2005 10:42 AM Subject: Re: Flash form doesn't display I just pasted your code below into a page and it appeared fine in my browser. What else is on the page? I have found that sometimes other problems on the page will prevent the flash form from displaying. Cheers, Dave Chad McCue wrote: I am new to using flash forms and nothing is being displayed on my browser. My test code is below, is there anything special I need to do? cfform format=flash width=500 skin=halogreen cfformgroup type=tabNavigator cfformgroup type=page label=Customer Management height=200 cfformgroup type=horizontal label=Name: cfinput type=text name=firstname / cfinput type=text name=Lastname / /cfformgroup cfinput type=text name=email label=Email /cfformgroup cfformgroup type=page label=Content Management height=200 cfinput type=text name=vacationStartDate label=Vacation Start Date cfinput type=submit name=Submit value=Save /cfformgroup /cfformgroup /cfform ~| 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:212398 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: # Signs Causing a different Problem
Try this: a href=#URLEncodedFormat('/documents/interview with john smith ##1.doc')#Download file a/a The issue isn't so much cold fusion, although you do nee dthe double hash above, but that the browser thinks everything after the hash is a 'bookmark' so it's really looking for: /documents/interview with john smith and it's not finding that file. Let me know if it works! Dave -Original Message- From: E C list [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 11:09 AM To: CF-Talk Subject: # Signs Causing a different Problem Hi Folks, In my document management application, I have recently run into a problem. I have some documents which were named with pound signs in their name interview with john smith #1.doc for instance. When I link to this file name, the link doesn't work: a href=/documents/interview with john smith #1.docDownload file a/a It will generate a 404 file not found. So the question is, why does this happen? Is this a document encoding issue? Can anyone suggest a solution aside from just renaming the file before its saved? Thank you. Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ~| 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:212399 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
OT: CSS and Firefox
I can't get my head around this. Small but significant problem with external stylesheets. I've got this page (http://s05.seacrets.com) where the flash item in the middle of the page is supposed to be flush on the top of the div containing it (#primaryContent). This (oddly) is working great in IE 6.x, but isn't working within Firefox 1.0.5. I have a global.css file loading first, setting initial style properties of all base elements of the site (header graphic, nav menu, etc.). I use another stylesheet to define styles for elements specific to the page being viewed. This file may also be used to override style settings set previously by the global stylesheet. In this case I'm overriding the padding property of the primaryContent Div (well, I am in IE anyway). I just can't seem to get this secondary style sheet to take. I've run the W3C Validators on the page. CSS validates fine, the XHTML only bombs on the embed tag used for the flash element (anyone know how to get around that?). Anybody with any ideas I am open to suggestions. Any and all help greatly appreciated, Cutter ~| 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:212400 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: # Signs Causing a different Problem
In my document management application, I have recently run into a problem. I have some documents which were named with pound signs in their name interview with john smith #1.doc for instance. When I link to this file name, the link doesn't work: a href=/documents/interview with john smith #1.docDownload file a/a It will generate a 404 file not found. So the question is, why does this happen? Is this a document encoding issue? Can anyone suggest a solution aside from just renaming the file before its saved? The # character is a URL metacharacter - it means something specific within the context of a URL. If you want to use a metacharacter as a literal character, you need to escape the metacharacter. If you're building a CF page, this is easy to do with the URLEncodedFormat function: cfoutput a href=#URLEncodedFormat(/documents/interview with john smith #1.doc)#Download file a/a /cfoutput If you're not building a CF page, you will need to manually escape the characters with their matching escape sequences. The URL encoding sequence for # is %23: http://www.w3schools.com/html/html_ref_urlencode.asp For that matter, spaces are invalid characters within a URL as well, although most modern browsers will automatically escape them. 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! ~| 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:212401 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Rails like Framework
That topic doesn't say anything about rails like frameworks nor does compare mg with rails. There's no mention of the differences between 1.0 and 0.9. Nor does it discuss Rocket. ~| 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:212403 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: # Signs Causing a different Problem
Spaces and other non-standard characters in filenames will cause issues. You could escape the non-alphanumerics... a href=/documents/interview%20with%20john%20smith%20%231.doc but from my experience that will only work with IE. Firefox/Mozilla will still choke. We're pretty adamant 'round here that filenames that are to be accessible via a hyperlink must contain only letters, numbers, and underscores. On 7/21/05, E C list [EMAIL PROTECTED] wrote: Hi Folks, In my document management application, I have recently run into a problem. I have some documents which were named with pound signs in their name interview with john smith #1.doc for instance. When I link to this file name, the link doesn't work: a href=/documents/interview with john smith #1.docDownload file a/a It will generate a 404 file not found. So the question is, why does this happen? Is this a document encoding issue? Can anyone suggest a solution aside from just renaming the file before its saved? Thank you. Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ~| 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:212402 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
assuring mail was sent?
Is there a way to assure that a batch of mail was sent in a shared hosting environment? In other words, I am sending out 7K emails in a batch and want to know which ones successfully passed through the mail server and which ones didn't. BUT - I don't have access to the mail server log files whatsoever, due to the client being in a shared environment. When I'm sending these mailings out, it seems like we have some people who are getting the mail, and people who aren't, and the results change per mailing. It's a weird problem that I need to get to the bottom of. TY Ray ~| 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:212404 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Patching ColdFusion 6.1 running inside of JRun?
I'm running Windows 2000 with ColdFusion MX 6.1 (full version is 6,1,0,63958). The second URL seems to be what I needed, along with Neil's advice to just run the .exe. It took me a long time to wade through the various instructions on how to set this up, and I was leery of running things on the server willy nilly. Thanks. -Original Message- From: Dave Carabetta Sent: Thursday, July 21, 2005 11:13 AM To: CF-Talk Subject: Re: Patching ColdFusion 6.1 running inside of JRun? Are you saying that you're using MX 6.0 right now, and not 6.1? If you're on 6.0, do not just install each individual hotfix, as there were some significant improvements made in the official 6.1 updater that no individual hotfix contains. What Operating System are you deploying on? The version you downloaded is only for non-supported platforms (i.e., Mac). If you're on Windows, Linux, Solaris, etc., there are specific downloads for each OS type, found here: http://www.macromedia.com/support/coldfusion/downloads_updates.html#updater Did you use these instructions to install the Updater? http://www.macromedia.com/support/documentation/en/coldfusion/mx61updater/re leasenotes_cfmx61_updater.html If you're already using MX 6.1, then you simply need to download each post-6.1 hotfix and unzip the jar file into your {jrun_root}/servers/lib directory and restart each instance. Some of the TechNotes for each hotfix might have other instructions if it's not a simply jar file, but this is the general process. Hope this helps? Regards, Dave. ~| 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:212405 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: assuring mail was sent?
Without getting some sort of access to the logs or the mail folders (spool and undeliverable) there's no real way to check. I never really got that far when I was on shared hosting so the issue never came up, but now I have a dedicated box so I do some checks. The only suggestion I'd have is to put the failto parameter in cfmail and set an address that bounce backs can go to and you can analyze those. That won't handle issues with the SMTP server or anything like that though (I don't think). Otherwise, the backhanded thing to do would be to see if you're in a sandbox on your box and if not, perhaps you could use cffile and cfdirectory to view logs and folders to see what worked and what failed. Not sure I should recommend that, but we all know it's a possibility. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 11:37 AM To: CF-Talk Subject: assuring mail was sent? Is there a way to assure that a batch of mail was sent in a shared hosting environment? In other words, I am sending out 7K emails in a batch and want to know which ones successfully passed through the mail server and which ones didn't. BUT - I don't have access to the mail server log files whatsoever, due to the client being in a shared environment. When I'm sending these mailings out, it seems like we have some people who are getting the mail, and people who aren't, and the results change per mailing. It's a weird problem that I need to get to the bottom of. TY Ray ~| 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:212406 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CSS and Firefox
Place the swf within a table inside the div. Aldon -Original Message- From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 11:19 AM To: CF-Talk Subject: OT: CSS and Firefox I can't get my head around this. Small but significant problem with external stylesheets. I've got this page (http://s05.seacrets.com) where the flash item in the middle of the page is supposed to be flush on the top of the div containing it (#primaryContent). This (oddly) is working great in IE 6.x, but isn't working within Firefox 1.0.5. I have a global.css file loading first, setting initial style properties of all base elements of the site (header graphic, nav menu, etc.). I use another stylesheet to define styles for elements specific to the page being viewed. This file may also be used to override style settings set previously by the global stylesheet. In this case I'm overriding the padding property of the primaryContent Div (well, I am in IE anyway). I just can't seem to get this secondary style sheet to take. I've run the W3C Validators on the page. CSS validates fine, the XHTML only bombs on the embed tag used for the flash element (anyone know how to get around that?). Anybody with any ideas I am open to suggestions. Any and all help greatly appreciated, Cutter ~| 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:212407 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: assuring mail was sent?
You can verify the mail at least processed by sending a copy to one of your email addresses. Crude but your hands are tied on a shared server. Lee Surma ~| 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:212408 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: CSS and Firefox
What's interesting is when I use the webdeveloper toolbar 'edit css' option, the screen will redraw quickly and have the correct spacing on the top. It looks like FF is having trouble parsing that second stylesheet. You might want to try to get rid of everything but the definition for that div narrow it down from there. On 7/21/05, Cutter (CF-Talk) [EMAIL PROTECTED] wrote: I can't get my head around this. Small but significant problem with external stylesheets. I've got this page (http://s05.seacrets.com) where the flash item in the middle of the page is supposed to be flush on the top of the div containing it (#primaryContent). This (oddly) is working great in IE 6.x, but isn't working within Firefox 1.0.5. I have a global.css file loading first, setting initial style properties of all base elements of the site (header graphic, nav menu, etc.). I use another stylesheet to define styles for elements specific to the page being viewed. This file may also be used to override style settings set previously by the global stylesheet. In this case I'm overriding the padding property of the primaryContent Div (well, I am in IE anyway). I just can't seem to get this secondary style sheet to take. I've run the W3C Validators on the page. CSS validates fine, the XHTML only bombs on the embed tag used for the flash element (anyone know how to get around that?). Anybody with any ideas I am open to suggestions. Any and all help greatly appreciated, Cutter ~| 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:212409 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Patching ColdFusion 6.1 running inside of JRun?
On 7/21/05, Plunkett, Matt [EMAIL PROTECTED] wrote: I'm running Windows 2000 with ColdFusion MX 6.1 (full version is 6,1,0,63958). The second URL seems to be what I needed, along with Neil's advice to just run the .exe. It took me a long time to wade through the various instructions on how to set this up, and I was leery of running things on the server willy nilly. Gotcha. Be aware that there have been several subsequent hotfixes that you will need to install *after* the 6.1 Updater 1 install to be fully up to date, including a new release of the DataDirect JDBC drivers. Here's the link that I bookmarked to get a listing of the latest patches by version: http://www.macromedia.com/go/tn_17883 Regards, Dave. ~| 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:212410 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Looping over query assistance
I want to get all the fields matching the userid and return and array of the matching values. So in my component, I have the following (see comments in the middle) : cffunction name=getCourseData access=remote cfargument name=R_userName type=string required=yes cfquery name=getCourses datasource=learnline SELECT title FROM courses WHERE userid = cfqueryparam cfsqltype=CF_SQL_STRING value=#Arguments.R_userName# /cfquery !---the following is the part that needs help (the code above works fine)--- cfset courses=ArrayNew(1) cfset i = 0!--- probably not the best way to do the loop--- cfloop query=getCourses courses[i] = #getCourses.title# cfset i = i + 1 /cfloop cfreturn #courses# /cffunction If I instead just return: #getCourses.title# It works, I can get the first title that matches the userid in the query, but if I do the loop like that, and I just return #courses# then it returns an empty array. What am I doing wrong? Fairly new to CF, so any examples are welcome. Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ~| 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:212411 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Looping over query assistance
Just return the whole query and skip all the other stuff...like so: cffunction name=getCourseData access=remote cfargument name=R_userName type=string required=yes cfquery name=getCourses datasource=learnline SELECT title FROM courses WHERE userid = cfqueryparam cfsqltype=CF_SQL_STRING value=#Arguments.R_userName# /cfquery cfreturn getCourses /cffunction I just don't see the point of stuffing the only column returned (title) into an array.just use the query ;-) HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| 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:212412 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: CFMX Java API
Hi George, This is the piece of code that I am trying to rewrite in coldfusion : RequestIF request = null; request = new Request(RequestIF.AUTHORIZE); I rewrote that as: cfobject action=create type=java class=RequestIF name=reqif cfset x=reqif.AUTHORIZE cfset castresult=javacast(String,x) cfobject action=create type=java class=Request name=reqtype cfset reqtype.init(#castresult#) I get the following error: An exception occurred when instantiating a java object. The cause of this exception was that: . Shailaja, Are you specifically working with the Plumtree API or with some other application's API? Jeff's email, which by the way was sent in September 2004, seemed more related to problems with using ColdFusion and Plumtree. If it is not related to Plumtree, can you show any code for the problem that you are having? George Hi Jeff, How is the performance of the application where u integrated the java based API with coldfusion? Did it have any adverse effect on your server? Currently I am in the process of integrating the same and am really concerned abt the performance. ALso am getting this error: An exception occurred when instantiating a java object. The cause of this exception was that: . ~| 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:212413 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Patching ColdFusion 6.1 running inside of JRun?
Gotcha. Be aware that there have been several subsequent hotfixes that you will need to install *after* the 6.1 Updater 1 install I upgraded a 6.1 server to the latest 'n greatest patches yesterday and was impressed at how easy it was to do - no convoluted add-this-file-edit-this-line nonsense, they were almost all a case of placing a JAR file into /runtime/lib or /runtime/server/lib. Easy-peasy! -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| 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:212414 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Patching ColdFusion 6.1 running inside of JRun?
The JDBC update seems to be for MX 7. I cannot upgrade that far. Should I still use the patches for 7 on MX 6.1? My gut would be to think that applying version 7 patches could cause problems. -Original Message- From: Dave Carabetta Sent: Thursday, July 21, 2005 11:58 AM To: CF-Talk Subject: Re: Patching ColdFusion 6.1 running inside of JRun? Gotcha. Be aware that there have been several subsequent hotfixes that you will need to install *after* the 6.1 Updater 1 install to be fully up to date, including a new release of the DataDirect JDBC drivers. Here's the link that I bookmarked to get a listing of the latest patches by version: http://www.macromedia.com/go/tn_17883 Regards, Dave. ~| 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:212415 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: CFMX Java API
This is the piece of code that I am trying to rewrite in coldfusion : RequestIF request = null; request = new Request(RequestIF.AUTHORIZE); I rewrote that as: cfobject action=create type=java class=RequestIF name=reqif cfset x=reqif.AUTHORIZE cfset castresult=javacast(String,x) cfobject action=create type=java class=Request name=reqtype cfset reqtype.init(#castresult#) I'm certainly no Java expert, but the CF code you wrote doesn't match the Java code you're trying to rewrite. I think you'll need to explicitly initialize your RequestIF object: cfset request = CreateObject(java, RequestIF).init(RequestIF.AUTHORIZE) I'm not sure where you're getting your second class from. I'm not sure why you'd need to pass a public property of an object to its own initialization, either. 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! ~| 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:212416 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Looping over query assistance
cfreturn listtoarray(valuelist(getCourses.title)) -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: 21 July 2005 17:19 To: CF-Talk Subject: Re: Looping over query assistance Just return the whole query and skip all the other stuff...like so: cffunction name=getCourseData access=remote cfargument name=R_userName type=string required=yes cfquery name=getCourses datasource=learnline SELECT title FROM courses WHERE userid = cfqueryparam cfsqltype=CF_SQL_STRING value=#Arguments.R_userName# /cfquery cfreturn getCourses /cffunction I just don't see the point of stuffing the only column returned (title) into an array.just use the query ;-) HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| 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:212417 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Looping over query assistance
On 7/21/05, Merrill, Jason [EMAIL PROTECTED] wrote: I want to get all the fields matching the userid and return and array of the matching values. ... #getCourses.title# It works, I can get the first title that matches the userid in the query, but if I do the loop like that, and I just return #courses# then it returns an empty array. What am I doing wrong? use listToArray(valueList(getCourses.title)) -- Eddie Awad. http://awads.net/ ~| 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:212418 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Patching ColdFusion 6.1 running inside of JRun?
On 7/21/05, Plunkett, Matt [EMAIL PROTECTED] wrote: The JDBC update seems to be for MX 7. I cannot upgrade that far. Should I still use the patches for 7 on MX 6.1? My gut would be to think that applying version 7 patches could cause problems. It's for 6.1 as well. You just have to read the TechNote with it: http://www.macromedia.com/go/1a3c2ad0 Right under the Products Supported section at the top, you'll see 6.1 listed. The other 3 hotfixes for 7 you can't use/don't need. Regards, Dave. ~| 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:212419 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Looping over query assistance
Perfect, thank you. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: Eddie Awad [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 12:36 PM To: CF-Talk Subject: Re: Looping over query assistance On 7/21/05, Merrill, Jason [EMAIL PROTECTED] wrote: I want to get all the fields matching the userid and return and array of the matching values. ... #getCourses.title# It works, I can get the first title that matches the userid in the query, but if I do the loop like that, and I just return #courses# then it returns an empty array. What am I doing wrong? use listToArray(valueList(getCourses.title)) -- Eddie Awad. http://awads.net/ ~| 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:212420 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT: CFMX Java API
Actually RequestIF is the interface that is implemented by the class Request. So its like I need to create a Request object... that code could have been written as: RequestIF request = new Request(RequestIF.CC_AUTHORIZE); where Request implements RequestIF This is the piece of code that I am trying to rewrite in coldfusion : I'm certainly no Java expert, but the CF code you wrote doesn't match the Java code you're trying to rewrite. I think you'll need to explicitly initialize your RequestIF object: cfset request = CreateObject(java, RequestIF).init(RequestIF.AUTHORIZE) I'm not sure where you're getting your second class from. I'm not sure why you'd need to pass a public property of an object to its own initialization, either. 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! ~| 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:212422 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Query object contained within a Query object
Thank you both for your responses. Personnally, I'd be more interested in hearing why this would be a *good* idea? Primarily because query objects can be used with the cfoutput/cfloop tags which IMO provide a simpler and cleaner method for accessing the related information than structures or array objects. While a simple array/structure is pretty straight-forward, I think it takes a lot more code and is less intutive to retrieve information from a similar construct composed of nested arrays/structures. I've seen structures of structures used before, but not queries within queries and am wondering if there is a good reason why. ~| 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:212421 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
MachII on Windows2003 and CFMX7
I am trying to run a application that is running perfectly on a windows 2000 server running CFMX6 on my new windows 2003 server running CFMX7. I have put both the MachII folder and my app folder in my D:/inetpub/wwwroot folder. I set up the application in IIS the exact same way it was set up on the windows2000 server. When I try and run my application I am getting a Could not find the ColdFusion Component MachII.framework.AppLoader. The error occurred in D:\Inetpub\wwwroot\MassProspector\SiteSettings.cfm: line 19 17 : cfif NOT (StructKeyExists(application[MACHII_APP_KEY],'appLoader') AND 18 :IsObject(application[MACHII_APP_KEY].appLoader)) 19 :cfset application[MACHII_APP_KEY].appLoader = CreateObject('component', 'MachII.framework.AppLoader') / 20 :cfset application[MACHII_APP_KEY].appLoader.init(MACHII_CONFIG_PATH) / 21 : /cfif ~| 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:212423 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
MachII on Windows2003 and CFMX 7
I am trying to run a application that is running perfectly on a windows 2000 server running CFMX6 on my new windows 2003 server running CFMX7. I have put both the MachII folder and my app folder in my D:/inetpub/wwwroot folder. I set up the application in IIS the exact same way it was set up on the windows2000 server. When I try and run my application I am getting a Could not find the ColdFusion Component MachII.framework.AppLoader. The error occurred in D:\Inetpub\wwwroot\MassProspector\SiteSettings.cfm: line 19 17 : cfif NOT (StructKeyExists(application[MACHII_APP_KEY],'appLoader') AND 18 :IsObject(application[MACHII_APP_KEY].appLoader)) 19 :cfset application[MACHII_APP_KEY].appLoader = CreateObject('component', 'MachII.framework.AppLoader') / 20 :cfset application[MACHII_APP_KEY].appLoader.init(MACHII_CONFIG_PATH) / 21 : /cfif ~| 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:212424 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: MachII on Windows2003 and CFMX 7
Did you set up your cf mappings properly for the cfc's to work? -Original Message- From: Chad McCue [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 12:49 PM To: CF-Talk Subject: MachII on Windows2003 and CFMX 7 I am trying to run a application that is running perfectly on a windows 2000 server running CFMX6 on my new windows 2003 server running CFMX7. I have put both the MachII folder and my app folder in my D:/inetpub/wwwroot folder. I set up the application in IIS the exact same way it was set up on the windows2000 server. When I try and run my application I am getting a Could not find the ColdFusion Component MachII.framework.AppLoader. The error occurred in D:\Inetpub\wwwroot\MassProspector\SiteSettings.cfm: line 19 17 : cfif NOT (StructKeyExists(application[MACHII_APP_KEY],'appLoader') AND 18 :IsObject(application[MACHII_APP_KEY].appLoader)) 19 :cfset application[MACHII_APP_KEY].appLoader = CreateObject('component', 'MachII.framework.AppLoader') / 20 :cfset application[MACHII_APP_KEY].appLoader.init(MACHII_CONFIG_PATH) / 21 : /cfif ~| 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:212425 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Looping over query assistance
Look at comments inline... you forgot to var the variable (to make it local scope to the function, otherwise it's global to the whole cfc), and this could cause issues when the cfc is cached in memory (instead of invoked everytime). Russ -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 12:19 PM To: CF-Talk Subject: Re: Looping over query assistance Just return the whole query and skip all the other stuff...like so: cffunction name=getCourseData access=remote cfargument name=R_userName type=string required=yes !--- you forgot this --- cfset var getCourses= cfquery name=getCourses datasource=learnline SELECT title FROM courses WHERE userid = cfqueryparam cfsqltype=CF_SQL_STRING value=#Arguments.R_userName# /cfquery cfreturn getCourses /cffunction I just don't see the point of stuffing the only column returned (title) into an array.just use the query ;-) HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| 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:212426 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Query object contained within a Query object
I think my biggest problem with doing this is, the performance cost of query objects. Aside from file handling query objects seem to be one of the worst performing objects in coldfusion. Adam H On 7/21/05, HOFLee _ [EMAIL PROTECTED] wrote: Thank you both for your responses. Personnally, I'd be more interested in hearing why this would be a *good* idea? Primarily because query objects can be used with the cfoutput/cfloop tags which IMO provide a simpler and cleaner method for accessing the related information than structures or array objects. While a simple array/structure is pretty straight-forward, I think it takes a lot more code and is less intutive to retrieve information from a similar construct composed of nested arrays/structures. I've seen structures of structures used before, but not queries within queries and am wondering if there is a good reason why. ~| 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:212427 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: assuring mail was sent?
Not the best way, but create a generic email account, such as Yahoo, etc., then BCC that address on every message you send. Make sure the spam filter is not on for that account. -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 10:37 AM To: CF-Talk Subject: assuring mail was sent? Is there a way to assure that a batch of mail was sent in a shared hosting environment? In other words, I am sending out 7K emails in a batch and want to know which ones successfully passed through the mail server and which ones didn't. BUT - I don't have access to the mail server log files whatsoever, due to the client being in a shared environment. When I'm sending these mailings out, it seems like we have some people who are getting the mail, and people who aren't, and the results change per mailing. It's a weird problem that I need to get to the bottom of. TY Ray ~| 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:212428 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
MX and ActiveX
Hey all, My company has finally upgraded to MX 7 woohoo... Anyway i'm having an issue with an OCX object i have embedded in one of my applications. I've done plenty of searching to see if anyone else has had this issue. but i can't find anything. Hopefully someone here can help. the OCX is a custom browser that is launched via CF. The OCX gets initiated on the web server. when it tries to initiate i get the following error. run-time error '-2147024882 (800700e)' system Error H80070008 -2147024888 Not enough Storage is available to porcess this command. The machine it self is a windows 2000 server with 768MB Ram. It worked fine when coldfusion 5 was installed on this same machine. When i installed MX i did a new install. Unistalled 5 and then installed MX. Any Help would be greatly appreciated. Regards, Jason Reichenbach Senior Product Developer Openhire.com ~| 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:212429 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFMAILPARAM and OUTLOOK
Hi, I was wondering if anyone has any experience using CFMAILPARAM and OUTLOOK. I am trying to write code so that I can get a read receipt when my users open the email. This is being done internally and we use outlook. Here is the code that I have so far, everything works except the receipt: cfmail to=[EMAIL PROTECTED] from=Mario[EMAIL PROTECTED] subject=This is only a test.. type=html SERVER=xxx.csfb.net cfmailParam name=Reply-To value=[EMAIL PROTECTED] cfmailparam name=Read-Receipt-To value=[EMAIL PROTECTED] cfmailparam name=Disposition-Notification-To value=[EMAIL PROTECTED] CFMAILPARAM NAME=Importance VALUE=High cfmailParam name=X-Priority value=1 CFMAILPARAM NAME=X-Message-Flag VALUE=Notice I sent to you via Cold Fusion! Test of Outlook Options /cfmail Thanks Mario == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == ~| 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:212430 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: coolfusion ims-lite only using 1 thread?
No, iMS-Lite is a mail sending engine only. If you need bounce processing then you would need iMS-SE or any other version of iMS. With those you get a bounce processing SMTP server and you can also download and install our freeware cfx_boogiebounce tag that allows you to also determine the type of bounce. Regards, Howie --- On Wednesday, July 20, 2005 5:04 PM, Matt Robertson scribed: --- Howie, Does any iteration of iMS contain tools to help dealing with bounced mail? I have a client (a large library system) with a lot of mail alerts going out. They get a whole lot coming back and somewhere on our to-do list is a 1-bounce, 2-bounce, 3-bounces-now-delete kinda thing. ~| 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:212431 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: coolfusion ims-lite only using 1 thread?
I answered you off-list but it turns out that our system was generating single-thread licenses for iMS-Lite when it should have provided 5 threads. The system and all licenses were updated on our side. On your side you will need to run the KeyClient.exe program in the iMS-Lite folder and click on the Send button to update the license. Sorry for the inconvenience. Regards, Howie --- On Wednesday, July 20, 2005 5:24 PM, Russ scribed: --- Yea, here is the log file (I've x'ed out some ip addresses): 07/20/2005 09:51:27 AM Create post threads... 07/20/2005 09:51:27 AM [001] Local Addresses: 07/20/2005 09:51:27 AM [001] 65.110.81.xxx 07/20/2005 09:51:27 AM [001] 65.110.88.xxx 07/20/2005 09:51:27 AM [001] 65.110.95.xxx 07/20/2005 09:51:27 AM [001] 65.110.95.xxx 07/20/2005 09:51:27 AM [001] 65.110.95.xxx 07/20/2005 09:51:27 AM [001] 65.110.95.xxx 07/20/2005 09:51:27 AM [001] 65.110.95.xxx 07/20/2005 09:51:27 AM [001] 65.110.95.xxx 07/20/2005 09:51:27 AM [001] 65.110.95.xxx 07/20/2005 09:51:27 AM [001] 65.110.95.xxx 07/20/2005 09:51:27 AM [001] 65.110.95.xxx 07/20/2005 09:51:27 AM [001] 65.110.95.xxx 07/20/2005 09:51:27 AM Created 1 threads. ~| 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:212432 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Query object contained within a Query object
and am wondering if there is a good reason why. That is the question. One can sure use loops on queries inside loops on queries, but do we need to store them inside each others ? ~| 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:212433 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
hosting enquiry
does anyone have an opinion of this host: cftechsupport.com thanks k ~| 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:212434 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
ColdFusion Exam
Hi, Well i've just found out i've got a MM test centre on my doorstop so i have no excuse to not go for the CFMX exam. So with the book ordered i was thinking of an exam date. How long did everyone else give themselves to study?? weeks, months, days??? I know its a bit of a open question as it depends on work load - im just being curious more than anything. Also has anyone used CF exam buster to study (it was there spam this morning which prompted a look around) Cheers, Andy J www.andyjarrett.co.uk ~| 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:212435 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: ColdFusion Exam
From: Andy Jarrett [mailto:[EMAIL PROTECTED] How long did everyone else give themselves to study?? weeks, months, days??? Depends. Do you want to retain the information short term to just pass the exam? I hope not. I would say that study and practice until you feel confident in the concepts and can apply them comfortably. Everyone is different thus the time to prepare is different. Also has anyone used CF exam buster to study (it was there spam this morning which prompted a look around) Yes, it is a great study aid. Mike ~| 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:212436 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: ColdFusion Exam
I gave myself a week, but that was mostly because of a reduced-price offer for tests that were scheduled within the next week. But then, I had been using CF for awhile, and mostly just needed to get a feel for the types of questions asked, and for the changes between CF5 and CFMX. I hate to say it, but how long you give yourself to study depends on how familiar you are with the material already. A good rule I've seen from every decent test prep center I've been to is to study until you can consistently score 90%+ on practice exams. I used CF Exam Buster and was pretty happy with it. I kind of looked through the CF7 version, and the thing that stuck out in my mind was the fact that the set of test questions I saw covered very little of the major changes from MX6.1 to 7. I don't remember seeing anything on the new capabilities of CFFORM, the CFDOCUMENT tag, or the Report Builder. Maybe the evaluation question set wasn't well representative of the whole, I don't know. Matt Osbun Web Developer Health Systems, International -Original Message- From: Andy Jarrett [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 12:56 PM To: CF-Talk Subject: ColdFusion Exam Hi, Well i've just found out i've got a MM test centre on my doorstop so i have no excuse to not go for the CFMX exam. So with the book ordered i was thinking of an exam date. How long did everyone else give themselves to study?? weeks, months, days??? I know its a bit of a open question as it depends on work load - im just being curious more than anything. Also has anyone used CF exam buster to study (it was there spam this morning which prompted a look around) Cheers, Andy J www.andyjarrett.co.uk ~| 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:212437 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Dynamic Thumbnails
Is there a way in Cold Fusion MX to automaticly create a tumbnail of a bigger image for a inhouse photo catalog? Img size, rez, info etc as well? Thanks Greg -- Greg Johnson Owner Lead Technician [EMAIL PROTECTED] Techno-Fix-It Filling the Gap Between the Store and the Repair Shop -- www.technofixit.com Phone:(919)-371-1476 Fax:(919)-882-9804 P.O. Box 1094 Morrisville, N.C. 27560 ~| 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:212438 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Dynamic Thumbnails
you could buy this CFX tag... http://www.efflare.com/products/cfx_imagecr/ or you could use the 'built-in' graphical features of the Java language w/CFMX. search the archives, this has been discussed before. ~Che -Original Message- From: Greg Johnson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 2:17 PM To: CF-Talk Subject: Dynamic Thumbnails Is there a way in Cold Fusion MX to automaticly create a tumbnail of a bigger image for a inhouse photo catalog? Img size, rez, info etc as well? Thanks Greg -- Greg Johnson Owner Lead Technician [EMAIL PROTECTED] Techno-Fix-It Filling the Gap Between the Store and the Repair Shop -- www.technofixit.com Phone:(919)-371-1476 Fax:(919)-882-9804 P.O. Box 1094 Morrisville, N.C. 27560 ~| 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:212439 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cfcontent - for an excel file
I'm creating a dynamic excel file using: cfheader name=Content-Disposition value=attachment; filename=blah.xls cfcontent type=application/msexcel I have only one worksheet. Is there a way to specify the name the worksheet or will the worksheet always match the filename? Thanks, - JR ~| 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:212440 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Query object contained within a Query object
I think my biggest problem with doing this is, the performance cost of query objects. Aside from file handling query objects seem to be one of the worst performing objects in coldfusion. Adam H Yes, I would expect query objects to be more expensive than an arrays. Any stats/links or explanations about the exact difference in performance costs, specifically of query objects versus structures? ~| 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:212441 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfcontent - for an excel file
I don't believe there is a way to create separate worksheets w/in the Document nor specify alternate worksheet names. I've looked into this before - and that was the conclusion I came up with . Maybe if cfmx suppors excel in the reports - this could be built into it?? Kevin Penny HotGigs.com -Original Message- From: Jill Robin Pascua [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 1:22 PM To: CF-Talk Subject: cfcontent - for an excel file I'm creating a dynamic excel file using: cfheader name=Content-Disposition value=attachment; filename=blah.xls cfcontent type=application/msexcel I have only one worksheet. Is there a way to specify the name the worksheet or will the worksheet always match the filename? Thanks, - JR ~| 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:212442 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Upload security?
Hey, We have a requirement to allow for the uploading of a bunch of different file types. The problem I am running into is with excel/xls and word perfect/wpd. CF apparently sees these as application/octet-stream. Now there are a bunch of different file types included in that, to include com and exe. Is there any easy way to get around this? ~| 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:212443 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
FuseBox - Fuse
For those Fuseboxers out there - this ones for you. If I define a permission on a fuseaction i.e. fuseaction name=myfuse permission=admin How do I reference that permission from w/in the Fuse? i.e. How can I determine what the permission is for that fuse - how do I read that it needs 'admin' rights to process. I just started Fuseboxing after 7 years of Cfexperience - shame on me I know - I'm wondering if others use this technique or there is a simpler way out there. So in the example: fuseaction name=myfuse permission=admin ... I can access the permission by the application variable application.fusebox.circuits.srm.fuseactions[#lis tgetat(attributes.fuseaction,2,'.')#].permissions where 'srm' is my root circuit alias - Anyone have an easier way? ~| 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:212444 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dynamic Thumbnails
The only way to do this in CFMX is to buy an add-on tag (as mentioned below) that will take advantage of the java classes that manipulate images. Blue Dragon has done a small bit of work in developing a tag that will do this for you (The CFIMAGE tag) but it still needs the java classes. If you buy a tag, or use Blue Dragon and use their CFIMAGE tag, you'll more then likely end up playing with and/or tweaking the underlying JVM in order to get it to work the way you need it to. This is one of the few points where CFML really disappoints me. In contract, PHP has a WEALTH of image manipulation functions and the quality at which it does this job is so far superior then the quality that java puts out - there's just no comparison. PHP wins hands down on that one. HTH, -JM -- Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ [EMAIL PROTECTED] Che Vilnonis wrote: you could buy this CFX tag... http://www.efflare.com/products/cfx_imagecr/ or you could use the 'built-in' graphical features of the Java language w/CFMX. search the archives, this has been discussed before. ~Che -Original Message- From: Greg Johnson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 2:17 PM To: CF-Talk Subject: Dynamic Thumbnails Is there a way in Cold Fusion MX to automaticly create a tumbnail of a bigger image for a inhouse photo catalog? Img size, rez, info etc as well? Thanks Greg -- Greg Johnson Owner Lead Technician [EMAIL PROTECTED] Techno-Fix-It Filling the Gap Between the Store and the Repair Shop -- www.technofixit.com Phone:(919)-371-1476 Fax:(919)-882-9804 P.O. Box 1094 Morrisville, N.C. 27560 ~| 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:212445 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dynamic Thumbnails
On 7/21/05, Greg Johnson [EMAIL PROTECTED] wrote: Is there a way in Cold Fusion MX to automaticly create a tumbnail of a bigger image for a inhouse photo catalog? Img size, rez, info etc as well? You can accomplish this using Java in your ColdFusion template. Here is a link that shows you how to get the image dimensions: http://awads.net/wp/2005/06/16/get-image-dimensions/. You can modify it to use img.getScaledInstance() to resize the image. I have not tested this but it is something you may want to explore further. HTH. -- Eddie Awad. http://awads.net/ ~| 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:212446 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: FuseBox - Fuse
You've got it that the permissions are part of the application-scoped memory structure. So if you want to avoid that long variable call, you could write a function like getPermissionsForFuseaction('circuitname', 'fuseactionname'). But I'm not sure why you'd want to look at this permission inside the fuse(s) for that fuseactioneither they could get in or they couldn't. The permissions attribute is really meant for use by a security plugin that throws some sort of exception if the user tries to access a fuseaction that they don't have the rights to. If you think you need to do additional checks within the fuse(s) themselves you might not be breaking things up enough. regards, Brian On 7/21/05, Kevin Penny [EMAIL PROTECTED] wrote: For those Fuseboxers out there - this ones for you. If I define a permission on a fuseaction i.e. fuseaction name=myfuse permission=admin How do I reference that permission from w/in the Fuse? i.e. How can I determine what the permission is for that fuse - how do I read that it needs 'admin' rights to process. I just started Fuseboxing after 7 years of Cfexperience - shame on me I know - I'm wondering if others use this technique or there is a simpler way out there. So in the example: fuseaction name=myfuse permission=admin ... I can access the permission by the application variable application.fusebox.circuits.srm.fuseactions[#lis tgetat(attributes.fuseaction,2,'.')#].permissions where 'srm' is my root circuit alias - Anyone have an easier way? ~| 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:212447 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMAILPARAM and OUTLOOK
I was wondering if anyone has any experience using CFMAILPARAM and OUTLOOK. I am trying to write code so that I can get a read receipt when my users open the email. This is being done internally and we use outlook. This will only work if Outlook/Exchange is configured to respond to receipt requests. For example, I use Outlook but have that disabled. 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! ~| 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:212448 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dynamic Thumbnails
No you don't need to buy anythinguse this method (I've posted it at least 5-6 times by now)drop it in a CFC and away you gowill work on MX 6.x/7 No need for any Java classes/jars to be added to CF !---(Function: ThumbIt)-- Date Created: December 1, 2003 Author: Bryan Stevenson Arguments: FileLoc - full path of image to be thumbnailed (string) required ThumbPrefix - string to append to the filename to name the thumbnail (string) not required ScaleBy - which dimension to scale by W or H (string) required ScaleValue - the measurement of the dimension specified in ScaleBy to use to calculate proper scale (string) required Purpose:shrink an image Returns:N/A --- cffunction name=ThumbIt access=public cfargument name=FileLoc type=string required=Yes cfargument name=ThumbPrefix type=stringrequired=No default= cfargument name=ScaleBy type=string required=Yes cfargument name=ScaleValue type=stringrequired=Yes cfset jFileIn = createObject(java,java.io.File).init(ARGUMENTS.FileLoc) !--- build new file loc and name --- cfset DirPath = GetDirectoryFromPath(ARGUMENTS.FileLoc) cfset FileName = GetFileFromPath(ARGUMENTS.FileLoc) cfset ThumbFileLoc = DirPath ARGUMENTS.ThumbPrefix FileName cfset jFileOut = createObject(java,java.io.File).init(ThumbFileLoc) !--- set dimensions --- cfset inBufferedImg = createObject(java,javax.imageio.ImageIO).read(jFileIn) cfset ImgWidth = inBufferedImg.getWidth() cfset ImgHeight = inBufferedImg.getHeight() !--- calculate scale --- cfif UCase(ARGUMENTS.ScaleBy) eq W cfset Scale = ARGUMENTS.ScaleValue / ImgWidth cfelseif UCase(ARGUMENTS.ScaleBy) eq H cfset Scale = ARGUMENTS.ScaleValue / ImgHeight /cfif !--- define thumbnail dimensions --- cfset ScaledWidth = (Scale * ImgWidth) cfset ScaledHeight = (Scale * ImgHeight) !--- create image output --- cfset outBufferedImg = createObject(java,java.awt.image.BufferedImage).init(JavaCast(int, ScaledWidth), JavaCast(int, ScaledHeight), JavaCast(int, 1)) !--- create the AffineTransform --- cfset jTransform = createObject(java,java.awt.geom.AffineTransform).init() cfset temp = jTransform.Scale(Scale, Scale) !--- initialize a Graphics2D object --- cfset jGraphics2D = outBufferedImg.createGraphics() !--- draw the thumbnail --- cfset temp = jGraphics2D.drawRenderedImage(inBufferedImg, jTransform) cfset temp = jGraphics2D.dispose() !--- write the thumbnail image to disk --- cfset fileWritten = createObject(java,javax.imageio.ImageIO).write(outBufferedImg, jpg, jFileOut) /cffunction Hope that does the trick Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| 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:212449 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: FuseBox - Fuse
You've got it right. But be careful, your fuseactions have permissions, not your fuses, so having a fuse rely on the calling fuseaction's permissions is almost certainly not what you really want. In general, you fuses should be entirely agnostic to the framework; they should only be aware of variables passing in and out, as per the fusedocs. The permissions attribute will usually be acted upon by a prefuseaction plugin. And if you really do need access to the permissions in a fuse, you should use a plugin to build a request-scope variable that contains all the permissions needed to get to the fuses location. Because the permission for the fuseaction directly containing the fuse aren't the only ones you need to care about, you also have to worry about all the fuseactions that the reqeust went though (via the DO) tag to get to the point of the fuse. I.e. you have to meet ALL those permissions in order to get them, not just the ones on the last fuseaction. And for completeness' sake, the permission attribute doesn't do anything, it's merely a place to put information. If you want to actually use the information, you have to write that yourself (almost certainly as a prefuseaction plugin). cheers, barneyb On 7/21/05, Kevin Penny [EMAIL PROTECTED] wrote: For those Fuseboxers out there - this ones for you. If I define a permission on a fuseaction i.e. fuseaction name=myfuse permission=admin How do I reference that permission from w/in the Fuse? i.e. How can I determine what the permission is for that fuse - how do I read that it needs 'admin' rights to process. I just started Fuseboxing after 7 years of Cfexperience - shame on me I know - I'm wondering if others use this technique or there is a simpler way out there. So in the example: fuseaction name=myfuse permission=admin ... I can access the permission by the application variable application.fusebox.circuits.srm.fuseactions[#lis tgetat(attributes.fuseaction,2,'.')#].permissions where 'srm' is my root circuit alias - Anyone have an easier way? -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| 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:212450 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dynamic Thumbnails
Nice. =) Does this work on Linux implementations of CFMX as well? -JM Bryan Stevenson wrote: No you don't need to buy anythinguse this method (I've posted it at least 5-6 times by now)drop it in a CFC and away you gowill work on MX 6.x/7 No need for any Java classes/jars to be added to CF !---(Function: ThumbIt)-- Date Created: December 1, 2003 Author: Bryan Stevenson Arguments: FileLoc - full path of image to be thumbnailed (string) required ThumbPrefix - string to append to the filename to name the thumbnail (string) not required ScaleBy - which dimension to scale by W or H (string) required ScaleValue - the measurement of the dimension specified in ScaleBy to use to calculate proper scale (string) required Purpose:shrink an image Returns:N/A --- cffunction name=ThumbIt access=public cfargument name=FileLoc type=string required=Yes cfargument name=ThumbPrefix type=stringrequired=No default= cfargument name=ScaleBy type=string required=Yes cfargument name=ScaleValue type=stringrequired=Yes cfset jFileIn = createObject(java,java.io.File).init(ARGUMENTS.FileLoc) !--- build new file loc and name --- cfset DirPath = GetDirectoryFromPath(ARGUMENTS.FileLoc) cfset FileName = GetFileFromPath(ARGUMENTS.FileLoc) cfset ThumbFileLoc = DirPath ARGUMENTS.ThumbPrefix FileName cfset jFileOut = createObject(java,java.io.File).init(ThumbFileLoc) !--- set dimensions --- cfset inBufferedImg = createObject(java,javax.imageio.ImageIO).read(jFileIn) cfset ImgWidth = inBufferedImg.getWidth() cfset ImgHeight = inBufferedImg.getHeight() !--- calculate scale --- cfif UCase(ARGUMENTS.ScaleBy) eq W cfset Scale = ARGUMENTS.ScaleValue / ImgWidth cfelseif UCase(ARGUMENTS.ScaleBy) eq H cfset Scale = ARGUMENTS.ScaleValue / ImgHeight /cfif !--- define thumbnail dimensions --- cfset ScaledWidth = (Scale * ImgWidth) cfset ScaledHeight = (Scale * ImgHeight) !--- create image output --- cfset outBufferedImg = createObject(java,java.awt.image.BufferedImage).init(JavaCast(int, ScaledWidth), JavaCast(int, ScaledHeight), JavaCast(int, 1)) !--- create the AffineTransform --- cfset jTransform = createObject(java,java.awt.geom.AffineTransform).init() cfset temp = jTransform.Scale(Scale, Scale) !--- initialize a Graphics2D object --- cfset jGraphics2D = outBufferedImg.createGraphics() !--- draw the thumbnail --- cfset temp = jGraphics2D.drawRenderedImage(inBufferedImg, jTransform) cfset temp = jGraphics2D.dispose() !--- write the thumbnail image to disk --- cfset fileWritten = createObject(java,javax.imageio.ImageIO).write(outBufferedImg, jpg, jFileOut) /cffunction Hope that does the trick Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| 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:212451 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dynamic Thumbnails
Nice. =) Does this work on Linux implementations of CFMX as well? -JM Thanks ;-) .and yes...Windows and Linuxno changes required (except of course file paths are different...but those are passed into the method so it's a non-issue) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| 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:212452 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMAILPARAM and OUTLOOK
Mario: In my experience, Outlook in pretty finicky concerning how the value of the Disposition-Notification-To header is formatted. I gave a presentation and MD CFUG on SMTP a while back and the working code I showed there was formatted as follows: CFMAILPARAM NAME=Disposition-Notification-To VALUE='Mosh Teitelbaum [EMAIL PROTECTED]' You can access the PPT from the preso at http://www.evoch.com/Community/presentations_smtp.cfm . Specifically, see slides 27-28. HTH -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ Ciliotta, Mario wrote: I was wondering if anyone has any experience using CFMAILPARAM and OUTLOOK. I am trying to write code so that I can get a read receipt when my users open the email. This is being done internally and we use outlook. Here is the code that I have so far, eveything works except the receipt: ... cfmailparam name=Read-Receipt-To value=[EMAIL PROTECTED] cfmailparam name=Disposition-Notification-To value=[EMAIL PROTECTED] ... ~| 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:212453 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfcontent - for an excel file
Best way to do this is create the excel file and save as html. Then use that source. This is what you need: !--[if gte mso 9]xml x:ExcelWorkbook x:ExcelWorksheets x:ExcelWorksheet x:NameSheet 1/x:Name x:WorksheetOptions x:Print x:ValidPrinterInfo/ x:HorizontalResolution600/x:HorizontalResolution x:VerticalResolution600/x:VerticalResolution /x:Print /x:WorksheetOptions /x:ExcelWorksheet x:ExcelWorksheet x:NameSheet 2/x:Name x:WorksheetOptions x:Print x:ValidPrinterInfo/ x:HorizontalResolution600/x:HorizontalResolution x:VerticalResolution600/x:VerticalResolution /x:Print /x:WorksheetOptions /x:ExcelWorksheet x:ExcelWorksheet x:NameSheet 3/x:Name /x:ExcelWorksheet x:ExcelWorksheet /x:ExcelWorksheets /x:ExcelWorkbook x:ExcelName x:NamePrint_Titles/x:Name x:SheetIndex1/x:SheetIndex x:Formula='Sheet 1'!$1:$5/x:Formula /x:ExcelName /xml ![endif]-- -JE On 7/21/05, Jill Robin Pascua wrote: I'm creating a dynamic excel file using: cfheader name=Content-Disposition value=attachment; filename=blah.xls cfcontent type=application/msexcel I have only one worksheet. Is there a way to specify the name the worksheet or will the worksheet always match the filename? Thanks, - JR ~| 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:212454 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ColdFusion Exam
I'd also suggest Ben's study guide. An excellent resource in general too. http://forta.com/books/0321330110/ Will ~| 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:212455 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Upload security?
Loathe wrote: We have a requirement to allow for the uploading of a bunch of different file types. The problem I am running into is with excel/xls and word perfect/wpd. CF apparently sees these as application/octet-stream. CF sees them the way the uploading browser tells it to see them. The MIME type is not determined by the server, it is a parameter that the browser sends. So unless you want to be very restrictive and only allow image/gif and image/jpg (which would already give you a problem with image/jpeg), you pretty much have to accept everything. Jochem ~| 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:212456 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Upload security?
I've found that it only sees them that way if the user still has the file open. So, if this is an internal thing, you can usually fix it with a little education. You can also do a try catch and look for that error and give a nice little message about being sure to close the file before attempting to upload it. On 7/21/05, Loathe [EMAIL PROTECTED] wrote: Hey, We have a requirement to allow for the uploading of a bunch of different file types. The problem I am running into is with excel/xls and word perfect/wpd. CF apparently sees these as application/octet-stream. Now there are a bunch of different file types included in that, to include com and exe. Is there any easy way to get around this? ~| 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:212457 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
SOT: checkbox validation problem
I'm having a problem with a javascript validation for a form with multiple checkboxes with the same name. The validation works just fine when there is more than one checkbox (as with a results set with more than one item) however, if there is only one checkbox, it always validates to false and craps out. Any suggestions would be most appreciated. thx, larry Here's the javascript: InvalidTag language=javascript type=text/javascript function checkForNoSelections(){ var chkd = 0; var e = document.viewItems; for(var i = 0; i e.atccNum.length; i++){ if(e.atccNum[i].checked == true){ chkd = ++chkd; } } if(chkd 0){ e.submit(); return true; } else{ alert(You must select an item to display.); return false; } } /script Here's an example of the single checkbox form (there are no problems with multiple checkboxes): form action=whatever.cfm enctype=multipart/form-data method=post name=viewItems input type=Checkbox name=atccNum value=1nbsp;nbsp;1br / input type=button value=View Selections onClick=checkForNoSelections()br / input type=Reset value=Clear Selectionsbr / /form ~| 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:212458 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: coolfusion ims-lite only using 1 thread?
Thanks! I wasn't expecting the freebie to do that :-) I'll pass this along to the client. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com On 7/21/05, Howie Hamlin [EMAIL PROTECTED] wrote: No, iMS-Lite is a mail sending engine only. If you need bounce processing then you would need iMS-SE or any other version of iMS. ~| 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:212459 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: checkbox validation problem
function checkForNoSelections(){ var chkd = 0; var e = document.viewItems; for(var i = 0; i e.atccNum.length; i++){ if(e.atccNum[i].checked == true){ chkd = ++chkd; } } if(chkd 0){ e.submit(); return true; } else{ alert(You must select an item to display.); return false; } } That's a bit odd - you typically don't use the assignment and increment operators together that way, since you really only need one or the other. The statement ++chkd; is the same as chkd = chkd + 1; in the specific code you have above. I would use something like this instead: function checkForNoSelections() { var e = document.viewItems; for (var i = 0; i e.atccNum.length; i++) { if (e.attcNum[i].checked) { return true; } } alert('You must select an item to display.'); return false; } form action=... onsubmit=return checkForNoSelections(); input type=submit /form 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! ~| 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:212460 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Seeking SugarCRM Consultant
Anyone out there available to customize the open source version? Richard Colman ~| 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:212461 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: checkbox validation problem
JavaScript treat multiple checkboxes as an array, but a single checkbox is not an array. A quick goggle didn't turn me a up with an example but there should be plenty of examples out there of checking for this with JS. You can also take what I consider to be an easier way out, using CF to push down a different script depending on how many boxes you are going to have. -Original Message- From: Larry Lyons [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 4:08 PM To: CF-Talk Subject: SOT: checkbox validation problem I'm having a problem with a javascript validation for a form with multiple checkboxes with the same name. The validation works just fine when there is more than one checkbox (as with a results set with more than one item) however, if there is only one checkbox, it always validates to false and craps out. Any suggestions would be most appreciated. thx, larry ~| 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:212462 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: coolfusion ims-lite only using 1 thread?
You can also build it yourself... it's not that hard if you have access to your dns and email servers... -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 4:21 PM To: CF-Talk Subject: Re: coolfusion ims-lite only using 1 thread? Thanks! I wasn't expecting the freebie to do that :-) I'll pass this along to the client. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com On 7/21/05, Howie Hamlin [EMAIL PROTECTED] wrote: No, iMS-Lite is a mail sending engine only. If you need bounce processing then you would need iMS-SE or any other version of iMS. ~| 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:212463 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=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54