RE: Axis Error after updater for 6.1
I've looked all over and not been able to find an answer. I have posted a couple of times to the forums also... Brook At 06:52 PM 10/13/2004, you wrote: >OK, we are now seeing exactly the same problem. We already use mappings and >this doesn't help - I also moved the CFC into the root of our domain (a >vhost in Apache) and I still get the same error. > >If no-one can help, we will have to roll-back the updater. > >-Original Message- >From: Brook Davies [mailto:[EMAIL PROTECTED] >Sent: Thursday, 14 October 2004 4:47 >To: CF-Talk >Subject: Re: Axis Error after updater for 6.1 > >Can any on suggest what I might try to get webservices working again? I am >getting desperate. I tried Uninstalling the updater and that just [EMAIL PROTECTED] >everything up, so I re-installed and now I am back where I started with ALL >of my webservices failing with the error below. Even if I create a very >simple, basic webservice to test with it fails. What should I be looking >for? > >Your help is appreciated... > >Brook > >-- >[Todays Threads] >[This Message] >[Subscription] >[Fast > Unsubscribe] [User Settings] >[Donations >and Support] > >-- > >[] > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Axis Error after updater for 6.1
I take back, my previous statement, a mapping did help. I previously had a custom tag path, not a mapping (oops). Here's an example: I have a subdomain on our server. In this subdomain I have a site. In the /webserv subdir of the site, I placed a test cfc (a really simple one). Browsing for the WSDL failed with the errors we have described. I then added a CF mapping of /webserv, specifying the full path of the dir. It suddenly works again. This means that every subdomain that needs webservices will need to put them in a mapped directory (and the mappings will need to be unique for each subdomain). It's a pain but at least it works again. -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 October 2004 9:54 To: CF-Talk Subject: RE: Axis Error after updater for 6.1 I've looked all over and not been able to find an answer. I have posted a couple of times to the forums also... Brook [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Axis Error after updater for 6.1
I've submitted this as a bug. -Original Message- From: James Holmes Sent: Thursday, 14 October 2004 11:07 To: CF-Talk Subject: RE: Axis Error after updater for 6.1 I take back, my previous statement, a mapping did help. I previously had a custom tag path, not a mapping (oops). Here's an example: I have a subdomain on our server. In this subdomain I have a site. In the /webserv subdir of the site, I placed a test cfc (a really simple one). Browsing for the WSDL failed with the errors we have described. I then added a CF mapping of /webserv, specifying the full path of the dir. It suddenly works again. This means that every subdomain that needs webservices will need to put them in a mapped directory (and the mappings will need to be unique for each subdomain). It's a pain but at least it works again. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Axis Error after updater for 6.1
OK, we are now seeing exactly the same problem. We already use mappings and this doesn't help - I also moved the CFC into the root of our domain (a vhost in Apache) and I still get the same error. If no-one can help, we will have to roll-back the updater. -Original Message- From: Brook Davies [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 October 2004 4:47 To: CF-Talk Subject: Re: Axis Error after updater for 6.1 Can any on suggest what I might try to get webservices working again? I am getting desperate. I tried Uninstalling the updater and that just [EMAIL PROTECTED] everything up, so I re-installed and now I am back where I started with ALL of my webservices failing with the error below. Even if I create a very simple, basic webservice to test with it fails. What should I be looking for? Your help is appreciated... Brook [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: flashblog update
ok i guess my posts arent coming through, no others either must be that damn m$ update! im sure it will go through later but here is your zip http://www.jamwerx.com/cfmblog2.zip and the components are pretty much in english except fot the db names and fields heres what i had started on them http://www.jamwerx.com/general.txt some of the comments are wrong though, sorry, got mixed up with other app but the queries are right im posting this from the hof site so hopefully it will go through as its been like 2 hrs since i sent other ones [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFX_Dumptext and MX6.1
Hey Tony, Well then I don't have any advice for you :-( Although writing your own would be pretty easy (assuming all you're doing is creating a flat file CSV or tab delimtited) if you can't gte the tag working. 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 - Original Message - From: dev To: CF-Talk Sent: Wednesday, October 13, 2004 3:59 PM Subject: RE: CFX_Dumptext and MX6.1 Brian, Thanks for your reply. The tag cfx_dumptext takes the results of a query and writes it to a text file. There are a few controls for formatting the output file. Tony -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 3:50 PM To: CF-Talk Subject: Re: CFX_Dumptext and MX6.1 What does the tag do? 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 _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFX_Dumptext and MX6.1
Brian, Thanks for your reply. The tag cfx_dumptext takes the results of a query and writes it to a text file. There are a few controls for formatting the output file. Tony -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 3:50 PM To: CF-Talk Subject: Re: CFX_Dumptext and MX6.1 What does the tag do? 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 _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFX_Dumptext and MX6.1
What does the tag do? 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 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Performance
Most network switches these days have SNMP info you can pull to get current bandwidth If you don't know, I imagine your windows boxes will have the same. Look into that (services - snmp service), it will give you realtime network traffic readings. Popular tools like MRTG are built using this data. MRTG graphs bandwidth usage (among other things like cpu and memory usage, or custom things), and is an invaluable tool in some situations. -nathan strutz Kwang Suh wrote: > It could most certainly be a bandwidth issue. I actually just did some > load testing today which leads me to believe that it's the available > bandwidth on our production web server that is the bottleneck, not slow > CF performance (in fact, CF was very very fast). > > One easy thing you can try is to install compression for your web server > and then do some simple load testing to see if bandwidth is indeed your > problem. Note that it could also be your 100 Mb network card that is > the bottleneck. > > >OK, > > > >We are having some serious issues with slow page loads and I am not > sure if > >its ColdFusion which is the culprit or if its network setup etc. We have > >some page stacks which seem to parse, according to Coldfusion debugging in > >say 1.1 seconds but from the time a user hits the mouse button to the time > >the page appears it can be upward of 8-15 seconds, in some cases even > more. > >Now CF surely isn't causing this bottleneck as it seems to be parsing > >sweetly...so question is, could it be the ISP and some crappy network > setup > >etc...? > > > >We are running CFMX 6.1, Windows 2000, IIS 5.x. We have 3 load > balanced web > >servers which read code of a central repository file server (which is > >separate). Now, what on earth is causing the delay in display?! We are > >noticing a lot of queued requests as far as CF is concerned and we have > >tweaked and gave CF some JVM enhancements but we are still seeing the > >lag > > > >Uurgh, anyone? > > > >N > >This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, > >Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, > >Registered in England, Number 678540. It contains information which is > >confidential and may also be privileged. It is for the exclusive use > of the > >intended recipient(s). If you are not the intended recipient(s) > please note > >that any form of distribution, copying or use of this communication or the > >information in it is strictly prohibited and may be unlawful. If you have > >received this communication in error please return it to the sender or > call > >our switchboard on +44 (0) 20 89107910. The opinions expressed within > this > >communication are not necessarily those expressed by Reed Exhibitions. > >Visit our website at http://www.reedexpo.com > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
CFX_Dumptext and MX6.1
I have code which works on CF5Server but not MX6.1 using the tag cfx_dumptext.dll from the tag library. I have searched the site and past emails without any hint at anyone else posting this issue. I have tested the code on two servers (CF5 and MX6.1) - it works fine on 5 but not on 6.1. Has anyone run into code that uses cfx_dumptext and not have it work on 6.1? I am using the latest version. Kinda frazzled at this point, please share you experience with this if any. Tony [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Session Variables dropping?
On Wed, 13 Oct 2004 14:34:57 -0500, Nick Baker wrote: > > maxrows=1> > > On the 3rd page it throws the following error. > > "Element SRCHRESULTS is undefined in > SESSION" Check to make sure that you're reference the columns in the query results correctly. I seem to recall that sometimes when you get "Element XXX is undefined in SESSION" there's a sub-section in XXX that's not defined. i.e., if XXX is a structure, you may be referring to a key which doesn't exist in that structure. In this case, you may be misspelling one of the columns in your query results. Try doing a dump of the session state and see if srchresults is there. I suspect that it is. Scott -- - Scott Brady http://www.scottbrady.net/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: flashblog update
sorry for the delays, i was busy sleepin ;) i'll try an answer everys ?'s the things we still need are cleaning up the code (minimizing, was a lot of extra junk in the php code) converting the queries to cfcs, which i was doing last night but got them and the other app i was working on mixed up gr the admin section (depending on how far robert has gotten) i think we should slap a hof logo on there yes, it's an opensource app but the original one is in php but its time we start doing our helping the cfm crowd after doing this i sure can remember why i left php!!! yes i got the translations, thanks! as soon as the app is fully functional I would like someone to go back through everything and change all the variable to english in the reg cgm files and the fla & as files. Shouldnt be hard with find & replace but it has to be very accurate here is the link to how it currently sits http://www.jamwerx.com/cfmblog2.rar but please post what u will be doing so we know. would like at least to get someone to help with the cfcs, shouldnt take too long but i got some stuff to do before i could get to them as far as the admin section goes, how far have u gotten robert? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Performance
It could most certainly be a bandwidth issue. I actually just did some load testing today which leads me to believe that it's the available bandwidth on our production web server that is the bottleneck, not slow CF performance (in fact, CF was very very fast). One easy thing you can try is to install compression for your web server and then do some simple load testing to see if bandwidth is indeed your problem. Note that it could also be your 100 Mb network card that is the bottleneck. >OK, > >We are having some serious issues with slow page loads and I am not sure if >its ColdFusion which is the culprit or if its network setup etc. We have >some page stacks which seem to parse, according to Coldfusion debugging in >say 1.1 seconds but from the time a user hits the mouse button to the time >the page appears it can be upward of 8-15 seconds, in some cases even more. >Now CF surely isn't causing this bottleneck as it seems to be parsing >sweetly...so question is, could it be the ISP and some crappy network setup >etc...? > >We are running CFMX 6.1, Windows 2000, IIS 5.x. We have 3 load balanced web >servers which read code of a central repository file server (which is >separate). Now, what on earth is causing the delay in display?! We are >noticing a lot of queued requests as far as CF is concerned and we have >tweaked and gave CF some JVM enhancements but we are still seeing the >lag > >Uurgh, anyone? > >N >This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, >Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, >Registered in England, Number 678540. It contains information which is >confidential and may also be privileged. It is for the exclusive use of the >intended recipient(s). If you are not the intended recipient(s) please note >that any form of distribution, copying or use of this communication or the >information in it is strictly prohibited and may be unlawful. If you have >received this communication in error please return it to the sender or call >our switchboard on +44 (0) 20 89107910. The opinions expressed within this >communication are not necessarily those expressed by Reed Exhibitions. >Visit our website at http://www.reedexpo.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: J2EE Sessions / session.urlToken
Hi Chris, >Check the help on urlSessionFormat, I think there's a switch to turn off the token append. You mean to switch off CFID/CFTOKEN only? Otherwise, I don't see any utility in turning of the entire token in urlSession format... BTW, I don't believe there is a (documented) switch in urlSessionFormat (http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca115.htm), but let me know if you find otherwise. Thanks, Jamie On Wed, 13 Oct 2004 10:46:56 -0400, in cf-talk you wrote: >CFID/CFTOKEN are still used to identify client variables stored in the database. > >Check the help on urlSessionFormat, I think there's a switch to turn off the token append. > >best, >Chris Norloff > > >-- Original Message -- >From: Jamie Jackson <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >Date: Tue, 12 Oct 2004 17:10:33 -0400 > >>I've got a couple questions about session.urlToken under J2EE >>sessions: >> >>When J2EE sessions are enabled, why does session.urlToken bother with >>CFID/CFTOKEN anymore. The fact that both are there confuses me. I >>wonder which takes precedence? Do I lose the extra security that the >>uniqueness of jsessionID affords (i.e. can someone still hack the >>CFID/CFTOKEN and hijack a session)? >> >>Also, I'm using urlSessionFormat, and am getting the urltoken >>appended, even with cookies turned on. Any suggestions as to how to >>troubleshoot this? >> >>Thanks, >>Jamie >> >> > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: FLiP Methodology.....
I don't think you're paying attention. FLiP doesn't use .qry or .dsp files (nor does Fusebox if that's what you're trying to reference). I think you need to read a little bit about FLiP before giving advice. FLiP is a M E T H O L O G Y, not a F R A M E W O R K. You can use FLiP and code the app using the MachII framework, Fusebox, the frighteningly popular Spaghetti-Code, or any other way you'd like. I think you're trying to compare MachII and Fusebox. That's a whole different can of works. Greg > At 03:00 PM 10/13/2004, you wrote: > >Ahhh, no, that's more apples to oranges. You can use FLIP and never > >write a single piece of fusebox code. BTW, MVC is not new either. > > > Right. Mach-II can make an apple faster with OO and MVC and CFML and > CFCs than FLiP ever could with .QRY or .DSP files. > > > >Here's a link to some mp3's about FLIP from Jeff Peters and Hal Helms. > > >It will give you a good idea of what FLIP is. > > > >http://www.grokfusebox.com/index.cfm?ref=flipOut > > > > > >> > Use Mach-II. It's really fast. > >> > >> > Mach-II uses OO and the new MVC technology. FLiP is good, > >> > but compared to MVC, it's like comparing a Chevette to a > >> > Corvette. > >> > >> > -- > >> > A > >> [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: 4096 Error
We are just using the default charsets, nothing crazy. --- Kevin Kazmierczak, MBA Citynet Software Developer 304-848-5451 [EMAIL PROTECTED] From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 4:47 PM To: CF-Talk Subject: Re: 4096 Error Kazmierczak, Kevin wrote: > > java.lang.ArrayIndexOutOfBoundsException: 4096 > at macromedia.jdbc.sqlserver.SQLServerByteOrderedDataWriter.putUCS2String(U nknown Source) > at macromedia.jdbc.sqlserver.SQLServerByteOrderedDataWriter.writeStringAsUC S2(Unknown Source) > at macromedia.jdbc.sqlserver.tds.TDSExecuteRequest.submitRequest(Unknown Source) > at macromedia.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source) > at macromedia.jdbc.base.BaseStatement.commonExecute(Unknown Source) > at macromedia.jdbc.base.BaseStatement.executeInternal(Unknown Source) > at macromedia.jdbc.base.BaseStatement.execute(Unknown Source) > at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212) > plus more lines I removed.. > > The line number points to inside a query on the where clause of an > update statement. >From the name in the stack trace it looks like there is an issue with the transliteration of some input string. Could it be you have some charset funkyness resulting in some 8-bit charset being submitted as UTF-8? Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: 4096 Error
> Well we are using an ntext field in that table. As for the > problem with different machines I was referring to clients > accessing the site via IE. There is only one web server. > > We are running version 6,1,0,63958 OK. That's the CFMX 6.1 release version. You may want to install CFMX 6.1 Updater 1, which has updated database drivers. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Axis Error after updater for 6.1
Can any on suggest what I might try to get webservices working again? I am getting desperate. I tried Uninstalling the updater and that just [EMAIL PROTECTED] everything up, so I re-installed and now I am back where I started with ALL of my webservices failing with the error below. Even if I create a very simple, basic webservice to test with it fails. What should I be looking for? Your help is appreciated... Brook At 02:08 PM 10/12/2004, you wrote: >I'm getting this axis error after installing the updater. It worked prior >to the install. I searched the acrhive and found some info here >http://www.mail-archive.com/[EMAIL PROTECTED]/msg16409.html , but >it says to add a mapping to correct the problem but this did not help for >me. Any other ideas? Can I rollback part of the updater? > >Brook > >AXIS error > >Sorry, something seems to have gone wrong... here are the details: > >Fault - >[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : >Could not resolve CFC datatype: /lfecomponents/test.cfc]; nested exception is: > coldfusion.xml.rpc.CFCInvocationException: >[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : >Could not resolve CFC datatype: /lfecomponents/test.cfc] > >AxisFault > faultCode: > {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException > faultSubcode: > faultString: >[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : >Could not resolve CFC datatype: /lfecomponents/test.cfc]; nested exception is: > coldfusion.xml.rpc.CFCInvocationException: >[coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : >Could not resolve CFC datatype: /lfecomponents/test.cfc] > faultActor: > faultNode: > faultDetail: > >-- >[Todays Threads] >[This Message] >[Subscription] >[Fast > Unsubscribe] [User Settings] >[Donations >and Support] > >-- > >14e4472e.jpg > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: 4096 Error
Kazmierczak, Kevin wrote: > > java.lang.ArrayIndexOutOfBoundsException: 4096 > at macromedia.jdbc.sqlserver.SQLServerByteOrderedDataWriter.putUCS2String(Unknown Source) > at macromedia.jdbc.sqlserver.SQLServerByteOrderedDataWriter.writeStringAsUCS2(Unknown Source) > at macromedia.jdbc.sqlserver.tds.TDSExecuteRequest.submitRequest(Unknown Source) > at macromedia.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source) > at macromedia.jdbc.base.BaseStatement.commonExecute(Unknown Source) > at macromedia.jdbc.base.BaseStatement.executeInternal(Unknown Source) > at macromedia.jdbc.base.BaseStatement.execute(Unknown Source) > at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212) > plus more lines I removed.. > > The line number points to inside a query on the where clause of an > update statement. From the name in the stack trace it looks like there is an issue with the transliteration of some input string. Could it be you have some charset funkyness resulting in some 8-bit charset being submitted as UTF-8? Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: FLiP Methodology.....
> At 03:00 PM 10/13/2004, you wrote: >>Ahhh, no, that's more apples to oranges. You can use FLIP >>and never >>write a single piece of fusebox code. BTW, MVC is not new >>either. > Right. Mach-II can make an apple faster with OO and MVC > and CFML and CFCs than FLiP ever could with .QRY or .DSP > files. alllrighty then... If you're talking about the performance of the application (rather than development time), there's significant evidence to support the idea that a Fusebox 4 application will perform better than a Mach-II application which performs the same tasks. The issue of development time is pretty subjective and varries greatly from one developer (or team) to another. s. isaac dealey 954.927.5117 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.sys-con.com/story/?storyid=44477&DE=1 http://www.sys-con.com/story/?storyid=45569&DE=1 http://www.fusiontap.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: 4096 Error
Well we are using an ntext field in that table. As for the problem with different machines I was referring to clients accessing the site via IE. There is only one web server. We are running version 6,1,0,63958 Thanks --- Kevin Kazmierczak, MBA Citynet Software Developer 304-848-5451 [EMAIL PROTECTED] From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 3:38 PM To: CF-Talk Subject: RE: 4096 Error > We have a weird error that pops up every once in a while. > Ever since we moved to CFMX from CF5, we have been getting > this mysterious error "4096". It has happened about 5 times > in the last month or so. > > All the message says is "4096" > > And the stack trace is as follows > > java.lang.ArrayIndexOutOfBoundsException: 4096 > > at > macromedia.jdbc.sqlserver.SQLServerByteOrderedDataWriter.putUC > S2String(Unknown Source) Are you working with CLOB data in this SQL UPDATE statement? Are you using the same version of the DataDirect SQL Server driver on each machine? That is, have you installed any database driver updates (including CFMX 6.1 Updater 1) on one machine and not the other? I would recommend that you install CFMX 6.1 Updater 1 on the problematic machine. If you did that already, you might try using Microsoft's own JDBC driver, with which I've had excellent results. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Performance
OK, We are having some serious issues with slow page loads and I am not sure if its ColdFusion which is the culprit or if its network setup etc. We have some page stacks which seem to parse, according to Coldfusion debugging in say 1.1 seconds but from the time a user hits the mouse button to the time the page appears it can be upward of 8-15 seconds, in some cases even more. Now CF surely isn't causing this bottleneck as it seems to be parsing sweetly...so question is, could it be the ISP and some crappy network setup etc...? We are running CFMX 6.1, Windows 2000, IIS 5.x. We have 3 load balanced web servers which read code of a central repository file server (which is separate). Now, what on earth is causing the delay in display?! We are noticing a lot of queued requests as far as CF is concerned and we have tweaked and gave CF some JVM enhancements but we are still seeing the lag Uurgh, anyone? N This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFMX 6.1 Updater DateFormat Issue
doh! my stupidity on the last one. but the first issue is legit. -Adam On Wed, 13 Oct 2004 15:58:50 -0400, Adrocknaphobia <[EMAIL PROTECTED]> wrote: > Can anyone explain this one? > > listLen(myVar, ' ') = 3 > > listGetAt(myVar, 1, ' ') = Invalid List Index 1 > > So CF tells me there are 3 indexes when using the _space_ as a > delimeter. Yet when I try to parse the first index it claims there > isn't one. > > Again, works on 6.1 errors on 6.1 Updater. > > -Adam > > > > > On Wed, 13 Oct 2004 15:44:15 -0400, Adrocknaphobia > <[EMAIL PROTECTED]> wrote: > > Has anyone else noticed that dateFormat() doesnt act the same pre-6.1 updater? > > > > We are using oracle timestamp on all our rows (for replication > > conflicts) as well as general record description through the > > application. The timestamp look like 'MM/DD/ HH:MM:SS.SS.SS.SS +/- > > GMT". > > > > Honestly I was a bit suprised that 6.1 didnt have an issue when > > passing a timestamp with that format. However 6.1 updater does. It > > says that its not a vaild date. > > > > Just thought I would share that bit of knowledge and see if anyone > > else can confirm that the issue. > > > > -Adam > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: sorting form variables
"save" the form variables using and have a submit button for each column "heading" that submits the processing page back to itself - use the value in the FORM.submit button to determine the column to sort by. - Original Message - From: Greg Morphis To: CF-Talk Sent: Wednesday, October 13, 2004 2:38 PM Subject: sorting form variables How would you sort outputted columns processed by a form? The only way I think of is adding a value to the processing form called "Sort By:" and allowing the user to select which column to sort by. Anyone else have any other ideas? If you refresh the page those form variables are gone. So it's not like you can pass those variables back along with a url variable for sorting purposes. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFMX/J2EE - where can I store my components?
We're not, simply for cost reasons (twice the hardware, more or less). I can see it being valuable if you've got a site with lot of static content, because you'd probably want more web servers than you'd need CF servers. With distributed, you could run several web servers for the static content and have them connect to one or two shared CF servers for dynamic calls. Distributed mode also lets a machine from your web cluster die without affecting the app cluster, and the converse, because you can load balance in both places separately. cheers, barneyb On Wed, 13 Oct 2004 15:39:02 -0400, Dave Watts <[EMAIL PROTECTED]> wrote: > > For split installs (web server and CF on different machines), > > I'd recommend just installing the entire tree to both > > machines. It's enormously simpler that way, and since your > > web root doesn't contain any of the CFCs, there's no way > > anyone can possibly call it. > > Out of curiosity, how many people here are using distributed mode? If so, > why are you using it? > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > phone: 202-797-5496 > fax: 202-797-5444 > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com I currently have 4 GMail invites for the taking [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Scopes. Which are nested?
it does. Thanks Mike! -- --Matt Robertson-- President, Janitor MSB Designs, Inc. mysecretbase.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: JavaScript Enabled Stats
You could use JS to load an image that's really a CFM page -- new Image().src = "" . You would embed code to add the record (set to notEnabled) in your page, and add code to the stats.cfm file that would toggle it to enabled. _ From: Jason Lemahieu [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 October 2004 8:44 a.m. To: CF-Talk Subject: _javascript_ Enabled Stats I want to find out about how many of our users have _javascript_ enabled. I think it'll be like 99%, but would like to know if it is, in fact, something like 75%. I can make a simple database that stores 2 values (Enabled, notEnabled) to update with each session, but I'm not sure how to exactly check. The plan would be just a simple addition to a site's Application.cfm. I want to set a var on the page, JSEnabled = false; then use _javascript_ to set the var to true onLoad. (which will obviously only happen if they have JS enabled) The problem then, is how do I get this information back, as the page is not just a form. They could click on any number of links which I don't want to change. Has anyone tried taking stats like this before? Otherwise, is it available in some other way? (For example, a cgi.client_javascript??) _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: JavaScript Enabled Stats
If all you need is the JS version, there is an easier way which I'm sure you could google, but if you want more... We use a service call http://www.browserhawk.com/ to do all of our browser testing. I wrote a CFC that interfaces w/ their code. It is handy because we know on the fly what version of Flash, JS, connection speed, ... and other junk. We get back stats for all these vars: OS, OSDetail, Browser, FullVersion, MSN, AOL, Gecko, GeckoBuildDate, BrowserBuild, IPAddress, ResolveIP, Referrer, LanguageType, ConnectionSpeed, ConnectionType, ResolutionHeight, ResolutionWidth, BrowserHeight, BrowserWidth, ColorDepth, Flash, FlashSP2, FontSmoothing, Cookies, _javascript_, _javascript_Ver, JavaApplets, ActiveXControls, DHTML, IFrames, StyleSheets, FileUpload, MouseOver, ImagesEnabled, Plugin_Acrobat, Plugin_AcrobatVerEx, ImagesEnabled. Ryan Duckworth Macromedia ColdFusion Certified Professional Uhlig Communications 10983 Granada Lane Overland Park, KS 66211 (913) 754-4272 _ From: Jason Lemahieu [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 2:44 PM To: CF-Talk Subject: _javascript_ Enabled Stats I want to find out about how many of our users have _javascript_ enabled. I think it'll be like 99%, but would like to know if it is, in fact, something like 75%. I can make a simple database that stores 2 values (Enabled, notEnabled) to update with each session, but I'm not sure how to exactly check. The plan would be just a simple addition to a site's Application.cfm. I want to set a var on the page, JSEnabled = false; then use _javascript_ to set the var to true onLoad. (which will obviously only happen if they have JS enabled) The problem then, is how do I get this information back, as the page is not just a form. They could click on any number of links which I don't want to change. Has anyone tried taking stats like this before? Otherwise, is it available in some other way? (For example, a cgi.client_javascript??) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFMX 6.1 Updater DateFormat Issue
Can anyone explain this one? listLen(myVar, ' ') = 3 listGetAt(myVar, 1, ' ') = Invalid List Index 1 So CF tells me there are 3 indexes when using the _space_ as a delimeter. Yet when I try to parse the first index it claims there isn't one. Again, works on 6.1 errors on 6.1 Updater. -Adam On Wed, 13 Oct 2004 15:44:15 -0400, Adrocknaphobia <[EMAIL PROTECTED]> wrote: > Has anyone else noticed that dateFormat() doesnt act the same pre-6.1 updater? > > We are using oracle timestamp on all our rows (for replication > conflicts) as well as general record description through the > application. The timestamp look like 'MM/DD/ HH:MM:SS.SS.SS.SS +/- > GMT". > > Honestly I was a bit suprised that 6.1 didnt have an issue when > passing a timestamp with that format. However 6.1 updater does. It > says that its not a vaild date. > > Just thought I would share that bit of knowledge and see if anyone > else can confirm that the issue. > > -Adam > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: FLiP Methodology.....
At 03:00 PM 10/13/2004, you wrote: >Ahhh, no, that's more apples to oranges. You can use FLIP and never >write a single piece of fusebox code. BTW, MVC is not new either. Right. Mach-II can make an apple faster with OO and MVC and CFML and CFCs than FLiP ever could with .QRY or .DSP files. >Here's a link to some mp3's about FLIP from Jeff Peters and Hal Helms. >It will give you a good idea of what FLIP is. > >http://www.grokfusebox.com/index.cfm?ref=flipOut > > >> > Use Mach-II. It's really fast. >> >> > Mach-II uses OO and the new MVC technology. FLiP is good, >> > but compared to MVC, it's like comparing a Chevette to a >> > Corvette. >> >> > -- >> > A >> [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: JavaScript Enabled Stats
We use a service call http://www.browserhawk.com/ to do all of our browser testing. We get back stats for all these vars. I wrote a CFC that interfaces w/ their code. It is handy because we know on the fly what version of Flash, JS, connection speed, ... and other junk. OS OSDetail Browser FullVersion MSN AOL Gecko GeckoBuildDate BrowserBuild IPAddress ResolveIP Referrer LanguageType ConnectionSpeed ConnectionType ResolutionHeight ResolutionWidth BrowserHeight BrowserWidth ColorDepth Flash FlashSP2 FontSmoothing Cookies _javascript_ _javascript_Ver JavaApplets ActiveXControls DHTML IFrames StyleSheets FileUpload MouseOver ImagesEnabled Plugin_Acrobat Plugin_AcrobatVerEx ImagesEnabled Ryan Duckworth Macromedia ColdFusion Certified Professional Uhlig Communications 10983 Granada Lane Overland Park, KS 66211 (913) 754-4272 _ From: Jason Lemahieu [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 2:44 PM To: CF-Talk Subject: _javascript_ Enabled Stats I want to find out about how many of our users have _javascript_ enabled. I think it'll be like 99%, but would like to know if it is, in fact, something like 75%. I can make a simple database that stores 2 values (Enabled, notEnabled) to update with each session, but I'm not sure how to exactly check. The plan would be just a simple addition to a site's Application.cfm. I want to set a var on the page, JSEnabled = false; then use _javascript_ to set the var to true onLoad. (which will obviously only happen if they have JS enabled) The problem then, is how do I get this information back, as the page is not just a form. They could click on any number of links which I don't want to change. Has anyone tried taking stats like this before? Otherwise, is it available in some other way? (For example, a cgi.client_javascript??) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: sorting form variables
> How would you sort outputted columns processed by a form? > The only way I think of is adding a value to the processing > form called "Sort By:" > and allowing the user to select which column to sort by. > > Anyone else have any other ideas? > If you refresh the page those form variables are gone. > So it's not like you can pass those variables back along with > a url variable for sorting purposes. I don't think there's any meaningful order to form data, but if you really want to preserve it in the order in which it was sent by the browser, you can access the HTTP request body directly using the GetHTTPRequestData function. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CF Certified Print Logos?
.bin is a binary files that can be either: application/octet-stream application/bin application/binary application/x-msdownload (check out www.filext.com for anything extension related) You might want to try out an image viewer like http://www.irfanview.com/ (its freeware). On Tue, 12 Oct 2004 18:28:39 -0400, dave <[EMAIL PROTECTED]> wrote: > .bin is also a windows file > > the magic of google gives us this > http://forums.devhardware.com/archive/t-17622 > > > > -- Original Message -- > From: Dave P <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 12 Oct 2004 18:25:06 -0400 > > >.bin and .hqx are mac compressions like zip... > > > >...if you deal with crossover files on a regular basis, try StuffIt by > Alladin software...it will handle all sorts of formats for PC, Mac, and even > Linux (i think it does tar...?)...there is a free version called UnStuffIt > that just lets you extract (that's what i use)... > > > >...but you probably already figured a way in judging from your last post... > > > >...if you can extract it, the chances should be fairly good that you can > pull the eps into Freehand (which comes with MX Studio) or Adobe Illustrator > or Photoshop... > > > >good luck... > >...dave > > > > > >>pardon that notion. > >> > >>loooks like the print versions are only for mac. > >> > >>and the digital versions are standard .jpg and .gif format/extensions. > >> > >>sorry. > >>tw > >> > >> > >>On Tue, 12 Oct 2004 16:32:22 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote: > >>> > > > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
CFMX 6.1 Updater DateFormat Issue
Has anyone else noticed that dateFormat() doesnt act the same pre-6.1 updater? We are using oracle timestamp on all our rows (for replication conflicts) as well as general record description through the application. The timestamp look like 'MM/DD/ HH:MM:SS.SS.SS.SS +/- GMT". Honestly I was a bit suprised that 6.1 didnt have an issue when passing a timestamp with that format. However 6.1 updater does. It says that its not a vaild date. Just thought I would share that bit of knowledge and see if anyone else can confirm that the issue. -Adam [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
JavaScript Enabled Stats
I want to find out about how many of our users have _javascript_ enabled. I think it'll be like 99%, but would like to know if it is, in fact, something like 75%. I can make a simple database that stores 2 values (Enabled, notEnabled) to update with each session, but I'm not sure how to exactly check. The plan would be just a simple addition to a site's Application.cfm. I want to set a var on the page, JSEnabled = false; then use _javascript_ to set the var to true onLoad. (which will obviously only happen if they have JS enabled) The problem then, is how do I get this information back, as the page is not just a form. They could click on any number of links which I don't want to change. Has anyone tried taking stats like this before? Otherwise, is it available in some other way? (For example, a cgi.client_javascript??) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfqueryparam issue
Greg Morphis wrote: > Okay I just spent about an hour on this... > Something's messed up with cfquerparam when used within the order by > SQL statement. > It was like it was ignoring the order by entirely. > > > order by > Only use bind variables (i.e. cfqueryparam) for variables, not for identifiers. Using bind variables signals that the query execution plan is stable and can be cached, which is not the case when you use them for identifiers. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Session Variables dropping?
A session variable holds through 2 pages then is not recognized on the 3rd page. Going back to the other pages and refreshing that page shows the session variable to be valid. Any ideas? Thanks, Nick More specifics 1. Execute the following query dbtype="ODBC"> This same query will be used on each of the following pages, only displaying different variables based on users selection. Below is the query. maxrows=1> On the 3rd page it throws the following error. "Element SRCHRESULTS is undefined in SESSION" [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: cfqueryparam issue
> Okay I just spent about an hour on this... > Something's messed up with cfquerparam when used within the > order by SQL statement. > It was like it was ignoring the order by entirely. > > > ""> order by > value="#arguments.sortby#"> > > is what I had at the bottom of my query in the CFC > > I took the SQL code generated by ColdFusion (in the debug > section), dumped that into Oracle and BAM ordered by correctly. > I thought something was up with my I'm using a > nested with the group= attribute. > I tried everything I could think of.. finally asked a friend > who fortunately for me said that he ran into problems using > the tag in the ORDER BY statement.. > I took it out and replaced with > > ""> order by #arguments.sortby# and it worked. > > Has anyone else seen this or knows what the deal with > is when in the ORDER BY SQL statement. I simply don't think you can use bind variables within an ORDER BY clause. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFMX/J2EE - where can I store my components?
> For split installs (web server and CF on different machines), > I'd recommend just installing the entire tree to both > machines. It's enormously simpler that way, and since your > web root doesn't contain any of the CFCs, there's no way > anyone can possibly call it. Out of curiosity, how many people here are using distributed mode? If so, why are you using it? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: 4096 Error
> We have a weird error that pops up every once in a while. > Ever since we moved to CFMX from CF5, we have been getting > this mysterious error "4096". It has happened about 5 times > in the last month or so. > > All the message says is "4096" > > And the stack trace is as follows > > java.lang.ArrayIndexOutOfBoundsException: 4096 > > at > macromedia.jdbc.sqlserver.SQLServerByteOrderedDataWriter.putUC > S2String(Unknown Source) Are you working with CLOB data in this SQL UPDATE statement? Are you using the same version of the DataDirect SQL Server driver on each machine? That is, have you installed any database driver updates (including CFMX 6.1 Updater 1) on one machine and not the other? I would recommend that you install CFMX 6.1 Updater 1 on the problematic machine. If you did that already, you might try using Microsoft's own JDBC driver, with which I've had excellent results. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
cfqueryparam issue
Okay I just spent about an hour on this... Something's messed up with cfquerparam when used within the order by SQL statement. It was like it was ignoring the order by entirely. order by is what I had at the bottom of my query in the CFC I took the SQL code generated by ColdFusion (in the debug section), dumped that into Oracle and BAM ordered by correctly. I thought something was up with my I'm using a nested with the group= attribute. I tried everything I could think of.. finally asked a friend who fortunately for me said that he ran into problems using the tag in the ORDER BY statement.. I took it out and replaced with order by #arguments.sortby# and it worked. Has anyone else seen this or knows what the deal with is when in the ORDER BY SQL statement. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
4096 Error
We have a weird error that pops up every once in a while. Ever since we moved to CFMX from CF5, we have been getting this mysterious error "4096". It has happened about 5 times in the last month or so. All the message says is "4096" And the stack trace is as follows java.lang.ArrayIndexOutOfBoundsException: 4096 at macromedia.jdbc.sqlserver.SQLServerByteOrderedDataWriter.putUCS2String(U nknown Source) at macromedia.jdbc.sqlserver.SQLServerByteOrderedDataWriter.writeStringAsUC S2(Unknown Source) at macromedia.jdbc.sqlserver.tds.TDSExecuteRequest.submitRequest(Unknown Source) at macromedia.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source) at macromedia.jdbc.base.BaseStatement.commonExecute(Unknown Source) at macromedia.jdbc.base.BaseStatement.executeInternal(Unknown Source) at macromedia.jdbc.base.BaseStatement.execute(Unknown Source) at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212) plus more lines I removed.. The line number points to inside a query on the where clause of an update statement. The weird thing is on one machine the error will occur, and then I can go on my machine and it will work just fine, same browser, same os, same site. Anyone have this problem before? Thanks for the help. --- Kevin Kazmierczak, MBA Citynet Software Developer 304-848-5451 [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: FLiP Methodology.....
Ahhh, no, that's more apples to oranges. You can use FLIP and never write a single piece of fusebox code. BTW, MVC is not new either. Here's a link to some mp3's about FLIP from Jeff Peters and Hal Helms. It will give you a good idea of what FLIP is. http://www.grokfusebox.com/index.cfm?ref=flipOut > > Use Mach-II. It's really fast. > > > Mach-II uses OO and the new MVC technology. FLiP is good, > > but compared to MVC, it's like comparing a Chevette to a > > Corvette. > > > -- > > A > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: OT: Javascript Date/Time help!
Jeff Waris wrote: > I can handle this with CF no problem, but I have an instance where I need to > make a DATE and TIME comparison with the server time BEFORE a form gets > submitted. I figure the best way to handle this is in the form of some > _javascript_ validation. I know _javascript_ but I am no expert by any means. > > Here is what I got: > -I can pull the current form date entry with document.myForm.dueDate.value. > -Everyone enters the date in MM/DD/ on the form. Change this to separate fields for , MM and DD. Concatenate them all together, then concatenate that with the server time and you have MMDDHHMMSS. You can now do a simple string comparison (just be sure to document that the code needs to be revised before Y10K). Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFMX/J2EE - where can I store my components?
I usually set up my applications with a single approot, and within that is the webroot and a 'com' folder, which is the root of my CFC package hierarchy for the application. Obviously CFCs that will be called with web services need to be in the webroot, but those are the exception. For split installs (web server and CF on different machines), I'd recommend just installing the entire tree to both machines. It's enormously simpler that way, and since your web root doesn't contain any of the CFCs, there's no way anyone can possibly call it. cheers, barneyb On Wed, 13 Oct 2004 11:34:57 -0400, Garcia Freddys <[EMAIL PROTECTED]> wrote: > I would like to hear where people are putting the Coldfusion Components > when using a J2EE configuration for Coldfusion. > It is possible to store all the components on the CFMX server in order > to keep the web server free of any program logic? If so, what does it > entail to set this up? Mappings, etc.. > My boss has this rule about keeping all logic off the web server as much > as possible. > > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com I currently have 4 GMail invites for the taking [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: FLiP Methodology.....
> > Does anyone on this list use the FLiP Methodology. I was > > wondering exactly > > what this is and what the benefits are of using it. Just finished first listen of Helms and Peters talking about Fusebox/FLiP in general and was pretty enlightening http://www.grokfusebox.com/index.cfm?ref=flipOut It's about an hour and a half of MP3 and well recommended for a listen... Cheers -- dc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
OT: Javascript Date/Time help!
I can handle this with CF no problem, but I have an instance where I need to make a DATE and TIME comparison with the server time BEFORE a form gets submitted. I figure the best way to handle this is in the form of some _javascript_ validation. I know _javascript_ but I am no expert by any means. Here is what I got: -I can pull the current form date entry with document.myForm.dueDate.value. -Everyone enters the date in MM/DD/ on the form. -I can make a _javascript_ variable of the current server DATE using createdate() CF function. -I can make a _javascript_ variable of the current server TIME as well using the CF function createtime(). -I can pull from my database a CUTOFF time in HH:MM:SS from my database. Now for the tuff part. Using _javascript_, I need to combine the FORM DATE and CURRENT SERVER TIME into a single _javascript_ variable, lets call it FORMDATE_TIME. I then need to take the CURRENT SERVER DATE and compine it with the DATABASE's CUTOFF TIME into another _javascript_ variable as CUTOFFDATE_TIME. Once I have those variables, I want to return true if the FORMDATE_TIME is less than the CUTOFFDATE_TIME and return false if not. Any help or point in the right direction from any _javascript_ gurus would be appreciated... Thanks. Jeff [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: FLiP Methodology.....
my group at the company I work for basically uses this approach. We 'wireframe' out an app. Once the clients like it, we jamm out some code under the premise of 'requiremnts will change' . DK On Wed, 13 Oct 2004 14:12:10 -0400, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: > > HI, > > > Does anyone on this list use the FLiP Methodology. I was > > wondering exactly > > what this is and what the benefits are of using it. > > > Thanks > > > Mario > > > > > 6> > > It's a step-by-step process for taking programming project idea from > concept to completion which has been built primarily around Fusebox. > Some of the middle bits (identifying circuits & fuses, etc) could be > swapped out for any other given coding framework. The surrounding bits > primarily involve requirements gathering and suggest that the > application should be wire-framed and that the look and feel should be > completed before a single line of code is written. Once that's done > the clients sign off on the look and feel and the desired > functionality -- they can (and will) make changes after they sign off > on it, however, with proper documentation they pay higher fees for > changes made after this point. The whole idea really is to streamline > the non-coding portion of the work, to improve communication with > clients and thereby improve client satisfaction with the finished > product. > > s. isaac dealey 954.927.5117 > > new epoch : isn't it time for a change? > > add features without fixtures with > the onTap open source framework > http://www.sys-con.com/story/?storyid=44477&DE=1 > http://www.sys-con.com/story/?storyid=45569&DE=1 > http://www.fusiontap.com > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
sorting form variables
How would you sort outputted columns processed by a form? The only way I think of is adding a value to the processing form called "Sort By:" and allowing the user to select which column to sort by. Anyone else have any other ideas? If you refresh the page those form variables are gone. So it's not like you can pass those variables back along with a url variable for sorting purposes. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: flashblog Translation plz
Great! I really did not have the time yesterday. Russell - Original Message - From: Steven Erat To: CF-Talk Sent: Wednesday, October 13, 2004 1:14 PM Subject: RE: flashblog Translation plz I think I got them all. In case this message is truncated, note the START and END delimiters of my email. START // English translation by Steven Erat // USEFUL TRANSLATIONS // cargar = to load / cargando = loading // contenido = content // ventana = window // archivo = stylesheet or other page loaded separately // mostrar = to show // altura = height // boton = button // ocultar = to hide // comentarios = comments // detalles = details // campo de texto = text area // menús inferiores = submenu // enlace = link // avance y retroceso = next and previous, as in buttons // stop(); //loadMovie("chat.swf",1000); // para mostrar texto con carácteres especiales (acentos, etc..) // to show the text with special characters (accents, etc) System.useCodepage = true; // // ** // RESIZE ALTURA CONTENIDO // RESIZE CONTENT HEIGHT // ** allowResize = "true"; Stage.scaleMode = "noScale"; // Alinear el Stage al centro // Align the Stage in the center Stage.align = "T"; function resize() { if (allowResize == "true") { h1 = Math.ceil(contenido._y + contenido._height + bottom._height)+10; h2 = ventanas_varias._y + ventanas_varias._height + 10; v1_medio._height = contenido._height - 10; bottom._y = contenido._y + contenido._height -10; if (h1>h2) { h = h1; getURL("_javascript_:setFlashHeight('mother',"+h+");"); } else { h = h2; getURL("_javascript_:setFlashHeight('mother',"+h+");"); } } }; // ** // AMPLIAR EL CAMPO DE TEXTO AL CONTENIDO // ADJUST CONTENT TEXT AREA // ** contenido.autoSize = "Left"; // ** // CARGA DEL ARCHIVO CSS //LOAD CSS STYLESHEET // ** var styleObj = new TextField.StyleSheet(); styleObj.load("style.css"); styleObj. { if (success) { contenido.styleSheet = styleObj; comentarios_mc.textArea_mc.styleSheet = styleObj; } }; // ** // REPRESENTACION DEL MENU DE LAS CATEGORIAS // RENDER MENU OF CATEGORIES // ** //load Category function cargaCat(); botonMas._visible = false; botonMenos._visible = false; function cargaCat() { // distancia entre botones, el ALTO (_height) del clip a duplicar. distancia = categorias_mc._height; // coordenada inicial del primer botón, en la posición del escenario. yinicial = categorias_mc._y; // Crear el objeto LoadVars y cargar el archivo // Create the object LoadVars and load from an included page Categorias = new LoadVars(); Categorias.load("php/categorias.php"); Categorias. { if (suceso) { for (var i = 1; i<=this.cantidad; i++) { duplicateMovieClip("categorias_mc", "categorias_mc"+i, i); setProperty("categorias_mc"+i, _y, yinicial); // mandamos las variables a los botones set("categorias_mc"+i+".titulo.htmlText", this["categoria"+i]); set("categorias_mc"+i+".id", this["id"+i]); yinicial = yinicial + distancia; } } else { // si no carga el archivo, realizar la siguiente acción: // if the included page didn't load, take the following action: // getURL("_javascript_:alert('ERROR: No se ha cargado correctamente la página')"); getURL("_javascript_:alert('ERROR: The page has not loaded correctly)"); } coord_y = categorias_sup._y ; altura = categorias_sup._height; menu_inf._y = coord_y + altura + (distancia * this.cantidad); // posición menús inferiores al de Categorias // position the submenu with respect to the Categories ventanas_varias._y = menu_inf._y + menu_inf._height - 25; // ocultar el clip original // hide the original clip categorias_mc._visible = false; // comprueba altura navegador // confirm the navigator height resize(); // envia variable URL y llama a la función 'ListCat' // send the URL variable and call the function 'ListCat' tmp = new Date(); URL1 = "php/indexArticulos1.php?fecha=" +tmp.getTime(); ListCat(); } }; // *** // FUNCION CARGAR CONTENIDO INICIAL // FUNCTION TO LOAD INTIAL CONTENT // *** // funci
RE: flashblog Translation plz
I think I got them all. In case this message is truncated, note the START and END delimiters of my email. START // English translation by Steven Erat // USEFUL TRANSLATIONS // cargar = to load / cargando = loading // contenido = content // ventana = window // archivo = stylesheet or other page loaded separately // mostrar = to show // altura = height // boton = button // ocultar = to hide // comentarios = comments // detalles = details // campo de texto = text area // menús inferiores = submenu // enlace = link // avance y retroceso = next and previous, as in buttons // stop(); //loadMovie("chat.swf",1000); // para mostrar texto con carácteres especiales (acentos, etc..) // to show the text with special characters (accents, etc) System.useCodepage = true; // // ** // RESIZE ALTURA CONTENIDO // RESIZE CONTENT HEIGHT // ** allowResize = "true"; Stage.scaleMode = "noScale"; // Alinear el Stage al centro // Align the Stage in the center Stage.align = "T"; function resize() { if (allowResize == "true") { h1 = Math.ceil(contenido._y + contenido._height + bottom._height)+10; h2 = ventanas_varias._y + ventanas_varias._height + 10; v1_medio._height = contenido._height - 10; bottom._y = contenido._y + contenido._height -10; if (h1>h2) { h = h1; getURL("_javascript_:setFlashHeight('mother',"+h+");"); } else { h = h2; getURL("_javascript_:setFlashHeight('mother',"+h+");"); } } }; // ** // AMPLIAR EL CAMPO DE TEXTO AL CONTENIDO // ADJUST CONTENT TEXT AREA // ** contenido.autoSize = "Left"; // ** // CARGA DEL ARCHIVO CSS //LOAD CSS STYLESHEET // ** var styleObj = new TextField.StyleSheet(); styleObj.load("style.css"); styleObj. { if (success) { contenido.styleSheet = styleObj; comentarios_mc.textArea_mc.styleSheet = styleObj; } }; // ** // REPRESENTACION DEL MENU DE LAS CATEGORIAS // RENDER MENU OF CATEGORIES // ** //load Category function cargaCat(); botonMas._visible = false; botonMenos._visible = false; function cargaCat() { // distancia entre botones, el ALTO (_height) del clip a duplicar. distancia = categorias_mc._height; // coordenada inicial del primer botón, en la posición del escenario. yinicial = categorias_mc._y; // Crear el objeto LoadVars y cargar el archivo // Create the object LoadVars and load from an included page Categorias = new LoadVars(); Categorias.load("php/categorias.php"); Categorias. { if (suceso) { for (var i = 1; i<=this.cantidad; i++) { duplicateMovieClip("categorias_mc", "categorias_mc"+i, i); setProperty("categorias_mc"+i, _y, yinicial); // mandamos las variables a los botones set("categorias_mc"+i+".titulo.htmlText", this["categoria"+i]); set("categorias_mc"+i+".id", this["id"+i]); yinicial = yinicial + distancia; } } else { // si no carga el archivo, realizar la siguiente acción: // if the included page didn't load, take the following action: // getURL("_javascript_:alert('ERROR: No se ha cargado correctamente la página')"); getURL("_javascript_:alert('ERROR: The page has not loaded correctly)"); } coord_y = categorias_sup._y ; altura = categorias_sup._height; menu_inf._y = coord_y + altura + (distancia * this.cantidad); // posición menús inferiores al de Categorias // position the submenu with respect to the Categories ventanas_varias._y = menu_inf._y + menu_inf._height - 25; // ocultar el clip original // hide the original clip categorias_mc._visible = false; // comprueba altura navegador // confirm the navigator height resize(); // envia variable URL y llama a la función 'ListCat' // send the URL variable and call the function 'ListCat' tmp = new Date(); URL1 = "php/indexArticulos1.php?fecha=" +tmp.getTime(); ListCat(); } }; // *** // FUNCION CARGAR CONTENIDO INICIAL // FUNCTION TO LOAD INTIAL CONTENT // *** // función para cargar el contenido // function to load the content function ListCat() { // para subir el scroll arriba // to scroll up getURL("_javascript_:window.scroll(0,0)"); // Para cargar en blanco. // Show a "loading content" message while screen is still blank contenido.text = "Cargando contenido..."; // Carga de texto // load the text noticias1 = new LoadVars(); noticias1.load(URL1); noticias1. { if (cargo) { contenido.htmlText = this.
Re: FLiP Methodology.....
> At 12:31 PM 10/13/2004, you wrote: >>HI, >> >>Does anyone on this list use the FLiP Methodology. I was >>wondering exactly >>what this is and what the benefits are of using it. >> >>Thanks >> >>Mario > Use Mach-II. It's really fast. > Mach-II uses OO and the new MVC technology. FLiP is good, > but compared to MVC, it's like comparing a Chevette to a > Corvette. > -- > A I don't see the connection... FLiP is a methodology... it could just as well be adapted to Mach-II as it would be adapated to Fusebox and have approximate effect on your development ... Further arguments can be made that it's faster to develop with Mach-II than with Fusebox or other non-oo platforms. I disagree that there is a gain in terms of development time _unless_ you are already familiar with OO and _more_ comfortable with OO than with procedural development. In all other cases I would expect there to be a loss in terms of development time. Other pros and cons of OO development can and are argued on their own individual merits and make up the argument for or against moving to OO development from an existing procedural model. The preceding has been a public service announcement. :) s. isaac dealey 954.927.5117 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.sys-con.com/story/?storyid=44477&DE=1 http://www.sys-con.com/story/?storyid=45569&DE=1 http://www.fusiontap.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: FLiP Methodology.....
> HI, > Does anyone on this list use the FLiP Methodology. I was > wondering exactly > what this is and what the benefits are of using it. > Thanks > Mario > > 6> It's a step-by-step process for taking programming project idea from concept to completion which has been built primarily around Fusebox. Some of the middle bits (identifying circuits & fuses, etc) could be swapped out for any other given coding framework. The surrounding bits primarily involve requirements gathering and suggest that the application should be wire-framed and that the look and feel should be completed before a single line of code is written. Once that's done the clients sign off on the look and feel and the desired functionality -- they can (and will) make changes after they sign off on it, however, with proper documentation they pay higher fees for changes made after this point. The whole idea really is to streamline the non-coding portion of the work, to improve communication with clients and thereby improve client satisfaction with the finished product. s. isaac dealey 954.927.5117 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.sys-con.com/story/?storyid=44477&DE=1 http://www.sys-con.com/story/?storyid=45569&DE=1 http://www.fusiontap.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: FLiP Methodology.....
At 12:31 PM 10/13/2004, you wrote: >HI, > >Does anyone on this list use the FLiP Methodology. I was wondering exactly >what this is and what the benefits are of using it. > >Thanks > >Mario Use Mach-II. It's really fast. Mach-II uses OO and the new MVC technology. FLiP is good, but compared to MVC, it's like comparing a Chevette to a Corvette. -- A [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: undefined value?
I did which is the query name right after the query -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 1:34 PM To: CF-Talk Subject: Re: undefined value? How did you dump the error_ID? with the queryname prefix? var="#edit.error_ID#"> 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 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: flashblog Translation plz
Dave, did you get the translated file I sent you? Russell - Original Message - From: dave To: CF-Talk Sent: Tuesday, October 12, 2004 7:01 PM Subject: Re: flashblog Translation plz thats cool, can i email u some stuff directly? i wanna rip all the actionscript out and put into as files i think there are about 5 more pages (very short) maybe i will try babylon as well [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfm flash blog update
Great!!! Congratulations for that job... Impressive! Could be open source? Cheers Marco On Wed, 13 Oct 2004 04:16:04 -0400, dave <[EMAIL PROTECTED]> wrote: > well its coming along > thanks to Robert munn for all his hard work! > > michael, do you have a good logo we can throw on there? > > the basics are working, see at > http://www.jamwerx.com/flashblog/cfmblog2/index.cfm > > roberts been converting all the php and i been tweakin the flash, css and gunna make it css & xhtml valid. > > I been trying to convert all the queries to cfc's but Im sure one of u could do it better, if someone wants that part let me know :) > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: What happened?
That's when I installed the latest MS security update and did a chkdsk to make sure everything was good. The system took a long time and didn't even finish the chkdsk. There's a LOT of data on the system. I'm making sure everything is back now. >I haven't received a message from cf-talk since 3:00 am this morning... what >gives? > >-Mark [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CF and HashCash for email: Easy
Didn't take much to get this working. There is a command line executable at hashcash.org that you can download. So, (after removing buncha dynamic stuff for clarity here) it looks like this: name="c:\hashcash.exe" arguments="-mb22 [EMAIL PROTECTED]" variable="hashCashResult" timeout="5"> TO="[EMAIL PROTECTED]" FROM="[EMAIL PROTECTED]" SUBJECT="Password Reminder" > Hello user, The password for your account is: some_password Cheers, The Database name = "X-HashCash" value = "#hashCashResult#" > Here is how much SpamAssasin adjusts the spam score based on the number of bits used (22 in the above example) Hashcash 20 bits -0.500 Hashcash 21 bits -0.700 Hashcash 22 bits -1.000 Hashcash 23 bits -2.000 Hashcash 24 bits -3.000 Hashcash 25 bits -4.000 Hashcash >25 bits -5.000 Cheers all, Anders +===+ |Anders Green Email: [EMAIL PROTECTED] | | Home: 919.303.0218 | |Off Road Rally Racing Team: http://linaracing.com/ | +===+ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: undefined value?
How did you dump the error_ID? with the queryname prefix? 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 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
FLiP Methodology.....
HI, Does anyone on this list use the FLiP Methodology. I was wondering exactly what this is and what the benefits are of using it. Thanks Mario [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: J2EE Sessions / session.urlToken
CFID/CFTOKEN are still used to identify client variables stored in the database. Check the help on urlSessionFormat, I think there's a switch to turn off the token append. best, Chris Norloff -- Original Message -- From: Jamie Jackson <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Tue, 12 Oct 2004 17:10:33 -0400 >I've got a couple questions about session.urlToken under J2EE >sessions: > >When J2EE sessions are enabled, why does session.urlToken bother with >CFID/CFTOKEN anymore. The fact that both are there confuses me. I >wonder which takes precedence? Do I lose the extra security that the >uniqueness of jsessionID affords (i.e. can someone still hack the >CFID/CFTOKEN and hijack a session)? > >Also, I'm using urlSessionFormat, and am getting the urltoken >appended, even with cookies turned on. Any suggestions as to how to >troubleshoot this? > >Thanks, >Jamie > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
What happened?
I haven't received a message from cf-talk since 3:00 am this morning... what gives? -Mark [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
undefined value?
Hi, I've got the following cfquery statement: SELECT * FROM error_table WHERE error_id = #url.id# in the error_table table there is a primary key called error_id, but the system says that error_id is undefined. I did a cfdump on #error_id# and it says the same thing. I did a cfdump on all variables ( var="#Variables#"and the error_id shows up on my query. I can't get the code to proceed any further without getting the error_id undefined error so I cant use dump any further. Any suggestions? Oh, and is true btw. Thanks Phil [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
if CF5 and mySQL then no CREATE TABLE?
I just tried to run an installer on a client's server, where that installer runs some cfqueries that create tables. Its a CF5/mySQL4 box, where I installed the latest mySQL odbc and db maybe a month ago. I created the mySQL dsn in the Windows ODBC applet as was normal in the olden days. Running the installer yields this : "The SQL operation you specified is unrecognized (only SELECT, INSERT, UPDATE, DELETE, and CALL are supported). " The CF Admin control page for this dsn only has checkboxes for allowing/disallowing select, insert, update and delete. Is that normal? no table creation in CF5/mySQL? Sounds so wrong. Wasn't that way in older vers. -- --Matt Robertson-- President, Janitor MSB Designs, Inc. mysecretbase.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
CFMX/J2EE - where can I store my components?
I would like to hear where people are putting the Coldfusion Components when using a J2EE configuration for Coldfusion. It is possible to store all the components on the CFMX server in order to keep the web server free of any program logic? If so, what does it entail to set this up? Mappings, etc.. My boss has this rule about keeping all logic off the web server as much as possible. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Scopes. Which are nested?
From a previous post I made about problems with cfdump: >From what I have determined, below are the variable scopes in CFMX 6.1 (I did not analyze var or dynamically named variables, like cfquery results). Session, Application, Server, Client, Cookie, Request, Variables, Form, URL, CGI, Attributes, cffile. Below are what look like variable scopes, but are actually embedded inside of the "variables" scope. Error, cferror, cfhttp, cfstoredproc, cfftp, caller, cfcatch I hope this helps, Mike Chabot [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
cfm flash blog update
well its coming along thanks to Robert munn for all his hard work! michael, do you have a good logo we can throw on there? the basics are working, see at http://www.jamwerx.com/flashblog/cfmblog2/index.cfm roberts been converting all the php and i been tweakin the flash, css and gunna make it css & xhtml valid. I been trying to convert all the queries to cfc's but Im sure one of u could do it better, if someone wants that part let me know :) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]