RE: IE 8 messing up my tables in a CFWINDOW
Try to remove any extraneous tags on the page in the pop-up window, leaving only markup relevant to the layout of the page, ie, , etc. Remove all tags. Hope this helps ~Steve From: Scott Spurlock [spurlock.sc...@yahoo.com] Sent: Tuesday, August 11, 2009 3:42 PM To: cf-talk Subject: Re: IE 8 messing up my tables in a CFWINDOW I must confess -- I didn't even know about that mode. Yes, the problem goes away when I turn on Compatibility View. When Compatibility View is checked, I can see the text/data in the table just fine. When I uncheck Compatibility View, I'm back to a blank screen. --- On Tue, 8/11/09, Mike Chabot wrote: Does the problem go away when you switch to MSIE 7 compatibility mode within MSIE 8? -Mike Chabot On Tue, Aug 11, 2009 at 2:41 PM, Scott Spurlock wrote: > > I'm using ColdFusion.Window.create() in a link to open another window. In > the pop-up window (yes, I know it's technically a div and not a pop-up > window), I have a table. The contents of this pop-up window display just > fine in IE 7 and Firefox 3, but not IE 8. In IE 8, everything before and > after the table appears in the browser. Everything between the table tags, > though, is ignored. Why? It's a very simple table. And even when I pare > the code down to just Hello World!, I still > can't get the text to appear. Why is IE 8 messing this up? > > Thanks, > Scott ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325354 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Web service error
It's hard to tell because you did not include the entire SQL statement, but the error message indicates that you neglected to put an "s" on "arguments.firstName". You probably have "argument.firstname". ~Steve From: ch g [chr_...@yahoo.com] Sent: Wednesday, August 05, 2009 1:40 PM To: cf-talk Subject: Re: Web service error After i changed the file name it's working, so i developed another service to verify the information aganist my database. Now i am receiving this error. Cannot perform web service invocation testUser. The fault returned when invoking the web service operation is: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.UndefinedElementException : Element FIRSTNAME is undefined in ARGUMENT.] faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.UndefinedElementException : Element FIRSTNAME is undefined in ARGUMENT.] at coldfusion.xml.rpc.CFComponentSkeleton.__createCFCInvocationException(CFComponentSkeleton.java:723) at coldfusion.xml.rpc.CFComponentSkeleton.__invoke(CFComponentSkeleton.java:670) at serviceTest.testUser(C:\Inetpub\wwwroot\devsite\serviceTest.cfc) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) ... '' And here is my function SELECT * FROM... What's wrong with the above function? Thank you so much for all your time and suggestions. >A quick test on my own server shows that your function works fine. > > >createobject("webservice","http://www.ecodes.biz/UserVerif.cfc?wsdl";).echoSt >ring("hello World")/> > >#x# > > >I suspect you have compiled the WSDL and the stub is being cached. You need >to refresh the cache... But as a quick fix just rename your file to >UserVerify.cfc or something and try again :) > >-mark > > >Mark A. Kruger, CFG, MCSE >(402) 408-3733 ext 105 >www.cfwebtools.com >www.coldfusionmuse.com >www.necfug.com > >I included that also > > access="remote"> > > > > >Still receving the same error message > >Web service operation echoString with parameters {input={hello}} cannot >be found. > >Thank you. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325229 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: ColdFusion.Window.create problems..
I'm pretty sure that event.pageX and event.pageY are not supported in Internet Explorer. You may have to look at other options such as event.clientX and event.clientY. Perhaps somebody else can shed more light on this, but I tried using the same code you have and could not get it to work correctly in IE. After some research I found out about IE's lack of support for event.pageX and event.pageY Steve From: Joel Polsky [polskystud...@gmail.com] Sent: Friday, March 06, 2009 3:32 PM To: cf-talk Subject: ColdFusion.Window.create problems.. Hi, I'm trying implement the sample on this page, which controls where a cfwindow appears based on the x/y click . http://www.coldfusionjedi.com/index.cfm/2007/11/29/ColdFusion-8-and-AjaxBased-Login Here's where my latest code: function doLogin(x,y) { ColdFusion.Window.create('loginwindow','Members Only Area: Login','/industry/includes/member-login.cfm',{modal:true,height:160,width:300, x:x+0,y:y+50}); } MEMBER LOGIN It seems to work in FF, but NOT in IE7. Thanks, Joel ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: spry problem with IE
Hi Mike I've used Spry extensively and have never had a problem with IE7. I have had problems with certain versions of IE6 loading XML that I've posted to the Spry forums without any resolution. I'd be happy to look up that thread and post a link here, but the search functionality for the Spry forums on Adobe's web site has been broken for a few weeks. Anyway, you may get more responses if you go into greater detail regarding what IE7 is or is not doing rather than simply saying it does not work. Do you have a link we could check out? Steve From: Mike Soultanian [msoul...@csulb.edu] Sent: Friday, January 23, 2009 7:58 PM To: cf-talk Subject: spry problem with IE My friend had a question about spry and I didn't have the answer so I thought I'd query the list: Currently I am testing an application that uses spry to get data from a CFC which queries a database and convert the query to a XML variable. This application works fine with most current browsers, but not with IE 7. I was wondering if anyone knows a fix for IE to show spry:region. Thanks! Mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318469 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Javascript compatibility question
Right. The only time that getElementById() failed for me was when I accidentally had 2 elements with the same id. Make sure you do not have that problem. Also, have you tried document.form1.pre_absent.disabled=true ? Steve From: Charlie Griefer [charlie.grie...@gmail.com] Sent: Tuesday, January 13, 2009 12:48 PM To: cf-talk Subject: Re: Javascript compatibility question do you have multiple elements on the page with the same ID? On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart wrote: > tried that, and no love... > > Charlie Griefer wrote: > > I think what Adrian's getting at is your reference to the elements should > be > > document.getElementById('foo'), not document.form1.getElementById('foo'). > > can you give that a shot? > -- I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317883 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Javascript compatibility question
Try the syntax of one of the following examples: document.form1.pre_absent.disabled = true; document.getElementById("pre_absent").disabled = true; HTH Steve From: Scott Stewart [saste...@email.unc.edu] Sent: Tuesday, January 13, 2009 11:29 AM To: cf-talk Subject: Javascript compatibility question Hey all, I'm trying to disable radio button based on a selection. These functions are called from an onClick. Any reason why they'd work in Firefox and not in IE 7? function disableOnPaidLeave(){ document.form1.getElementById("pre_absent").disabled=true; document.form1.getElementById("alternative_week_id").disabled=true; document.form1.getElementById("pre_pretransplant").disabled=true; document.form1.getElementById("pre_pediatric_clinic").disabled=true; document.form1.getElementById("pre_absent_n").disabled=true; document.form1.getElementById("pre_pretransplant_n").disabled=true; document.form1.getElementById("pre_pediatric_clinic_n").disabled=true; } function enableOnPaidLeave(){ document.form1.getElementById("pre_absent").disabled=false; document.form1.getElementById("alternative_week_id").disabled=false; document.form1.getElementById("pre_pretransplant").disabled=false; document.form1.getElementById("pre_pediatric_clinic").disabled=false; document.form1.getElementById("pre_absent_n").disabled=false; document.form1.getElementById("pre_pretransplant_n").disabled=false; document.form1.getElementById("pre_pediatric_clinic_n").disabled=false; } -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research & Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: saste...@email.unc.edu ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317866 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Active Directory - Getting a users Accountname
SAMACCOUNTNAME is not a variable you can dump in this example. Try and you will see what you are getting back from the server. Adresult should be similar to a query object, with samaccountname as a column. Steve From: Ian Vaughan [i.vaug...@neath-porttalbot.gov.uk] Sent: Monday, January 12, 2009 10:34 AM To: cf-talk Subject: Active Directory - Getting a users Accountname Hi How do you query a logged in domain users networkID/accountname via Coldfusion. I would like CF to pick up automatically a users domain networkID and then set this as a variable to query against another database, although at the moment I am using a CFDUMP just to see the result. This is what I have at the moment, and I am getting the error below "Variable SAMACCOUNTNAME is undefined." Any ideas? CODE SNIPPET--- --- Regards, Ian ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317768 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Newbie tripping over SQL Single Quotes
Always wrap your query parameters in tags as another poster already showed. To elaborate a little bit on that, using will avoid the exact problem you are having with the single quote, but more importantly, not using opens you up to all kinds of sql injections attacks that can cause big problems for you. The use of preserveSingleQuotes makes the problem even worse. You can see a good demonstration on how sql injection works and how to prevent it here: http://www.meetup.com/coldfusionmeetup/messages/boards/thread/3147031 - look for the "Hack-Proofing Your ColdFusion Powered Sites" presentation. Steve From: Ron Gruner [webmas...@gruner.com] Sent: Monday, January 12, 2009 7:26 AM To: cf-talk Subject: Newbie tripping over SQL Single Quotes Need a little help. This query fails when the encrypted PW contains a single quote... UPDATE Members SET PW = '#Encrypt(form.PW,EncryptKey)#' WHERE Member_ID = #form.Member_ID# I've tried PreserveSingleQuotes like this... UPDATE Members SET PW = '#PreserveSingleQuotes(Encrypt(form.PW,EncryptKey))#' WHERE Member_ID = #form.Member_ID# and get an "Invalid CFML Construct" Error. What's a simple fix for this? Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317756 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Javascript in CFC
This works? Am I missing something? How is the browser seeing javascript code in a cfc? From: chn g [EMAIL PROTECTED] Sent: Thursday, September 04, 2008 2:14 PM To: CF-Talk Subject: Re: Javascript in CFC Thank you, its working now. >alert() is lower case. If that doesn't work try this: > > > > >The cflocation is sending back a status code of 301 to your browser. In >fact, I don't even know if ColdFusion sends back any content created in >the reponse body or not. > >~Brad > >What's wrong with the following code? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312045 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Here's an interesting little problem...
Sorry, I just saw the post where you stated you are using MySQL. len is not a MySQL function, but length is. try this: order by length(class) desc, class. Steve From: Milburn, Steve [EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 2:07 PM To: CF-Talk Subject: RE: Here's an interesting little problem... How about this: order by len(class) desc, class ? Steve From: Rick Faircloth [EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 2:00 PM To: CF-Talk Subject: RE: Here's an interesting little problem... AA A B C D E etc. > -Original Message- > From: Greg Morphis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2008 1:41 PM > To: CF-Talk > Subject: Re: Here's an interesting little problem... > > Rick, did you want to see > AA > D > C > B > A > > or > > D > C > B > A > AA > > ? > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311615 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Here's an interesting little problem...
How about this: order by len(class) desc, class ? Steve From: Rick Faircloth [EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 2:00 PM To: CF-Talk Subject: RE: Here's an interesting little problem... AA A B C D E etc. > -Original Message- > From: Greg Morphis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2008 1:41 PM > To: CF-Talk > Subject: Re: Here's an interesting little problem... > > Rick, did you want to see > AA > D > C > B > A > > or > > D > C > B > A > AA > > ? > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311611 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4