RE: Access + unicode

2005-06-18 Thread Murat Demirci
Make sure you don't use reserved words in your SQL. Search KB of MS for
details (http://support.microsoft.com). 

Murat.

 -Original Message-
 From: Richard Cooper [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 17, 2005 10:01 PM
 To: CF-Talk
 Subject: Access + unicode
 
 Hi,
 
 I require the use of an Access 2000 DB with windows 2000 and 
 CF MX 6. I would like to be able to provide information in 
 multiple languages and so require unicode support.
 
 I tried adding the datasource in CF Admin with unicode 
 support but I receive this error:
 
 Error Executing Database Query.  
 
 It's a bog standard cfquery but its not working:
 cfquery name=getGreek datasource=languageTestx
   SELECT content
   FROM language
 /cfquery
 
 I'm guessing there must be a setting somewhere in CF admin or 
 something?
 
 Any ideas?
 
 Thanks,
 
 
 Richard
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209903
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: interesting problem with function isNumeric and NaN

2005-05-17 Thread Murat Demirci
There are some more interesting problems with isNumeric and lsIsNumeric,
they can sometimes return NO even when we use a numeric value. We've
encountered with this issue several times however this is not reproducable.
Sometimes works but sometimes does not work. This problem usually occurs
when we check a session or a recordset field. We're sure the value is a
number but isNumeric/lsIsNumeric returns NO. When this problem occurs, for
instance when isNumeric(session.userId) returns NO,
lsIsNumeric(session.userId) usually returns YES. However we've encountered
that lsIsNumeric() sometimes returns NO too.

The problem exists in CF 6.x and CF 7.
Murat.

 -Original Message-
 From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 17, 2005 10:03 PM
 To: CF-Talk
 Subject: interesting problem with function isNumeric and NaN
 
 Hello,
 
 I've come across an interesting problem during some form validation
 involving the function isNumeric() and the value NaN (Not 
 a Number -
 it's what js gives you when you try to use strings in math). 
 I've done a
 very quick search on Google and in the MM knowledgebase but 
 didn't find
 anything. 
 
 Here's an example:
 
   cfoutputisNumeric(NaN)? - #isNumeric(NaN)#/cfoutput
   br
   cfoutputNaN gt 5? - #(NaN gt 5)#/cfoutput
   br
   br
   cfsetting myNumber = NaN...
   cfset myNumber = NaN
   br
   cfoutputisNumeric(myNumber)? -
 #isNumeric(myNumber)#/cfoutput
   br
   cfoutputmyNumber gt 5? - #(myNumber gt 5)#/cfoutput
 
 As you'll see, both isNumeric(NaN) and isNumeric(myNumber) 
 return YES,
 but NaN gt 5? returns NO whereas myNumber gt 5? throws a
 coldfusion.runtime.Cast$NumberConversionException - The value NaN
 cannot be converted to a number. This is causing me some problems
 because i have code that looks like:
 
   cfif (not(isNumeric(myField)) or (myField gt
 ListGetAt(rule,2,:)))
 
 I wrote a quick and dirty isNaN() UDF (like the native one is js) so i
 can fix the immediate problem, but i can't help thinking that i'm
 missing something obvious.
 
 This is on CFMX 6 and my local copy of CFMX 7. 
 
 /t
 
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206925
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: interesting problem with function isNumeric and NaN

2005-05-17 Thread Murat Demirci
There are some more interesting problems with isNumeric and lsIsNumeric,
they can sometimes return NO even when we use a numeric value. We've
encountered with this issue several times however this is not reproducable.
Sometimes works but sometimes does not work. This problem usually occurs
when we check a session or a recordset field. We're sure the value is a
number but isNumeric/lsIsNumeric returns NO. When this problem occurs, for
instance when isNumeric(session.userId) returns NO,
lsIsNumeric(session.userId) usually returns YES. However we've encountered
that lsIsNumeric() sometimes returns NO too.

The problem exists in CF 6.x and CF 7.
Murat.

 -Original Message-
 From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 17, 2005 10:03 PM
 To: CF-Talk
 Subject: interesting problem with function isNumeric and NaN
 
 Hello,
 
 I've come across an interesting problem during some form validation
 involving the function isNumeric() and the value NaN (Not 
 a Number -
 it's what js gives you when you try to use strings in math). 
 I've done a
 very quick search on Google and in the MM knowledgebase but 
 didn't find
 anything. 
 
 Here's an example:
 
   cfoutputisNumeric(NaN)? - #isNumeric(NaN)#/cfoutput
   br
   cfoutputNaN gt 5? - #(NaN gt 5)#/cfoutput
   br
   br
   cfsetting myNumber = NaN...
   cfset myNumber = NaN
   br
   cfoutputisNumeric(myNumber)? -
 #isNumeric(myNumber)#/cfoutput
   br
   cfoutputmyNumber gt 5? - #(myNumber gt 5)#/cfoutput
 
 As you'll see, both isNumeric(NaN) and isNumeric(myNumber) 
 return YES,
 but NaN gt 5? returns NO whereas myNumber gt 5? throws a
 coldfusion.runtime.Cast$NumberConversionException - The value NaN
 cannot be converted to a number. This is causing me some problems
 because i have code that looks like:
 
   cfif (not(isNumeric(myField)) or (myField gt
 ListGetAt(rule,2,:)))
 
 I wrote a quick and dirty isNaN() UDF (like the native one is js) so i
 can fix the immediate problem, but i can't help thinking that i'm
 missing something obvious.
 
 This is on CFMX 6 and my local copy of CFMX 7. 
 
 /t
 
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206926
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


SOT: Flash list

2004-12-23 Thread Murat Demirci
Hi folks,

I'm searching an active Flash developers list like CF-Talk. Does anyone know an 
active flash list?

Murat.



~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188635
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SOT: Flash list

2004-12-23 Thread Murat Demirci
Thank you!

Murat. 

 -Original Message-
 From: Jaye Morris [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, December 23, 2004 4:44 PM
 To: CF-Talk
 Subject: Re: SOT: Flash list
 
 Flashcoders
 
 http://chattyfig.figleaf.com/
 
 
 On Thu, 23 Dec 2004 16:33:25 +0200, Murat Demirci 
 [EMAIL PROTECTED] wrote:
  Hi folks,
  
  I'm searching an active Flash developers list like CF-Talk. 
 Does anyone know an active flash list?
  
  Murat.
  
  
 -- 
 // Jaye Morris | Multimedia - Web Applications Developer
 // www.jayezero.com
 // [EMAIL PROTECTED]
 // [EMAIL PROTECTED]
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188658
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Number of functions in a CFC?

2004-12-17 Thread Murat Demirci
Did you try to load your CFCs into the session scope for every session. You
can easily eat the memory...

Murat. 

 -Original Message-
 From: Adrocknaphobia [mailto:[EMAIL PROTECTED] 
 Sent: Friday, December 17, 2004 6:59 PM
 To: CF-Talk
 Subject: Re: Number of functions in a CFC?
 
 The poor man's way. I specify a number of objects to load, pull up
 task manager, then monitor the difference. I've found that even my
 cfcs with alot of functions have a very _very_ small RAM imprint.
 
 -Adam
 
 
 On Fri, 17 Dec 2004 11:50:37 -0500, Burns, John D
 [EMAIL PROTECTED] wrote:
  I'm using Firefox because M$ is evil...just kidding Adam.  I'm not
  really currently doing monitoring on this because I'm not quite sure
  how.  That's one of my concerns.  The other reason I asked 
 the question
  is because I am using a lot of these functions over and over and I'm
  caching the CFC in the application scope.  The thing I'm 
 wondering is if
  I cache 1 CFC in the application scope with 100 functions 
 in it will it
  use more/less memory and will it perform better/worse than 
 caching 20
  different CFCs in the application scope and call each separately.
  Obviously, these numbers are just examples and I don't plan 
 on having 1
  CFC with 100 functions, but I'm just looking for 
 statistics/measurements
  on which is a better practice.  How are you testing memory 
 usage of CFCs
  (if at all)?
  
  John Burns
  Certified Advanced ColdFusion MX Developer
  AI-ES Aeronautics, Web Developer
  
  -Original Message-
  From: Adrocknaphobia [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 17, 2004 11:44 AM
  To: CF-Talk
  Subject: Re: Number of functions in a CFC?
  
  On the topic, how is everyone testing memory usage of CFCs?
  
  -Adam
  
  On Fri, 17 Dec 2004 11:37:39 -0500, Jim Davis
  [EMAIL PROTECTED] wrote:
   I always feel that CFC should encompass a single, well-defined
  concept.
  
   Put as many functions in the CFC as you need to address 
 the needs of
   that concept, but keep an eye on creep.  Usually (but not 
 always) a
   large number of functions in a CFC indicates that you may 
 have set the
  
   concept too broadly and should consider multiple CFCs.
  
   There isn't a specific number (or range of numbers or 
 size) that this
   happens at and it's different every time.  A CFC might 
 start overreach
  
   its scope and indicate the need for a new CFC after the 
 30th function,
  
   the 5th or the 100th.
  
   As long as the scope of the CFC is well-defined and well-bordered
   don't worry about the number of functions in it.
  
   That being said I personally DO sometimes worry about 
 this.  I tend to
  
   possibly make multiple CFCs were multiple ones might not 
 be needed,
   but are still logical.
  
   For example, I've got a CFC-based security system made up 
 of about a
   dozen cooperating CFCs.  The main Security.cfc contains 
 most of the
   system-level stuff (the authentication caches, the instantiated
   collections, etc).  It has, I think, about 15 functions in it.
  
   However there are at least two sets of functions that may 
 have gone in
  
   there... but didn't.  One was installation and 
 deinstallation routines
  
   for the system (which create database tables, Verity collections,
   etc).  These functions tended to be very long and only used once.
  
   So I created a SecurityConfiguration.cfc that JUST handles these
  tasks.
   Some people don't like this idea (they think an 
 application should be
   self-contained) and that's a valid opinion.  The point 
 is consistency
   however: I set my boundaries for logical reasons and 
 maintained that
   reasoning throughout the development of the system (and other
  systems).
  
   Essentially there has to be some systemic, logical reason for the
  splits.
   Saying there's too many functions is NOT such a reason and you
   should never (I think) consider splitting up a logically 
 consistent
   CFC for that reason.
  
   Jim Davis
  
  
  
  
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188013
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Murat Demirci
I see ColdFusion is powerfull since we are using and seeing the power. Maybe
it needs an IDE that improves code/architecture quality and productivity.

However it is really expensive for small and medium projects. Our company
need to use other technologies for small/medium projects, so we have
experience of other technologies. And we can continue to use the others for
large projects...

I mean there are strategical mistakes with CF prices currently which will
probably cause to die of CF in the future. Macromedia should review the
market and prices again and again...
Murat.

 -Original Message-
 From: Mike Kear [mailto:[EMAIL PROTECTED] 
 Sent: Monday, December 13, 2004 3:37 AM
 To: CF-Talk
 Subject: Re: CF vs ASP.NET! GET YOUR FRESH POPCON!!
 
 Regarding the relative costs of the expensive ColdFusion and the
 free other technologies, I have  a statement from a colleague in
 another organisation, which I'll be posting separately.  I told him
 about a site I'd just about finished in ColdFusion and he told me he
 was amazed.  That I'd done my site in about 70 hours with another
 40hours or so to finish it , and he had done a similar site in Free
 PHP - it had taken two of them (part time) two years to build.
 
 Let's assume for the sake of argument that all people working on these
 sites are costing $50/hour either as paid contractors or as employees
 including on-costs.I built my site, using expensive ColdFusion
 for $3500 plus a cold fusion server at perhaps $1200 - total $4700.
 
 They built their site using free PHP for (say) two people at 600
 hours each - that's $60,000!! But they got the server software for
 free.
 
 Saved a big bunch there by going with the 'free' one didn't they.
 
 .Cheers
 Mike Kear
 Windsor, NSW, Australia
 AFP Webworks
 http://afpwebworks.com
 .com,.net,.org domains from AUD$20/Year
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187337
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF vs ASP.NET! GET YOUR FRESH POPCORRRRN!!

2004-12-13 Thread Murat Demirci
There are no professional CF hosting in Turkey :( So we always need to buy
CF to host our projects which should be hosted at different geographical
locations. We're using similar approach for most projects, because we
generally solve all of the problems of the projects (providing hosting,
maintenance, security, content contribution solutions for years). Sometimes
our customers wants to host the site their own servers which requires a
separate ColdFusion license. These conditions force us to shift other
technologies, so maybe I cannot see the future of CF properly due to these
conditions. Its popularity is different in Turkey.

Finally, we have some plans for next year to setup a small CF hosting
company in Turkey :) (Any suggestions to setup a CF hosting company are
welcome) This will help us to continue with CF.
Murat.

 -Original Message-
 From: Jim Davis [mailto:[EMAIL PROTECTED] 
 Sent: Monday, December 13, 2004 3:53 PM
 To: CF-Talk
 Subject: RE: CF vs ASP.NET! GET YOUR FRESH POPCON!!
 
 For most small to medium projects I'm not sure why you would 
 ever want to
 buy CF anyway - hosting seems the way to.  Since the 
 development servers are
 free you can create and publish a CF application for very 
 little money just
 as you would anything else.
 
 In my experience the cost of CF server (at $1200) is 
 insignificant in the
 scheme of any project where they'll be buying and managing their own
 servers.
 
 Jim Davis
 
  -Original Message-
  From: Murat Demirci [mailto:[EMAIL PROTECTED]
  Sent: Monday, December 13, 2004 3:30 AM
  To: CF-Talk
  Subject: RE: CF vs ASP.NET! GET YOUR FRESH POPCON!!
  
  I see ColdFusion is powerfull since we are using and seeing 
 the power.
  Maybe
  it needs an IDE that improves code/architecture quality and 
 productivity.
  
  However it is really expensive for small and medium 
 projects. Our company
  need to use other technologies for small/medium projects, so we have
  experience of other technologies. And we can continue to 
 use the others
  for
  large projects...
  
  I mean there are strategical mistakes with CF prices 
 currently which will
  probably cause to die of CF in the future. Macromedia 
 should review the
  market and prices again and again...
  Murat.
  
   -Original Message-
   From: Mike Kear [mailto:[EMAIL PROTECTED]
   Sent: Monday, December 13, 2004 3:37 AM
   To: CF-Talk
   Subject: Re: CF vs ASP.NET! GET YOUR FRESH POPCON!!
  
   Regarding the relative costs of the expensive ColdFusion and the
   free other technologies, I have  a statement from a colleague in
   another organisation, which I'll be posting separately.  
 I told him
   about a site I'd just about finished in ColdFusion and he 
 told me he
   was amazed.  That I'd done my site in about 70 hours with another
   40hours or so to finish it , and he had done a similar 
 site in Free
   PHP - it had taken two of them (part time) two years to build.
  
   Let's assume for the sake of argument that all people 
 working on these
   sites are costing $50/hour either as paid contractors or 
 as employees
   including on-costs.I built my site, using expensive 
 ColdFusion
   for $3500 plus a cold fusion server at perhaps $1200 - 
 total $4700.
  
   They built their site using free PHP for (say) two people at 600
   hours each - that's $60,000!! But they got the server software for
   free.
  
   Saved a big bunch there by going with the 'free' one didn't they.
  
   .Cheers
   Mike Kear
   Windsor, NSW, Australia
   AFP Webworks
   http://afpwebworks.com
   .com,.net,.org domains from AUD$20/Year
  
  
  
  
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187349
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: variables... to prefix or not to prefix

2004-12-13 Thread Murat Demirci
We never use prefixes in our codes for simple values since CF is typeless.
We usually don't use prefixes for complex values too.

Follow the most popular coding guidelines:
http://livedocs.macromedia.com/wtg/public/coding_standards/
Murat.

 -Original Message-
 From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
 Sent: 13 December 2004 15:03
 To: CF-Talk
 Subject: variables... to prefix or not to prefix
 
 Just out of curiosity, who prefixes their variables with a data type
 abbreviation...
  
 integer - intVariableName
 numeric - numVariableName
 string - strVariableName
 structure - stcVariableName
 array - arrVariableName
 object - objVariableName
 query - qryVariableName
 etc...
  
 We are ever expanding our best practices and guideline documents and
 this is an agenda point up for discussion soon... I want to 
 some in with
 some pros and cons.
 At first glance, the code becomes more descriptive but I do 
 see and have
 run into, many problems such as passing around URL params.. do you
 really want to give anymore information than necessary into 
 the type of
 data within a variable? What about if you encrypt variables?... The
 number 1 could be viewed as URL.intSomeId but once encrypted it is no
 longer an interger it is a string URL.strSomeId, this only touches the
 tip here.
  
 Anyone have anything to offer on this topic?
  
 Thanks.
  
 Mike
 
 
 
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187390
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cfinclude not working in firefox

2004-12-10 Thread Murat Demirci
Did you look the page source? There may be a rendering issue with your HTML
output.

Murat. 

 -Original Message-
 From: Tim Laureska [mailto:[EMAIL PROTECTED] 
 Sent: Friday, December 10, 2004 6:02 PM
 To: CF-Talk
 Subject: RE: cfinclude not working in firefox
 
 When I use my local browsers to test view a page (ie. haven't put the
 files up on the host web server - just viewing on local computer), the
 page that has the cfinclude reference shows fine in IE, but the
 cfincluded piece is missing when I view it in firefox
 
 -Original Message-
 From: John Beynon [mailto:[EMAIL PROTECTED] 
 Sent: Friday, December 10, 2004 10:50 AM
 To: CF-Talk
 Subject: Re: cfinclude not working in firefox
 
 definitely not - it's performed at the server nothing to do with the
 client...
 
 jb.
 
 
 On Fri, 10 Dec 2004 10:54:01 -0500, Tim Laureska 
 [EMAIL PROTECTED]
 wrote:
  Has anyone run upon this?
  
  Tim
  
  
 
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187004
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cfinclude not working in firefox

2004-12-10 Thread Murat Demirci
Could you send the text in your address bar?
Murat. 

 -Original Message-
 From: Tim Laureska [mailto:[EMAIL PROTECTED] 
 Sent: Friday, December 10, 2004 6:23 PM
 To: CF-Talk
 Subject: RE: cfinclude not working in firefox
 
 Nope... that didn't do it either.. still can't get cfincludes to
 function on firefox locally... adding firefox to the cfstudio list of
 browsers didn't help either
 
 -Original Message-
 From: Tim Laureska [mailto:[EMAIL PROTECTED] 
 Sent: Friday, December 10, 2004 11:16 AM
 To: CF-Talk
 Subject: RE: cfinclude not working in firefox
 
 Darn Rob ... you hit on it right there... forgot to add it to the
 browser list in CF studio... a big 'duh' for me
 thanks
 
 -Original Message-
 From: Rob [mailto:[EMAIL PROTECTED] 
 Sent: Friday, December 10, 2004 10:59 AM
 To: CF-Talk
 Subject: Re: cfinclude not working in firefox
 
 Are you saying you are opening the file (the .cfm page) directly in
 browser without running it through a coldfusion server?
 
 
 On Fri, 10 Dec 2004 11:02:05 -0500, Tim Laureska 
 [EMAIL PROTECTED]
 wrote:
  When I use my local browsers to test view a page (ie. 
 haven't put the
  files up on the host web server - just viewing on local 
 computer), the
  page that has the cfinclude reference shows fine in IE, but the
  cfincluded piece is missing when I view it in firefox
  
  
  
  -Original Message-
  From: John Beynon [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 10, 2004 10:50 AM
  To: CF-Talk
  Subject: Re: cfinclude not working in firefox
  
  definitely not - it's performed at the server nothing to do with the
  client...
  
  jb.
  
  On Fri, 10 Dec 2004 10:54:01 -0500, Tim Laureska
 [EMAIL PROTECTED]
  wrote:
   Has anyone run upon this?
  
   Tim
  
  
  
  
 
 
 
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187016
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cfc - cffunction question

2004-11-13 Thread Murat Demirci
 2) You said you want to use site wide variables in a CFC. There is a
 better way of doing this then cfinclude. Your CFC could have a method,
 init(), that lets you pass these values in. Another way is to not use
 a cfinclude for your global vars, but another CFC. I typically make a
 cfc called Application, or Settings. This CFC will have one methoid,
 getSettings(). My Application.cfm file will use this method to set up
 the site wide variables in the Application scope. My other CFCs will
 call this method to set the values in the Variables scope.

I recommend to use a variables.settings structure instead of getSettings().
Because CF usually tends to use scopes/structures to make the development
easy (i think). You should set the settings structure in the constructor
method (the init()) method like the following:

cfcomponent
cffunction name=init access=public returntype=any
cfargument name=settings type=struct required=yes/
cfset variables.settings = arguments.settings /
cfreturn this /
/cffunction

/cfcomponent

If you only need one or two specific settings in your component; you should
code your constructor like the following:
cfcomponent
cffunction name=init access=public returntype=any
cfargument name=dsn type=string required=yes/
cfset variables.dsn = arguments.dsn /
cfreturn this /
/cffunction

/cfcomponent

This is more easy for especially traditional CFers instead of extra
inheritance or methods which cause to lead unfamiliared codes; IMHO.
Additionally you can add your global settings structure and its context in
CodeHints XML file in DWMX to make faster coding.
Murat.



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184211
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cfc - cffunction question

2004-11-13 Thread Murat Demirci
For your specific situation you can use cfmodule in your cffunction(s) or
develop a global component which creates variables.settings internally and
extend it.

Murat.

 -Original Message-
 From: Charles Heizer [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, November 13, 2004 2:12 AM
 To: CF-Talk
 Subject: cfc - cffunction question
 
 Hello,
 I was wondering if it was possible to do a cfinclude in a cffunction 
 tag?
 
 I have a globals.cfm file which has site wide variables set 
 and I want 
 to reference them with out using cfinvokeargument tag.
 
 I hope this make sense,
 Thanks a bunch,
 - Charles
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184212
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Top n in Oracle

2003-10-15 Thread Murat Demirci
did you try ... where rownum = 3 ...  ?

-Original Message-
From: Heald, Tim [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 3:27 PM
To: CF-Talk
Subject: RE: Top n in Oracle

The table has something like 250,000 records.The performance would make
that impossible.

Timothy Heald 
Information Systems Manager 
Overseas Security Advisory Council 
U.S. Department of State 
571.345.2319 

The opinions expressed here do not necessarily reflect those of the U.S.
Department of State or any affiliated organization(s).Nor have these
opinions been approved or sanctioned by these organizations. This e-mail is
unclassified based on the definitions in E.O. 12958.

-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 8:24 AM
To: CF-Talk
Subject: Re: Top n in Oracle

On Wednesday 15 Oct 2003 12:39 pm, Heald, Tim wrote:
 I need to pull Top n (lets say three) from an oracle 8i db.Now SQL
Server
 makes this really easy to do.How would I go about doing it in Oracle?I
 have tried sub selects and rownum and stuff, but the order gets al hosed
up
 if I use those.Basically I need them ordered by date desc.

Do that, then only print the first three rows - you can access your query as
a 
structure remember !

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***

_

_


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




FW: Top n in Oracle

2003-10-15 Thread Murat Demirci
There are some solutions at http://www.orafaq.org/faqsql.htm.

 
-Original Message-
From: Murat Demirci [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 3:32 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Top n in Oracle

did you try ... where rownum = 3 ...  ?

-Original Message-
From: Heald, Tim [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 3:27 PM
To: CF-Talk
Subject: RE: Top n in Oracle

The table has something like 250,000 records.The performance would make
that impossible.

Timothy Heald 
Information Systems Manager 
Overseas Security Advisory Council 
U.S. Department of State 
571.345.2319 

The opinions expressed here do not necessarily reflect those of the U.S.
Department of State or any affiliated organization(s).Nor have these
opinions been approved or sanctioned by these organizations. This e-mail is
unclassified based on the definitions in E.O. 12958.

-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 8:24 AM
To: CF-Talk
Subject: Re: Top n in Oracle

On Wednesday 15 Oct 2003 12:39 pm, Heald, Tim wrote:
 I need to pull Top n (lets say three) from an oracle 8i db.Now SQL
Server
 makes this really easy to do.How would I go about doing it in Oracle?I
 have tried sub selects and rownum and stuff, but the order gets al hosed
up
 if I use those.Basically I need them ordered by date desc.

Do that, then only print the first three rows - you can access your query as
a 
structure remember !

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***

_

_


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Good News: (was RE: Mach II 1.0 )

2003-08-14 Thread Murat Demirci
Who is the audience?

You say we, CFMX developers, need to learn OO.

OK. I want to learn it to create powerful apps but how? There is no source
for OO programming in CF?

-Original Message-
From: Hal Helms [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 11:40 AM
To: CF-Talk
Subject: RE: Good News: (was RE: Mach II 1.0 )


You won't really need to know much about XML, Michael, but you will need to
know OO to do a lot with Mach-II.

Hal Helms
Java for CF Programmers class 
in Las Vegas, August 18-22
www.halhelms.com

-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 1:35 AM
To: CF-Talk
Subject: Good News: (was RE: Mach II 1.0 )


Hal put a new version of Mach-II on the site Mach-II.com last night, and
bingo!  The problem was I wasn't using US date format.  In a jiffy, he
corrected the bug so it accepted international date formats and now it goes.

Like lightning it goes!

It installed and the sample apps worked just like that - right out of the
box. No muss, no fuss.

Now I want to know more about how this whole thing works. 

I get the impression that working in the Mach-II environment is going to
require a knowledge of object-oriented programming terminology that I don't
have.  Is that right? For example I rather get the impression that
expressions like MVC - Model View Conroller are familiar to people who've
done other programming.  Is this so? If I want to become adept at
using
Mach-ii am I going to have to learn about OO Programming?

I can see that amongst the disciplines I'm going to have to know well are
XML, but I need to learn more about that anyway.  Anything else?

Cheers,
Michael Kear
Windsor, NSW, Australia
AFP Webworks.







~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


RE: Good News: (was RE: Mach II 1.0 )

2003-08-14 Thread Murat Demirci
Mach-II Best Practices section on mach-ii.com could be great!

Fortunately I know some OO in a technical manner :) With Mach-II, it will be
a horse for me.

Thanks again!

-Original Message-
From: Hal Helms [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 3:02 PM
To: CF-Talk
Subject: RE: Good News: (was RE: Mach II 1.0 )


As far as books go, Discovering CFCs gives a basic intro on OOAD and CFCs. I
teach classes in OOAD with CFCs. But while those are specific to CFCs,
there's a great deal of info on OO on the web and in a great number of
books. It can be confusing assimilating it all, which is one reason I so
strongly encourage CFers to begin the process of learning OO now rather than
wait until a need is apparent. OO is not one of those things you pick up in
24 hours, no matter what some books may suggest.

Hal Helms
Java for CF Programmers class 
in Las Vegas, August 18-22
www.halhelms.com

-Original Message-
From: Murat Demirci [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 6:58 AM
To: CF-Talk
Subject: RE: Good News: (was RE: Mach II 1.0 )


Who is the audience?

You say we, CFMX developers, need to learn OO.

OK. I want to learn it to create powerful apps but how? There is no source
for OO programming in CF?

-Original Message-
From: Hal Helms [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 11:40 AM
To: CF-Talk
Subject: RE: Good News: (was RE: Mach II 1.0 )


You won't really need to know much about XML, Michael, but you will need to
know OO to do a lot with Mach-II.

Hal Helms
Java for CF Programmers class 
in Las Vegas, August 18-22
www.halhelms.com

-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 1:35 AM
To: CF-Talk
Subject: Good News: (was RE: Mach II 1.0 )


Hal put a new version of Mach-II on the site Mach-II.com last night, and
bingo!  The problem was I wasn't using US date format.  In a jiffy, he
corrected the bug so it accepted international date formats and now it goes.

Like lightning it goes!

It installed and the sample apps worked just like that - right out of the
box. No muss, no fuss.

Now I want to know more about how this whole thing works. 

I get the impression that working in the Mach-II environment is going to
require a knowledge of object-oriented programming terminology that I don't
have.  Is that right? For example I rather get the impression that
expressions like MVC - Model View Conroller are familiar to people who've
done other programming.  Is this so? If I want to become adept at
using
Mach-ii am I going to have to learn about OO Programming?

I can see that amongst the disciplines I'm going to have to know well are
XML, but I need to learn more about that anyway.  Anything else?

Cheers,
Michael Kear
Windsor, NSW, Australia
AFP Webworks.









~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: Request And Page Flow

2003-06-14 Thread Murat Demirci
Thank you.

IIS6 will have the ability of tracking request and page flow.


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 14, 2003 7:09 PM
To: CF-Talk
Subject: RE: Request And Page Flow


 To debug a huge site, it is necessary to see request and
 page flow.
 
 I'm using Windows Task Manager to see CPU and memory using
 and determine there is a problem with CFMX. Some pages in 
 our site causes performance problems.
 
 How can see request and/or page flow *instantly* to determine
 which page causes this problem?

Unfortunately, I don't know any practical way to do this other than by
running a load test. Within your load test script, you'd typically measure
the timing for each individual page request. Once you've run an actual test
that provides a relatively large aggregation of those request timings, you
can identify slow pages, then examine those pages in depth by breaking them
into sections, then using GetTickCount to determine which sections take
longer.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Consuming CFMX Web Services in ASP.NET

2003-06-12 Thread Murat Demirci
My friend solved the problem by writing a script. I don't know what he
wrote.

Thank you very much for your replies.


-Original Message-
From: Stacy Young [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 12, 2003 3:22 AM
To: CF-Talk
Subject: RE: Consuming CFMX Web Services in ASP.NET


Try returning an array of structs...should be a lot easier to work with in
.NET

-Stace

-Original Message-
From: Murat Demirci [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 10, 2003 3:21 AM
To: CF-Talk
Subject: Consuming CFMX Web Services in ASP.NET

My friend has a problem when calling a web service method which returns CFMX
query object.
 
When I return a query object from CFC function, .NET cannot get the
recordset object.
 
I'm using CFMX U3.
 
Any experiences?





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Consuming CFMX Web Services in ASP.NET

2003-06-11 Thread Murat Demirci
Any response?



-Original Message-
From: Murat Demirci [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 10, 2003 10:21 AM
To: CF-Talk
Subject: Consuming CFMX Web Services in ASP.NET


My friend has a problem when calling a web service method which returns CFMX
query object.
 
When I return a query object from CFC function, .NET cannot get the
recordset object.
 
I'm using CFMX U3.
 
Any experiences?




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Consuming CFMX Web Services in ASP.NET

2003-06-10 Thread Murat Demirci
My friend has a problem when calling a web service method which returns CFMX query 
object.
 
When I return a query object from CFC function, .NET cannot get the recordset object.
 
I'm using CFMX U3.
 
Any experiences?



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



FW: CFMX cannot handle charset for URL variables

2003-03-26 Thread Murat Demirci
Ignore this stupid mail..

-Original Message-
From: Murat Demirci [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 1:26 PM
To: '[EMAIL PROTECTED]'
Subject: RE: CFMX cannot handle charset for URL variables

If you ask what query_string causes the problem, the answer aþðgý.
(Cf-talk list server doesn't allow non-ASCII characters)

How can I learn the unicode number of those characters? What is the name of
the function similar to ORD() for unicode?

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 10:56 AM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

Murat Demirci wrote:
 I'm IE 6 with SP 1 and the option Send URL strings as unicode is
checked.

What do the URLEncoded query_strings look like? Both in the case it 
works and the case it doesn't work.

Jochem


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX cannot handle charset for URL variables

2003-03-25 Thread Murat Demirci
I'm using setEncoding function, this is a new function? setEncoding
function
should affect the URLEncodedFormat function.


-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 6:25 AM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

On Monday, Mar 24, 2003, at 11:31 US/Pacific, Murat Demirci wrote:
 cflocation 
 url=url.cfm?text=#URLEncodedFormat(myUnicodeText,utf-8)#
 But why URLEncodedFormat doesn't use the utf-8 by default? Or why
 setEncoding(URL,UTF-8) function doesn't affect the
URLEncodedFormat
 function?

Backward compatibility? Did URLEncodedFormat(text) in CF5 just produce 
a URL-encoded text (non-unicode) string?

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX cannot handle charset for URL variables

2003-03-25 Thread Murat Demirci
If you ask what query_string causes the problem, the answer aþðgý.
(Cf-talk list server doesn't allow non-ASCII characters)

How can I learn the unicode number of those characters? What is the name
of
the function similar to ORD() for unicode?

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 10:56 AM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

Murat Demirci wrote:
 I'm IE 6 with SP 1 and the option Send URL strings as unicode is
checked.

What do the URLEncoded query_strings look like? Both in the case it 
works and the case it doesn't work.

Jochem


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX cannot handle charset for URL variables

2003-03-24 Thread Murat Demirci
When I type a unicode string in the form field and submit the form, there is
no problem. However when I type the same unicode string in the address bar
the problem occurs. Similarly when I use cflocation url=#unicode_string#
in a page the problem repeats.

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2003 1:36 AM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

Murat Demirci wrote:
 I'm  working on IIS.

WFM

http://cfmx.oli.tudelft.nl/url.cfm

Jochem


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX cannot handle charset for URL variables

2003-03-24 Thread Murat Demirci
I'm not sure now whether it is a CF MX problem or not. It might be a browser
problem.

Any more ideas?

-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 23, 2003 5:58 PM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

 Do you know CF MX has still problems with Unicode and other charsets.

hardly any.

 When I use setEncoding(url,utf-8), CF MX displays some double-byte
(the
 unicode number over than 255) as nothing. It displays nothing.

show some code.



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX cannot handle charset for URL variables

2003-03-24 Thread Murat Demirci
Found a solution!

CF MX has no bug! When I use a cflocation tag, I'll use URLEncodedFormat
function with a second hidden parameter encoding like:

cflocation url=url.cfm?text=#URLEncodedFormat(myUnicodeText,utf-8)#

URLEncodedFormat function converts double-byte chars to equivalent forms.
Very good!

But why URLEncodedFormat doesn't use the utf-8 by default? Or why
setEncoding(URL,UTF-8) function doesn't affect the URLEncodedFormat
function?

-Original Message-
From: Murat Demirci [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2003 7:01 PM
To: CF-Talk
Subject: RE: CFMX cannot handle charset for URL variables

When I type a unicode string in the form field and submit the form, there is
no problem. However when I type the same unicode string in the address bar
the problem occurs. Similarly when I use cflocation url=#unicode_string#
in a page the problem repeats.

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2003 1:36 AM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

Murat Demirci wrote:
 I'm  working on IIS.

WFM

http://cfmx.oli.tudelft.nl/url.cfm

Jochem



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX cannot handle charset for URL variables

2003-03-24 Thread Murat Demirci
I'm IE 6 with SP 1 and the option Send URL strings as unicode is checked.


-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2003 9:32 PM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

Murat Demirci wrote:
 When I type a unicode string in the form field and submit the form, there
is
 no problem. However when I type the same unicode string in the address bar
 the problem occurs. Similarly when I use cflocation url=#unicode_string#
 in a page the problem repeats.

Most likely you are not using unicode in the address bar. Are you sure 
your browser is not submitting the string in whatever encodig is native 
for it? What do the URLEncoded query_strings look like?

Jochem


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CFMX cannot handle charset for URL variables

2003-03-23 Thread Murat Demirci
Do you know CF MX has still problems with Unicode and other charsets.

 

When I use setEncoding(url,utf-8), CF MX displays some double-byte (the
unicode number over than 255) as nothing. It displays nothing.

 

When I don't use the setEncoding function CF MX uses UTF-8 by default
(documentation says this), but in this situation CF MX displays wrong chars.

 

For Form variables there is no problem.

 

What can I do? Any workaround?

 

Note: I'm using updater 2. I'm afraid of install problems coming with
updater 3 and I believe that this internalization problem is continuing with
updater 3.




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX cannot handle charset for URL variables

2003-03-23 Thread Murat Demirci
I'm  working on IIS.

The code is:

!--- Application.cfm ---
cfapplication name=sample setclientcookies=no
!--- end ---

!--- url.cfm ---
cfprocessingdirective pageencoding=utf-8
Text:
cfoutput
#URL.text#
/cfoutput
!--- end ---

I'm calling url.cfm?text=Aağşıİxqöo
and the result:

Text:
AaðþýÝxqöo


When I use cfset setEncoding(URL,utf-8) in the application.cfm
The result:

Text:
Aa

CF MX currupts the string!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 23, 2003 5:00 PM
To: CF-Talk
Subject: Re: CFMX cannot handle charset for URL variables

Quoting Murat Demirci [EMAIL PROTECTED]:
 
 Do you know CF MX has still problems with Unicode and other charsets.
 
 When I use setEncoding(url,utf-8), CF MX displays some double-byte (the
 unicode number over than 255) as nothing. It displays nothing.

Which characters? Can you give some example code of a page with both form and
url variables that shows that a form works but URL variables not? What happens
if you use the builtin webserver?

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX client variables problem !!!

2003-03-20 Thread Murat Demirci
Another problem !!!

Have you encountered a problem with Client variables like defining a
new
Client variable throws an error or does nothing *sometimes*?

I cannot set a value for a Client variable RARELY!.

I don't want to believe that Client variables are unstable! :(

Any idea? Help?

Note: I'm using updater 2, and an Oracle db for Client variable storage.

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 18, 2003 7:57 PM
To: CF-Talk
Subject: RE: CFMX client variables problem !!!

I have had this problem since installing CFMX.  Rumor has it that
updater 2
fixed it, but my situation hasn't improved.  If I remember correctly,
setting 'setdomaincookies' to false is supposed to resolve the issue
(although that was not my experience).

It seems to be a subversive bug, because it only happens on one of my
apps
(there are two running on that server), and it doesn't happen at all on
my
other CFMX server.  The CF administrator (which uses cookies/client
variables) works fine on both.  I've spent hours examining the code and
I
can't find a difference between the apps that work, and the app that
doesn't, so I don't know whats up.

I eventually wrote my own client tracking system using URL variables
along
with some anti-hijacking code for the busted app.  Works pretty well,
and
had the nice benefit of allowing me to take care of WDDX serializing my
client variables behind the scenes, so I can transparently store
complex
data without having to think about it.

barneyb

 -Original Message-
 From: Murat Demirci [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 18, 2003 7:22 AM
 To: CF-Talk
 Subject: CFMX client variables problem !!!


 I'm using CF MX Enterprise with Updater 2 and developing a membership
 module nowadays.



 I'm using Client (storing in db)  instead of Session. (with
 setclientcookies=no and manually setted Cookies)



 Since months everything was ok. But now I encountered a strange
problem
 with Client variables. The problem is easy to describe: When I set a
 Client variable in a page and go to another page via a link, the
target
 page cannot see the variable. I'm using cfdumps in both page for
 Client. Ohh no! They are different from each other!!



 Have you know anything about this problem?

 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CFMX client variables problem !!!

2003-03-18 Thread Murat Demirci
I'm using CF MX Enterprise with Updater 2 and developing a membership
module nowadays.

 

I'm using Client (storing in db)  instead of Session. (with
setclientcookies=no and manually setted Cookies)

 

Since months everything was ok. But now I encountered a strange problem
with Client variables. The problem is easy to describe: When I set a
Client variable in a page and go to another page via a link, the target
page cannot see the variable. I'm using cfdumps in both page for
Client. Ohh no! They are different from each other!!

 

Have you know anything about this problem?

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CF MX Verity Bug?

2003-02-25 Thread Murat Demirci
Hi all,

Are there any bugs in CF MX Verity that you know such as Asian languages
cannot be searched properly?

tia.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Form validation

2003-02-23 Thread Murat Demirci
Hi folk,

 

I need to validate all fields of a membership form in my huge CFMX app.
But I don't have enough information about the reliable way.

 

I have searched the web but found no reliable and full (advanced level)
information.

 

Is there a guide, a sample or an article to help me? What are your
suggestions?

 

Thanks in advance.




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Form validation

2003-02-23 Thread Murat Demirci
Is it secure?

-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 23, 2003 5:08 PM
To: CF-Talk
Subject: Re: Form validation

There is something out there called FusionScript. It is supposed to
allow
you to validate nearly every field type, and it is ColdFusion based. You
can
download it at www.fusionscript.com. The current version that is out
there
is free. The next version you may have to pay for, Nate has not totally
decided yet. I just started playing around with it a few weeks ago and
so
far it is very good.


- Original Message -
From: Murat Demirci [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, February 23, 2003 8:28 AM
Subject: Form validation


 Hi folk,



 I need to validate all fields of a membership form in my huge CFMX
app.
 But I don't have enough information about the reliable way.



 I have searched the web but found no reliable and full (advanced
level)
 information.



 Is there a guide, a sample or an article to help me? What are your
 suggestions?



 Thanks in advance.




 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Form validation

2003-02-23 Thread Murat Demirci
It's known that hackers are trying to post malformed information to the
server gaining an idea through the forms in a site. So form validation
is an important issue.
I know the FusionScript a little, it is a rich tool. But I'm not sure
that it's security, has no bug.
It doesn't guarantee this, does it?

-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 23, 2003 5:45 PM
To: CF-Talk
Subject: Re: Form validation

What do you mean? You mean, does it jack with the OS or files on the
system?
It does not. Check out the site, read the docs and you will get a good
idea
what it is and what it does.
- Original Message -
From: Murat Demirci [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, February 23, 2003 9:34 AM
Subject: RE: Form validation


 Is it secure?

 -Original Message-
 From: Bruce Sorge [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 23, 2003 5:08 PM
 To: CF-Talk
 Subject: Re: Form validation

 There is something out there called FusionScript. It is supposed to
 allow
 you to validate nearly every field type, and it is ColdFusion based.
You
 can
 download it at www.fusionscript.com. The current version that is out
 there
 is free. The next version you may have to pay for, Nate has not
totally
 decided yet. I just started playing around with it a few weeks ago and
 so
 far it is very good.


 - Original Message -
 From: Murat Demirci [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Sunday, February 23, 2003 8:28 AM
 Subject: Form validation


  Hi folk,
 
 
 
  I need to validate all fields of a membership form in my huge CFMX
 app.
  But I don't have enough information about the reliable way.
 
 
 
  I have searched the web but found no reliable and full (advanced
 level)
  information.
 
 
 
  Is there a guide, a sample or an article to help me? What are your
  suggestions?
 
 
 
  Thanks in advance.
 
 
 
 
 

 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Form validation

2003-02-23 Thread Murat Demirci
You are right. Wait for another mail from me.


-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 23, 2003 6:42 PM
To: CF-Talk
Subject: RE: Form validation

Quoting Murat Demirci [EMAIL PROTECTED]:
 
 I know the FusionScript a little, it is a rich tool. But I'm not sure
 that it's security, has no bug.

All software is either trivial or has bugs.

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Form validation

2003-02-23 Thread Murat Demirci
 what it is and what it does.
 - Original Message -
 From: Murat Demirci [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Sunday, February 23, 2003 9:34 AM
 Subject: RE: Form validation


 Is it secure?

 -Original Message-
 From: Bruce Sorge [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 23, 2003 5:08 PM
 To: CF-Talk
 Subject: Re: Form validation

 There is something out there called FusionScript. It is
 supposed to
 allow
 you to validate nearly every field type, and it is
 ColdFusion based. You
 can
 download it at www.fusionscript.com. The current version
 that is out
 there
 is free. The next version you may have to pay for, Nate
 has not totally
 decided yet. I just started playing around with it a few
 weeks ago and
 so
 far it is very good.


 - Original Message -
 From: Murat Demirci [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Sunday, February 23, 2003 8:28 AM
 Subject: Form validation


  Hi folk,
 
 
 
  I need to validate all fields of a membership form in
  my huge CFMX
 app.
  But I don't have enough information about the reliable
  way.
 
 
 
  I have searched the web but found no reliable and full
  (advanced
 level)
  information.
 
 
 
  Is there a guide, a sample or an article to help me?
  What are your
  suggestions?
 
 
 
  Thanks in advance.
 
 
 
 
 


 ~~
 ~~~|
 Archives:
 http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
 Subscription: http://www.houseoffusion.com/cf_lists/index.
 cfm?method=subscribeforumid=4
 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
 Structure your ColdFusion code with Fusebox. Get the
 official book at http://www.fusionauthority.com/bkinfo.cfm

   Unsubscribe:
http://www.houseoffusion.com/cf_lists/uns
   ubscribe.cfm?user=633.558.4



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Form validation

2003-02-23 Thread Murat Demirci
Maybe combining the FusionScript or the qForms with some server-side
codes is the best way? You know client-side solutions isn't secure, they
are easily breakable.

Any more suggestions?

-Original Message-
From: Murat Demirci [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 23, 2003 6:50 PM
To: CF-Talk
Subject: RE: Form validation

I prefer to start validation at server, and than do Javascript
equivalent. But I need reliable UDFs or Custom Tags, OR I can code all
of them, but I need a guide that shows me what is a valid e-mail address
and what is not.

Client-side solutions are user friendly but not powerful. And security
is the most important point for my membership module.

If there isn't a powerful server-side solution to validate forms,
converting client-side Javascript codes to CF codes will be most
preferable  way for me.

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 23, 2003 6:26 PM
To: CF-Talk
Subject: Re: Form validation

FusionScript is designed to allow you to use reasonably simple
ColdFusion
tags (custom tags) to create client-side JavaScript code essentially
using
the same syntax you use for the rest of your ColdFusion code. I haven't
used
it personally because of it's use of custom tags and my still trying to
support CF 5. ( Without cfimport you have to have all your templates in
the
same directory or you have to put the FusionScript templates in the
custom
tags directory which usually isn't feasable if you have shared hosting.
)
FusionScript does some other things (the ActiveServer component is
really
impressive -- it's not actually a server, just a means of communicating
with
the CF Server without refreshing a page), but as I understood it, that
was
the original thrust of it.

If you're just looking to validate your data, you can of course, always
use
server-side script on the action page. I frequently place the
action-page
within the same template and have it post back to itself, perform
validation
at the top with a try-catch statement then populate the form with form
variables.

cfif isdefined(form.membername)
cftry
cfif not len(trim(form.membername))
cfthrow type=mycustomtype
message=Please enter your name.
/cfif

cfif not isemail(form.memberemail)
cfthrow type=mycustomtype
message=Please enter a valid email address.
/cfif

...etc...

cfquery ...
INSERT INTO MEMBERS ...
/cfquery

cfcatch type=mycustomtype
div style=color:red;
cfoutput#cfcatch.message#/cfoutput
/div
/cfcatch
/cftry
/cfif

form ...
cfparam name=form.membername type=string default=
input type=text name=membername
value=#htmleditformat(form.membername)#
...etc...
/form

You can also use CFForm for which there is plenty of documentation -- it
creates client-side javascript validation. I've avoided using it in
general
because I've not been happy with the way it works. On CFMX it includes a
client side .js file which can be pointed to with a new scriptsrc
attribute,
i.e. cfform scriptsrc=/lib/cfform.js ... This is an improvement over
the
previous versions as it allows you to customize the client-side script
and
the behavior of the cfform tag without making any changes to the CF
Server.

Then there's the default ColdFusion Server server-side validation:

input type=text name=membername value=
input type=hidden name=membername_required value=Please enter your
name.

This will halt processing of the next page and ask the user to use their
browser's back button, providing a list of error messages from fields
not
properly provided. _required requires a field, _date requires the field
to
be a date and _numeric requires the field to be a number. I think there
may
be a couple others, but those are the ones I remember. It should still
be in
the CF Server documentation.

And then there's the qForms API ( http://www.pengoworks.com ) which is a
JavaScript API for client-side form validation. I use it (usually in
combination with server-side validation using the try-catch as above).
I've
been pretty impressed with the API in general, although it does show the
occasional bug, just like any other open-source project. I've had to fix
the
_trim() function a couple times by overwriting the one provided in the
API
with my own (infinite loop - ick).

One or more of these should get you where you need to be. :)

If you use client-side validation ( cfform, qForms or FusionScript ) I
also
recommend that you use some form of server-side validation as well. The
default ColdFusion Server method of using hidden form fields with
_required,
_date etc. is likely to be the easiest and as a result least prone to
error.


hth

s. isaac dealey954-776-0046

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http

RE: Client side WDDX generation

2003-02-19 Thread Murat Demirci
Thanks for your help.


-Original Message-
From: Murat Demirci [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 18, 2003 10:12 AM
To: CF-Talk
Subject: Client side WDDX generating (was: Passing Javascript variables)

Hi,

I have a similar issue. But I want to solve this without knowing the
field names.

I think this can be done using client side WDDX  (if it is possible). So
my question is how can i generate a WDDX string in the popup window via
Javascript?

Any idea?



-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 17, 2003 11:41 PM
To: CF-Talk
Subject: RE: -OT- Passing Javascript variables

It depends on what you mean by 'pass this variable back.'

If you just want to stick it in, for example, a hidden form field you
could
do

opener.document.myform.myfield.value =
document.popupform.popupfield.value;
window.close();

Or something similar.


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
: Sent: Monday, February 17, 2003 4:00 PM
: To: CF-Talk
: Subject: -OT- Passing Javascript variables
:
:
: I have a Javascript script that opens a new window and prompts for
input
: and then closes.  Is there a way to pass this variable back to the
parent
: window without refreshing it?
:
: T
:
: 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Client side WDDX generating (was: Passing Javascript variables)

2003-02-18 Thread Murat Demirci
Hi,

I have a similar issue. But I want to solve this without knowing the
field names.

I think this can be done using client side WDDX  (if it is possible). So
my question is how can i generate a WDDX string in the popup window via
Javascript?

Any idea?



-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 17, 2003 11:41 PM
To: CF-Talk
Subject: RE: -OT- Passing Javascript variables

It depends on what you mean by 'pass this variable back.'

If you just want to stick it in, for example, a hidden form field you
could
do

opener.document.myform.myfield.value =
document.popupform.popupfield.value;
window.close();

Or something similar.


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
: Sent: Monday, February 17, 2003 4:00 PM
: To: CF-Talk
: Subject: -OT- Passing Javascript variables
:
:
: I have a Javascript script that opens a new window and prompts for
input
: and then closes.  Is there a way to pass this variable back to the
parent
: window without refreshing it?
:
: T
:
: 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Replacing the #

2003-02-18 Thread Murat Demirci
Did you try this:

cfset StringToSearch = ##

cfset thisItem = ReplaceNoCase(thisItem, #StringToSearch#, ,
ALL)

-Original Message-
From: Pablo Varando [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 18, 2003 8:08 AM
To: CF-Talk
Subject: Re: Replacing the #

What about this:

!--- put this OUTSIDE A CFOUTPUT ---
cfset StringToSearch = #
!--- Put this anywhere you want in the page ---
cfset thisItem = ReplaceNoCase(thisItem, StringToSearch, , ALL)

That Should work. give it a try and let me know...

Pablo


- Original Message -
From: Paul Giesenhagen [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, February 17, 2003 11:51 PM
Subject: Re: Replacing the #


 Just tried it, and nope, it didn't work ...

 Thanks for trying though...

 Paul Giesenhagen
 QuillDesign

 - Original Message -
 From: Pablo Varando [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Monday, February 17, 2003 11:53 PM
 Subject: Re: Replacing the #


  Try this:
 
  cfset thisItem = ReplaceNoCase(thisItem, chr(35), , ALL)
 
  That should work...
 
  Pablo
  - Original Message -
  From: Paul Giesenhagen [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Monday, February 17, 2003 10:45 PM
  Subject: Replacing the #
 
 
   I am trying to check a variable to make sure it doesn't have a #
sign
in
  the variable and if it does, I want to remove it.  Here is what I
have,
 but
  it errors out with 1 (makes sense), but it doesn't replace if I have
two!
  Any suggestions?
  
   cfset thisItem = ReplaceNoCase(thisItem, #, , ALL) !---
Errors
  out ---
  
   cfset thisItem = ReplaceNoCase(thisItem, ##, , ALL) !---
 Doesn't
  replace ---
  
   Thanks
   Paul Giesenhagen
   QuillDesign
  
  
  
 
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




How to use NumberFormat function?

2003-02-06 Thread Murat Demirci
I need to use NumberFormat function to display very big numbers but I
couldn't find enough information about the mask parameter.

 

I want to display the number 5E+017 as 50. How can I do
this?

 

.murat




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




cfqueryparam and datetime

2003-02-01 Thread Murat Demirci
How can i use the cfqueryparam tag to bind with a datetime field?

.murat



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Page Expired with CFMX

2003-01-30 Thread Murat Demirci
This is a cookie problem. Have you written a cfcookie tag in
Application.cfm or somewhere else?

.murat


-Original Message-
From: Frank Mamone [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 29, 2003 10:25 PM
To: CF-Talk
Subject: Page Expired with CFMX

Is there a fix for the page expired message we get when hitting the back
button with MX.

Setting the cache is not an option as it won't re-run the queries.

Thanks,

Frank Mamone


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4