[cfaussie] Re: Frameworks on shared hosting

2008-08-26 Thread Rony

I do really like using Reactor, but I might have a look at Transfer.
But Reactor seems to work for others in a shared environment.

I do have a script that pings the server every 15 minutes but the host
claims that they are having to restart the JRun service 3-5 times a
daynow to me that is way to many times and that is the cause of
the problem.

I am thinking of *maybe* moving to a VPS and getting all my sites on
that server. That should avoid any current and further issues with the
sites i build.

On Aug 26, 7:00 pm, Toby Tremayne [EMAIL PROTECTED] wrote:
 I've run a number of sites small and large on model glue with  
 coldspring and transfer on shared hosting and haven't had any  
 problems.  i would highly recommend switching to transfer - it has a  
 bunch of features lacking in reactor, is much much faster and the  
 caching mechanisms are top notch.  If you switch you'll probably find  
 that alone seriously increases your performance.

 Toby
 On 25/08/2008, at 8:28 PM, Rony wrote:





  Hi Guys,

  I have a few sites that I have built with CF using Reactor /
  Coldspring / Model Glue.

  I have been experiencing slow load times when the application
  reloads / initializes , probably due to the frameworks storing the
  objects in the application scope and so forth.

  I understand that there is a JRun 6 class loader bug that seems to
  affect the load time of these applications especially on shared
  hosting. Well at least that is what i have been reading.

  I was wondering if others also use any framework(s) and have
  experienced any issues?

  This is very frustrating as it is a turn off for me to use frameworks
  let alone Coldfusion for my smaller sites - But i really want to!

  I know other use frameworks on shared hosting so it not like these
  frameworks on shared hosting is a recipe for disaster.

  VPS plans / dedicated hosting is not worth it as the sites are not
  that big to utilise these plans.

 ---

 Life is poetry, write it in your own words

 ---

 Toby Tremayne
 CEO
 Code Poet and Zen Master of the Heavy Sleep
 Magic Industries
 0416 048 090
 ICQ: 13107913
 Skype: lyricist1
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Frameworks on shared hosting

2008-08-26 Thread Rony

Good point Steve.

I might try that and see what happens.

I am sure that they are many other sites / applications that are
causing the issue. I do not have any issues with my application on my
dev machine and i have performance tested this with no evident issues.
I am positive it is NOT my application.

I am sure it is a class loader shared hosting issue.

But I have no patience to keep worrying about the shared hosting
account I have running.

On Aug 26, 7:24 pm, Steve Onnis [EMAIL PROTECTED] wrote:
 Rony

 Moving to a VPS is not going to solve your problems.  If it’s a problem in a
 shared host and you think its your application that’s the issue then it just
 means you will be moving the problem from a shared host to your own hosted
 environment.

 I wouldn’t be saying that your script is causing the issue (depending on
 what the script does of course).  If all it does it ping the site, then it
 would be just like someone visiting the website anyway so I wouldn’t be too
 worried about that.

 Restarting the CF service ONCE a day is too many times.  Are they implying
 that it is your application that is causing the issues?

 What operating system and CF Server version are they running on?  I know I
 am having issues with memory not being released on Windows 2003 64Bit and
 CF8.01 64Bit Ent so that could be your issue there.

 I would find out what they are running and see if you can replicate your
 development environment to match and run it locally to test it.  Sometimes I
 set up a frameset with like 10 frames in it and just have the frames
 reloading to see how the memory goes with constantly loading the application
 up.

 Steve

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Tuesday, 26 August 2008 7:17 PM
 To: cfaussie
 Subject: [cfaussie] Re: Frameworks on shared hosting

 I do really like using Reactor, but I might have a look at Transfer.
 But Reactor seems to work for others in a shared environment.

 I do have a script that pings the server every 15 minutes but the host
 claims that they are having to restart the JRun service 3-5 times a
 daynow to me that is way to many times and that is the cause of the
 problem.

 I am thinking of *maybe* moving to a VPS and getting all my sites on that
 server. That should avoid any current and further issues with the sites i
 build.

 On Aug 26, 7:00 pm, Toby Tremayne [EMAIL PROTECTED] wrote:
  I've run a number of sites small and large on model glue with
  coldspring and transfer on shared hosting and haven't had any
  problems.  i would highly recommend switching to transfer - it has a
  bunch of features lacking in reactor, is much much faster and the
  caching mechanisms are top notch.  If you switch you'll probably find
  that alone seriously increases your performance.

  Toby
  On 25/08/2008, at 8:28 PM, Rony wrote:

   Hi Guys,

   I have a few sites that I have built with CF using Reactor /
   Coldspring / Model Glue.

   I have been experiencing slow load times when the application
   reloads / initializes , probably due to the frameworks storing the
   objects in the application scope and so forth.

   I understand that there is a JRun 6 class loader bug that seems to
   affect the load time of these applications especially on shared
   hosting. Well at least that is what i have been reading.

   I was wondering if others also use any framework(s) and have
   experienced any issues?

   This is very frustrating as it is a turn off for me to use
   frameworks let alone Coldfusion for my smaller sites - But i really want
 to!

   I know other use frameworks on shared hosting so it not like these
   frameworks on shared hosting is a recipe for disaster.

   VPS plans / dedicated hosting is not worth it as the sites are not
   that big to utilise these plans.

  ---

  Life is poetry, write it in your own words

  ---

  Toby Tremayne
  CEO
  Code Poet and Zen Master of the Heavy Sleep Magic Industries
  0416 048 090
  ICQ: 13107913
  Skype: lyricist1


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Frameworks on shared hosting

2008-08-26 Thread Rony

I guess another thing I find annoying with the shared hosting accounts
is that they may flush cache , which means that if my site has not
visitors for about 2 hours, lets say, then the application has to
reload which literally takes 1-2 minutes to do. How can you expect
users to wait that long ?

I do appreciate having full control of my server and CF instance which
is why a VPS / dedicate server might be a much better and more stable
option.

I know for sure my code base is fine.

On Aug 26, 7:47 pm, michael sharman [EMAIL PROTECTED] wrote:
 I had similar issues when CF8 was first released on Host My Site

 http://www.chapter31.com/2007/08/22/hostmysite-not-quite-as-stable-as...

 I've since moved on from them so not sure if things have improved or
 not. People do mention the issues (on CF8) with the Java 6 class
 loader which is the reason why a lot of CF8-ers roll back to using JVM
 1.5, the good news is that Sun (I believe) have fixed this issue in
 the latest release.

 Restarting the CF service ONCE a day is too many times.

 Agreed, HMS admitted that they were restarting JRun around 5 times a
 day. Crazy stuff.

 However I think moving to a VPS would make the difference as long
 there was nothing particularly wrong with your code to begin with and
 you knew what you were doing in terms of setting up a server.

 It makes me wonder how much RAM a lot of these shared hosting
 companies offer. 512MB (for a server/virtual) may be ok for a PHP
 server etc but if you have a Java Application server like JRun
 installed on windows it's really not going to handle many sites.
 That's the nature of the beast.

 On Aug 26, 7:32 pm, Rony [EMAIL PROTECTED] wrote:

  Good point Steve.

  I might try that and see what happens.

  I am sure that they are many other sites / applications that are
  causing the issue. I do not have any issues with my application on my
  dev machine and i have performance tested this with no evident issues.
  I am positive it is NOT my application.

  I am sure it is a class loader shared hosting issue.

  But I have no patience to keep worrying about the shared hosting
  account I have running.

  On Aug 26, 7:24 pm, Steve Onnis [EMAIL PROTECTED] wrote:

   Rony

   Moving to a VPS is not going to solve your problems.  If it’s a problem 
   in a
   shared host and you think its your application that’s the issue then it 
   just
   means you will be moving the problem from a shared host to your own hosted
   environment.

   I wouldn’t be saying that your script is causing the issue (depending on
   what the script does of course).  If all it does it ping the site, then it
   would be just like someone visiting the website anyway so I wouldn’t be 
   too
   worried about that.

   Restarting the CF service ONCE a day is too many times.  Are they implying
   that it is your application that is causing the issues?

   What operating system and CF Server version are they running on?  I know I
   am having issues with memory not being released on Windows 2003 64Bit and
   CF8.01 64Bit Ent so that could be your issue there.

   I would find out what they are running and see if you can replicate your
   development environment to match and run it locally to test it.  
   Sometimes I
   set up a frameset with like 10 frames in it and just have the frames
   reloading to see how the memory goes with constantly loading the 
   application
   up.

   Steve

   -Original Message-
   From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

   Of Rony
   Sent: Tuesday, 26 August 2008 7:17 PM
   To: cfaussie
   Subject: [cfaussie] Re: Frameworks on shared hosting

   I do really like using Reactor, but I might have a look at Transfer.
   But Reactor seems to work for others in a shared environment.

   I do have a script that pings the server every 15 minutes but the host
   claims that they are having to restart the JRun service 3-5 times a
   daynow to me that is way to many times and that is the cause of the
   problem.

   I am thinking of *maybe* moving to a VPS and getting all my sites on that
   server. That should avoid any current and further issues with the sites i
   build.

   On Aug 26, 7:00 pm, Toby Tremayne [EMAIL PROTECTED] wrote:
I've run a number of sites small and large on model glue with
coldspring and transfer on shared hosting and haven't had any
problems.  i would highly recommend switching to transfer - it has a
bunch of features lacking in reactor, is much much faster and the
caching mechanisms are top notch.  If you switch you'll probably find
that alone seriously increases your performance.

Toby
On 25/08/2008, at 8:28 PM, Rony wrote:

 Hi Guys,

 I have a few sites that I have built with CF using Reactor /
 Coldspring / Model Glue.

 I have been experiencing slow load times when the application
 reloads / initializes , probably due to the frameworks storing the
 objects in the application

[cfaussie] Re: Frameworks on shared hosting

2008-08-26 Thread Rony

yeah good point steve.

On Aug 26, 8:06 pm, Steve Onnis [EMAIL PROTECTED] wrote:
 the application has to reload which literally takes 1-2 minutes to do

 This issue is with the java class loader, not the hosting environment itself
 and is an inherent issue with the frameworks going around.

 I still think any issue you are having with your shared hosting is not going
 to be overcome by running your own server or VPS.  The more sites you run
 the same issues are going to come up.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Tuesday, 26 August 2008 8:01 PM
 To: cfaussie
 Subject: [cfaussie] Re: Frameworks on shared hosting

 I guess another thing I find annoying with the shared hosting accounts is
 that they may flush cache , which means that if my site has not visitors for
 about 2 hours, lets say, then the application has to reload which literally
 takes 1-2 minutes to do. How can you expect users to wait that long ?

 I do appreciate having full control of my server and CF instance which is
 why a VPS / dedicate server might be a much better and more stable option.

 I know for sure my code base is fine.

 On Aug 26, 7:47 pm, michael sharman [EMAIL PROTECTED] wrote:
  I had similar issues when CF8 was first released on Host My Site

 http://www.chapter31.com/2007/08/22/hostmysite-not-quite-as-stable-as...

  I've since moved on from them so not sure if things have improved or
  not. People do mention the issues (on CF8) with the Java 6 class
  loader which is the reason why a lot of CF8-ers roll back to using JVM
  1.5, the good news is that Sun (I believe) have fixed this issue in
  the latest release.

  Restarting the CF service ONCE a day is too many times.

  Agreed, HMS admitted that they were restarting JRun around 5 times a
  day. Crazy stuff.

  However I think moving to a VPS would make the difference as long
  there was nothing particularly wrong with your code to begin with and
  you knew what you were doing in terms of setting up a server.

  It makes me wonder how much RAM a lot of these shared hosting
  companies offer. 512MB (for a server/virtual) may be ok for a PHP
  server etc but if you have a Java Application server like JRun
  installed on windows it's really not going to handle many sites.
  That's the nature of the beast.

  On Aug 26, 7:32 pm, Rony [EMAIL PROTECTED] wrote:

   Good point Steve.

   I might try that and see what happens.

   I am sure that they are many other sites / applications that are
   causing the issue. I do not have any issues with my application on
   my dev machine and i have performance tested this with no evident
 issues.
   I am positive it is NOT my application.

   I am sure it is a class loader shared hosting issue.

   But I have no patience to keep worrying about the shared hosting
   account I have running.

   On Aug 26, 7:24 pm, Steve Onnis [EMAIL PROTECTED] wrote:

Rony

Moving to a VPS is not going to solve your problems.  If it’s a
problem in a shared host and you think its your application that’s
the issue then it just means you will be moving the problem from a
shared host to your own hosted environment.

I wouldn’t be saying that your script is causing the issue
(depending on what the script does of course).  If all it does it
ping the site, then it would be just like someone visiting the
website anyway so I wouldn’t be too worried about that.

Restarting the CF service ONCE a day is too many times.  Are they
implying that it is your application that is causing the issues?

What operating system and CF Server version are they running on?  
I know I am having issues with memory not being released on
Windows 2003 64Bit and
CF8.01 64Bit Ent so that could be your issue there.

I would find out what they are running and see if you can
replicate your development environment to match and run it locally
to test it.  Sometimes I set up a frameset with like 10 frames in
it and just have the frames reloading to see how the memory goes
with constantly loading the application up.

Steve

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf

Of Rony
Sent: Tuesday, 26 August 2008 7:17 PM
To: cfaussie
Subject: [cfaussie] Re: Frameworks on shared hosting

I do really like using Reactor, but I might have a look at Transfer.
But Reactor seems to work for others in a shared environment.

I do have a script that pings the server every 15 minutes but the
host claims that they are having to restart the JRun service 3-5
times a daynow to me that is way to many times and that is the
cause of the problem.

I am thinking of *maybe* moving to a VPS and getting all my sites
on that server. That should avoid any current and further issues
with the sites i build.

On Aug 26, 7:00 pm, Toby Tremayne [EMAIL

[cfaussie] Frameworks on shared hosting

2008-08-25 Thread Rony

Hi Guys,

I have a few sites that I have built with CF using Reactor /
Coldspring / Model Glue.

I have been experiencing slow load times when the application
reloads / initializes , probably due to the frameworks storing the
objects in the application scope and so forth.

I understand that there is a JRun 6 class loader bug that seems to
affect the load time of these applications especially on shared
hosting. Well at least that is what i have been reading.

I was wondering if others also use any framework(s) and have
experienced any issues?

This is very frustrating as it is a turn off for me to use frameworks
let alone Coldfusion for my smaller sites - But i really want to!

I know other use frameworks on shared hosting so it not like these
frameworks on shared hosting is a recipe for disaster.

VPS plans / dedicated hosting is not worth it as the sites are not
that big to utilise these plans.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Instance Method Names

2008-07-16 Thread Rony Fayyad
I think the getMetaData() is what you are after.

 

http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/w
whelp.htm?context=ColdFusion_Documentationfile=0488.htm#1105179

 

Hope this helps!

 

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 17 July 2008 9:49 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Instance Method Names

 

Is it possible to find all the method names for a given instance
programmatically.

 

CFDUMP, dumps them, but I need to access them programmatically.

 

Regards

Dale Fraser

http://learncf.com http://learncf.com/ 

http://flexcf.com http://flexcf.com/ 

 

 



 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: ReReplaceNoCase - return only a decimal number

2008-07-09 Thread Rony Fayyad

This awesome as I was experiencing the same problem and found that Steve's
regular expression worked out nicely. Thanks!

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Scott Thornton
Sent: Thursday, 10 July 2008 9:37 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] ReReplaceNoCase - return only a decimal number


Hi,

Thanks, that does the trick.

Odd, this solution arrived at 4:43AM this morning, well out of synch with
the other replies.

Thanks all,

 Steve Onnis [EMAIL PROTECTED] 09/07/2008 2:28 pm 

This should do the trick

REReplaceNoCase(string, [^[:digit:]-\.], , ALL) 


-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Scott Thornton
Sent: Wednesday, 9 July 2008 2:17 PM
To: cfaussie@googlegroups.com 
Subject: [cfaussie] ReReplaceNoCase - return only a decimal number


Hi,

I would like to create an expression to remove all text and special
characters from a string, returning only a decimal-like looking number..

eg 

$12,345.00 - 12345.00
$+10.65 - 10.65
$-5.65 = -5.65

etc

I suck at regular expressions

Cheers,



Scott Thornton, Programmer
Billing Unit
Hunter-New England Area Health Service
ext: 51762 p: +61 02 491 51762 m: 0413 800 242












--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Per application mapping

2008-07-03 Thread Rony Fayyad

Yeah, thanks for that.

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Barry Beattie
Sent: Friday, 4 July 2008 9:25 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Per application mapping


Rony,

just to back up Ray's comment of If something breaks, its your code's
fault

think of it as a ticking time-bomb just waiting to go off.
 - one job: an upgrade from CF6.1 to CF7 broke the use of request
headers for an ISAPI filter-based authentication. The ISAPI filter was
broken and CF6 hid it.
 - another: upgrade from CF6.1 to CF7 showed the incorrect use of
cfbreak within cfswitch and some arrays that were assumed (by an
experienced C programmer new to CF) to be passed by reference (but
obviously by value).

of course, if the app has a shelf life of only the rest of the year,
then it's not worth it, but if something breaks on a straightforward
change like App.cfm to App.cfc, there's a bigger story there that may
pay dividends in getting to the bottom of. An accident waiting to
happen, perhaps?

just bringing up some points as ammunition if you're talking to the
boss, nothing more.


On Fri, Jul 4, 2008 at 7:42 AM, Rony Fayyad [EMAIL PROTECTED] wrote:

 Ray, thanks for that.

 I have not investigated the reason why the application failed , but it is
 beyond my control and my decision as to whether we move to application.cfc
 or not.

 I do find that application.cfc is much easier and cleaner and I love it. I
 use it for all my other projects  but with this existing application, I
 simply cannot ( at the present time anyways ).

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Raymond Camden
 Sent: Friday, 4 July 2008 1:21 AM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Per application mapping


 I'm not sure this comment really makes sense. Having a OO designed
 model isnt' really something that forces you to use Application.cfc.
 The main thing App.cfc gives you is more fine grained control over
 application events and settings.

 That being said - Rony, definitely switch. If something breaks, its
 your code's fault. I'd be willing to bet you guys used onRequest and
 that broke your web service/flash remoting calls. The fix for that is
 to just remove it. ;)

 On Wed, Jul 2, 2008 at 11:51 PM, Scott Barnes [EMAIL PROTECTED]
 wrote:
 Application.CFC is the only way to fly as you set yourself up for better
 OO
 composition.

 On Thu, Jul 3, 2008 at 2:33 PM, Rony Fayyad [EMAIL PROTECTED]
wrote:

 Well one of my colleagues was saying that using application.cfc broke
 some
 of the application. Can't recall what it was but that is why we have not
 moved into the application.cfc yet.



 Thanks for your feedback Mark. Much appreciated.



 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Mark Mandel
 Sent: Thursday, 3 July 2008 2:18 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Per application mapping



 Yup, you can only do it application.cfc

 Why don't you convert the application.cfm to a .cfc, it's usually pretty
 straight forward.

 Mark

 On Thu, Jul 3, 2008 at 11:53 AM, Rony [EMAIL PROTECTED] wrote:

 Hi All,

 I have utilised the CF8 per application mapping in a couple of my
 projects that all use application.cfc.

 Now, I am working on a project that uses application.cfm. Doing what i
 did in the application.cfc for other projects DID NOT work for the
 application.cfm

 Does the per application setting ONLY work for application.cfc and NOT
 application.cfm?

 Thanks.


 --
 E: [EMAIL PROTECTED]
 W: www.compoundtheory.com

 




 --

===
 Raymond Camden, VP of Software Dev, Broadchoice

 Email : [EMAIL PROTECTED]
 Blog : www.coldfusionjedi.com
 AOL IM : cfjedimaster

 Keep up to date with the community: http://www.coldfusionbloggers.org



 




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Per application mapping

2008-07-02 Thread Rony

Hi All,

I have utilised the CF8 per application mapping in a couple of my
projects that all use application.cfc.

Now, I am working on a project that uses application.cfm. Doing what i
did in the application.cfc for other projects DID NOT work for the
application.cfm

Does the per application setting ONLY work for application.cfc and NOT
application.cfm?

Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Per application mapping

2008-07-02 Thread Rony Fayyad
Well one of my colleagues was saying that using application.cfc broke some
of the application. Can't recall what it was but that is why we have not
moved into the application.cfc yet.

 

Thanks for your feedback Mark. Much appreciated.  

 

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Mandel
Sent: Thursday, 3 July 2008 2:18 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Per application mapping

 

Yup, you can only do it application.cfc

Why don't you convert the application.cfm to a .cfc, it's usually pretty
straight forward.

Mark

On Thu, Jul 3, 2008 at 11:53 AM, Rony [EMAIL PROTECTED] wrote:


Hi All,

I have utilised the CF8 per application mapping in a couple of my
projects that all use application.cfc.

Now, I am working on a project that uses application.cfm. Doing what i
did in the application.cfc for other projects DID NOT work for the
application.cfm

Does the per application setting ONLY work for application.cfc and NOT
application.cfm?

Thanks.




-- 
E: [EMAIL PROTECTED]
W: www.compoundtheory.com


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: GO QUEENSLAND!

2008-06-10 Thread Rony Fayyad

Go Sydney  in the war...and Go the blues tonight

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Barry Beattie
Sent: Wednesday, 11 June 2008 10:08 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] GO QUEENSLAND!


http://www.rocketboots.com.au/blog/index.cfm?mode=entryentry=716A74E1-F4BE-
4D1D-7D4F8DE8F61E977D
http://www.rocketboots.com.au/blog/index.cfm?mode=entryentry=2D14685D-D381-
1033-FB37E4910079A845


and no, I don't mean Maroons vs the Blues tonight.


Good to see Qld fielded two teams in the Code Wars while Sydney (and
Melbourne) could only manage one each...








(geez this list is dead this week ... anyone think that there's
something happening elsewhere...)



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: OT: Is MS blocking Firefox ?

2008-06-01 Thread Rony Fayyad

I am using Firefox with a few developer plug-ins and I can open the site no
problems...

Try uninstalling the plug-in that you recently installed and see if this
helps.

Have you ever been able to browse the site using FF?

Try other computers in the office / home network. 

Good luck.

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of KC Kuok
Sent: Monday, 2 June 2008 9:45 AM
To: cfaussie
Subject: [cfaussie] OT: Is MS blocking Firefox ?


Just wondering whether anyone else can open in Firefox the MS support
website?
http://support.microsoft.com/

I can't seem to get it open in Firefox, only in IE... Any ideas/
constructive comments?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: cfajaxproxy - cfc path

2008-05-14 Thread Rony

I am using   Version : 8,0,0,176276

On May 14, 3:58 pm, Andrew Scott [EMAIL PROTECTED] wrote:
 Ben states that it was identified as a bug, are you running CF8.01 at all?

 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.www.aegeon.com.au
 Phone: +613  9015 8628
 Mobile: 0404 998 273

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Wednesday, 14 May 2008 3:22 PM
 To: cfaussie
 Subject: [cfaussie] Re: cfajaxproxy - cfc path

 I read Ben's post 
 :http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutoria...
 oSuggest

 It seems that several people have had this issue but I can not see a
 good solution to it yet...

 On May 14, 3:17 pm, Andrew Scott [EMAIL PROTECTED] wrote:
  This is a known issue, well as least I can never get it to work in that
  manner. I tried mappings as well, but was never able to get it to work. It
  seems to want to be in the root of your site, maybe I am being stupid, but
 I
  have suffered that pain and asked the developers this when 8.01 was in
 beta.
  Unfortunately I never got to reading the answer, if there was one.

  Andrew Scott
  Senior Coldfusion Developer
  Aegeon Pty. Ltd.www.aegeon.com.au
  Phone: +613  9015 8628
  Mobile: 0404 998 273

  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf

  Of Rony
  Sent: Wednesday, 14 May 2008 2:00 PM
  To: cfaussie
  Subject: [cfaussie] cfajaxproxy - cfc path

  Hi Guys,

  I have a cfc stored in the /services folder that is located in the
  webroot of my site.

  Now, if i invoked something like this :

  cfajaxproxy
  cfc=services.test
  jsclassname=objServices
  /

  I get  'The specified CFC admin.sitecontent.services.test could not be
  found.'

  I do not want to put the file in the sub folder of the CFM template
  that calls it as I will be using this CFC in other areas of my site.
  For testing , I did place the folder sub root and it all worked nicely
  but this is not the way i want it to work.

  I did read the docs
 (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tag...
  .html
  ) about this tag and did a few different things to no avail.

  Can anyone shed some light into how to get this to work?

  Thanks guys.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: cfajaxproxy - cfc path

2008-05-14 Thread Rony

I am about to update to the latest hot fix in hope that it will fix
the problem.

On May 14, 4:15 pm, Andrew Scott [EMAIL PROTECTED] wrote:
 Ok, I haven't tried it as of yet.

 But Ben states in that link that this issue is fixed in the 8.01 update.

 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.www.aegeon.com.au
 Phone: +613  9015 8628
 Mobile: 0404 998 273

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Wednesday, 14 May 2008 4:03 PM
 To: cfaussie
 Subject: [cfaussie] Re: cfajaxproxy - cfc path

 I am using   Version : 8,0,0,176276

 On May 14, 3:58 pm, Andrew Scott [EMAIL PROTECTED] wrote:
  Ben states that it was identified as a bug, are you running CF8.01 at all?

  Andrew Scott
  Senior Coldfusion Developer
  Aegeon Pty. Ltd.www.aegeon.com.au
  Phone: +613  9015 8628
  Mobile: 0404 998 273

  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf

  Of Rony
  Sent: Wednesday, 14 May 2008 3:22 PM
  To: cfaussie
  Subject: [cfaussie] Re: cfajaxproxy - cfc path

  I read Ben's post
 :http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutoria...
  oSuggest

  It seems that several people have had this issue but I can not see a
  good solution to it yet...

  On May 14, 3:17 pm, Andrew Scott [EMAIL PROTECTED] wrote:
   This is a known issue, well as least I can never get it to work in that
   manner. I tried mappings as well, but was never able to get it to work.
 It
   seems to want to be in the root of your site, maybe I am being stupid,
 but
  I
   have suffered that pain and asked the developers this when 8.01 was in
  beta.
   Unfortunately I never got to reading the answer, if there was one.

   Andrew Scott
   Senior Coldfusion Developer
   Aegeon Pty. Ltd.www.aegeon.com.au
   Phone: +613  9015 8628
   Mobile: 0404 998 273

   -Original Message-
   From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf

   Of Rony
   Sent: Wednesday, 14 May 2008 2:00 PM
   To: cfaussie
   Subject: [cfaussie] cfajaxproxy - cfc path

   Hi Guys,

   I have a cfc stored in the /services folder that is located in the
   webroot of my site.

   Now, if i invoked something like this :

   cfajaxproxy
   cfc=services.test
   jsclassname=objServices
   /

   I get  'The specified CFC admin.sitecontent.services.test could not be
   found.'

   I do not want to put the file in the sub folder of the CFM template
   that calls it as I will be using this CFC in other areas of my site.
   For testing , I did place the folder sub root and it all worked nicely
   but this is not the way i want it to work.

   I did read the docs
  (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tag...
   .html
   ) about this tag and did a few different things to no avail.

   Can anyone shed some light into how to get this to work?

   Thanks guys.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: cfajaxproxy - cfc path

2008-05-14 Thread Rony

I am actually waiting for this to be done by the server admin 

I will let you know if this fixes the issue.

On May 15, 9:36 am, MrBuzzy [EMAIL PROTECTED] wrote:
 How did it go rony?

 On 5/14/08, Rony [EMAIL PROTECTED] wrote:





  I am about to update to the latest hot fix in hope that it will fix
  the problem.

  On May 14, 4:15 pm, Andrew Scott [EMAIL PROTECTED] wrote:
  Ok, I haven't tried it as of yet.

  But Ben states in that link that this issue is fixed in the 8.01 update.

  Andrew Scott
  Senior Coldfusion Developer
  Aegeon Pty. Ltd.www.aegeon.com.au
  Phone: +613  9015 8628
  Mobile: 0404 998 273

  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf

  Of Rony
  Sent: Wednesday, 14 May 2008 4:03 PM
  To: cfaussie
  Subject: [cfaussie] Re: cfajaxproxy - cfc path

  I am using   Version : 8,0,0,176276

  On May 14, 3:58 pm, Andrew Scott [EMAIL PROTECTED] wrote:
   Ben states that it was identified as a bug, are you running CF8.01 at
   all?

   Andrew Scott
   Senior Coldfusion Developer
   Aegeon Pty. Ltd.www.aegeon.com.au
   Phone: +613  9015 8628
   Mobile: 0404 998 273

   -Original Message-
   From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf

   Of Rony
   Sent: Wednesday, 14 May 2008 3:22 PM
   To: cfaussie
   Subject: [cfaussie] Re: cfajaxproxy - cfc path

   I read Ben's post
  :http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutoria...
   oSuggest

   It seems that several people have had this issue but I can not see a
   good solution to it yet...

   On May 14, 3:17 pm, Andrew Scott [EMAIL PROTECTED] wrote:
This is a known issue, well as least I can never get it to work in
that
manner. I tried mappings as well, but was never able to get it to
work.
  It
seems to want to be in the root of your site, maybe I am being stupid,
  but
   I
have suffered that pain and asked the developers this when 8.01 was in
   beta.
Unfortunately I never got to reading the answer, if there was one.

Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.www.aegeon.com.au
Phone: +613  9015 8628
Mobile: 0404 998 273

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
   Behalf

Of Rony
Sent: Wednesday, 14 May 2008 2:00 PM
To: cfaussie
Subject: [cfaussie] cfajaxproxy - cfc path

Hi Guys,

I have a cfc stored in the /services folder that is located in the
webroot of my site.

Now, if i invoked something like this :

cfajaxproxy
cfc=services.test
jsclassname=objServices
/

I get  'The specified CFC admin.sitecontent.services.test could not be
found.'

I do not want to put the file in the sub folder of the CFM template
that calls it as I will be using this CFC in other areas of my site.
For testing , I did place the folder sub root and it all worked nicely
but this is not the way i want it to work.

I did read the docs
   (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tag...
.html
) about this tag and did a few different things to no avail.

Can anyone shed some light into how to get this to work?

Thanks guys.

 --
 Sent from Gmail for mobile | mobile.google.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] cfajaxproxy - cfc path

2008-05-13 Thread Rony

Hi Guys,

I have a cfc stored in the /services folder that is located in the
webroot of my site.

Now, if i invoked something like this :

cfajaxproxy
cfc=services.test
jsclassname=objServices
/

I get  'The specified CFC admin.sitecontent.services.test could not be
found.'

I do not want to put the file in the sub folder of the CFM template
that calls it as I will be using this CFC in other areas of my site.
For testing , I did place the folder sub root and it all worked nicely
but this is not the way i want it to work.

I did read the docs (  
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_a-b_3.html
) about this tag and did a few different things to no avail.

Can anyone shed some light into how to get this to work?

Thanks guys.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: cfajaxproxy - cfc path

2008-05-13 Thread Rony

Thanks for that Dale . I did not think I could use a mapping for this
situation.

Can this also be done without mappings?

On May 14, 2:08 pm, Dale Fraser [EMAIL PROTECTED] wrote:
 Setup a mapping.

 Lets say it's called com

 That is the base of services

 Then reference com.services.test

 Or if you don't like that you can setup a mapping called services pointing
 the the services folder.

 Regards
 Dale Fraserhttp://learncf.comhttp://flexcf.com

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Wednesday, 14 May 2008 2:00 PM
 To: cfaussie
 Subject: [cfaussie] cfajaxproxy - cfc path

 Hi Guys,

 I have a cfc stored in the /services folder that is located in the
 webroot of my site.

 Now, if i invoked something like this :

 cfajaxproxy
 cfc=services.test
 jsclassname=objServices
 /

 I get  'The specified CFC admin.sitecontent.services.test could not be
 found.'

 I do not want to put the file in the sub folder of the CFM template
 that calls it as I will be using this CFC in other areas of my site.
 For testing , I did place the folder sub root and it all worked nicely
 but this is not the way i want it to work.

 I did read the docs 
 (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tag...
 .html
 ) about this tag and did a few different things to no avail.

 Can anyone shed some light into how to get this to work?

 Thanks guys.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: cfajaxproxy - cfc path

2008-05-13 Thread Rony

I now get a JS error specifying that /sample.cfc can not be found...

On May 14, 2:47 pm, Rony [EMAIL PROTECTED] wrote:
 Thanks for that Dale . I did not think I could use a mapping for this
 situation.

 Can this also be done without mappings?

 On May 14, 2:08 pm, Dale Fraser [EMAIL PROTECTED] wrote:

  Setup a mapping.

  Lets say it's called com

  That is the base of services

  Then reference com.services.test

  Or if you don't like that you can setup a mapping called services pointing
  the the services folder.

  Regards
  Dale Fraserhttp://learncf.comhttp://flexcf.com

  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

  Of Rony
  Sent: Wednesday, 14 May 2008 2:00 PM
  To: cfaussie
  Subject: [cfaussie] cfajaxproxy - cfc path

  Hi Guys,

  I have a cfc stored in the /services folder that is located in the
  webroot of my site.

  Now, if i invoked something like this :

  cfajaxproxy
  cfc=services.test
  jsclassname=objServices
  /

  I get  'The specified CFC admin.sitecontent.services.test could not be
  found.'

  I do not want to put the file in the sub folder of the CFM template
  that calls it as I will be using this CFC in other areas of my site.
  For testing , I did place the folder sub root and it all worked nicely
  but this is not the way i want it to work.

  I did read the docs 
  (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tag...
  .html
  ) about this tag and did a few different things to no avail.

  Can anyone shed some light into how to get this to work?

  Thanks guys.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: cfajaxproxy - cfc path

2008-05-13 Thread Rony

I read Ben's post : 
http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-1-AutoSuggest

It seems that several people have had this issue but I can not see a
good solution to it yet...

On May 14, 3:17 pm, Andrew Scott [EMAIL PROTECTED] wrote:
 This is a known issue, well as least I can never get it to work in that
 manner. I tried mappings as well, but was never able to get it to work. It
 seems to want to be in the root of your site, maybe I am being stupid, but I
 have suffered that pain and asked the developers this when 8.01 was in beta.
 Unfortunately I never got to reading the answer, if there was one.

 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.www.aegeon.com.au
 Phone: +613  9015 8628
 Mobile: 0404 998 273

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Wednesday, 14 May 2008 2:00 PM
 To: cfaussie
 Subject: [cfaussie] cfajaxproxy - cfc path

 Hi Guys,

 I have a cfc stored in the /services folder that is located in the
 webroot of my site.

 Now, if i invoked something like this :

 cfajaxproxy
 cfc=services.test
 jsclassname=objServices
 /

 I get  'The specified CFC admin.sitecontent.services.test could not be
 found.'

 I do not want to put the file in the sub folder of the CFM template
 that calls it as I will be using this CFC in other areas of my site.
 For testing , I did place the folder sub root and it all worked nicely
 but this is not the way i want it to work.

 I did read the docs 
 (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tag...
 .html
 ) about this tag and did a few different things to no avail.

 Can anyone shed some light into how to get this to work?

 Thanks guys.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CFWINDOW with forms that submit

2008-04-24 Thread Rony

CFFORM works nicely.

But I have one issue. In my form, I have fields that once clicked,
will display a calendar so that the user can select a date.

Now, in a normal window the calendar position is below the input.

However, if opened with in a cfwindow, the calendar never appear in
the window.

Any ideas here?

On Apr 24, 7:30 pm, Rony [EMAIL PROTECTED] wrote:
 Thanks Andrew for your reply.

 No sure what your solution was

 I actually just tried using cfform ( I was using a normal html form
 tag ) and it seemed to work.

 But I haven't tested it using a more complicated form.

 Cheers,

 On Apr 24, 7:14 pm, Andrew Scott [EMAIL PROTECTED] wrote:

  Simple.

  As the cfwindow is a div inside the html template, onsubmit check
  validation display errors if any. No errors run a JS function in the
  main body that closes the window.

  There are a number of ways you could achieve it, even get a handle of
  the window with JS in the page included into the cfwindow (if lazy
  loaded). form onsubmit=validate();

  Have you tried it this way? Are you having problems with it?

  On Thu, Apr 24, 2008 at 7:09 PM, Rony [EMAIL PROTECTED] wrote:

   Hi Guys,

   I have a page that uses the ColdFusion.Window.create() to display a
   form from another template.

   Now, when the form submits successfully , I want it to close the
   window.

   If any errors occur, I want the error message to appear in the
   ColdFusion Window only. This is done by storing the error message in a
   session and displaying it in the form template. The action template
   will take the form fields, process them and set the errors, if any and
   return back to the form.

   At the present time, the whole pages refreshes.

   There must be a way to allow the coldfusion window to act
   independently from the main window.

   Any suggestions ?

   Thanks.

  --

  Senior Coldfusion Developer
  Aegeon Pty. Ltd.www.aegeon.com.au
  Phone: +613 8676 4223
  Mobile: 0404 998 273
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: 301 redirect not changing URL

2007-12-17 Thread Rony Fayyad
Hi Ryan

Try this :

  cfheader statuscode=301 statustext=Moved Permanently /
  cfheader name=location value=http://www.new-url.com; / 
  cfabort /

I am not sure if this wil solve your problem, but give it a go mate!

Also , try the CFLOCATION to see if the address changes  correctly ( this is 
more of a debug thing than a solution ).

If none of the above work, can you please let me know what  code is being run 
before / after calling the CFHeader tag.

Cheers,
Rony
  - Original Message - 
  From: Ryan Sabir 
  To: 'cfaussie@googlegroups.com' 
  Sent: Tuesday, December 18, 2007 10:48 AM
  Subject: [cfaussie] Re: 301 redirect not changing URL



  CFLOCATION is a 302 redirect. It tells the search engine that the resource 
requested has been moved temporarily. A 301 redirect tells a search engine that 
the resource has been moved permanently, so no longer look for it at the 
original URL.

  At least that's how I understand how it works.

   

--
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Blair 
McKenzie
  Sent: Tuesday, 18 December 2007 10:42 AM
  To: cfaussie@googlegroups.com
  Subject: [cfaussie] Re: 301 redirect not changing URL


  Is there any reason not to use cflocation? Does it not handle that stuff?

  Blair


  On Dec 18, 2007 10:38 AM, Ryan Sabir [EMAIL PROTECTED] wrote: 

Yeah but I want the redirect to be a Moved Permanently rather than Moved 
Temporarily. Its for a site that has changed its URL structure.




From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Andrew Scott
Sent: Tuesday, 18 December 2007 10:06 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: 301 redirect not changing URL


Try 302 instead.





Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  9015 8628
Mobile: 0404 998 273





From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan 
Sabir
Sent: Tuesday, 18 December 2007 9:59 AM
To: 'cfaussie@googlegroups.com'
Subject: [cfaussie] 301 redirect not changing URL



Heya, 



I'm doing a 301 redirect using CFHEADER like so:



cfheader statuscode=301 statustext=Moved permanently
cfheader name=Location value=http://www.new-url.com; 



The redirect correctly shows the new page content, but the URL in the 
browser window is still the old URL. If I bookmark it, its actually bookmarking 
the old URL. How can I do an SEO friendly redirect, and change the URL as well?



thanks.






 Ryan Sabir
  Technical Director

  p: (02) 9274 8030
  f: (02) 9274 8099
  m: 0411 512 454
  w: www.newgency.com
 
 Newgency Pty Ltd
  Web | Multimedia | eMarketing

  115 Cooper St
  Surry Hills NSW 2010
  Sydney, Australia
 










  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: 301 redirect not changing URL

2007-12-17 Thread Rony Fayyad
You could also try running that snippet of code on  a different Coldfusion 
instance and see if the issue still ocurrs - may be try it on your local host 
or another dev box.

See if its a CF thing
  - Original Message - 
  From: Ryan Sabir 
  To: 'cfaussie@googlegroups.com' 
  Sent: Tuesday, December 18, 2007 10:48 AM
  Subject: [cfaussie] Re: 301 redirect not changing URL



  CFLOCATION is a 302 redirect. It tells the search engine that the resource 
requested has been moved temporarily. A 301 redirect tells a search engine that 
the resource has been moved permanently, so no longer look for it at the 
original URL.

  At least that's how I understand how it works.

   

--
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Blair 
McKenzie
  Sent: Tuesday, 18 December 2007 10:42 AM
  To: cfaussie@googlegroups.com
  Subject: [cfaussie] Re: 301 redirect not changing URL


  Is there any reason not to use cflocation? Does it not handle that stuff?

  Blair


  On Dec 18, 2007 10:38 AM, Ryan Sabir [EMAIL PROTECTED] wrote: 

Yeah but I want the redirect to be a Moved Permanently rather than Moved 
Temporarily. Its for a site that has changed its URL structure.




From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Andrew Scott
Sent: Tuesday, 18 December 2007 10:06 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: 301 redirect not changing URL


Try 302 instead.





Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  9015 8628
Mobile: 0404 998 273





From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan 
Sabir
Sent: Tuesday, 18 December 2007 9:59 AM
To: 'cfaussie@googlegroups.com'
Subject: [cfaussie] 301 redirect not changing URL



Heya, 



I'm doing a 301 redirect using CFHEADER like so:



cfheader statuscode=301 statustext=Moved permanently
cfheader name=Location value=http://www.new-url.com; 



The redirect correctly shows the new page content, but the URL in the 
browser window is still the old URL. If I bookmark it, its actually bookmarking 
the old URL. How can I do an SEO friendly redirect, and change the URL as well?



thanks.






 Ryan Sabir
  Technical Director

  p: (02) 9274 8030
  f: (02) 9274 8099
  m: 0411 512 454
  w: www.newgency.com
 
 Newgency Pty Ltd
  Web | Multimedia | eMarketing

  115 Cooper St
  Surry Hills NSW 2010
  Sydney, Australia
 










  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: 301 redirect not changing URL [SOLVED]

2007-12-17 Thread Rony Fayyad

Good work !

- Original Message - 
From: Ryan Sabir [EMAIL PROTECTED]
To: cfaussie@googlegroups.com
Sent: Tuesday, December 18, 2007 11:27 AM
Subject: [cfaussie] Re: 301 redirect not changing URL [SOLVED]



Hi all,

Andrew here came up with the solution:

You need to write the header tag like this :

cfheader statuscode=301 statustext=Moved 
Permanently#Chr(13)##Chr(10)#Location:#newurl#

All in one line. Now the redirect works.. and the URL changes.

Yippee!



From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf 
Of Rony Fayyad
Sent: Tuesday, 18 December 2007 11:10 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: 301 redirect not changing URL


You could also try running that snippet of code on  a different Coldfusion 
instance and see if the issue still ocurrs - may be try it on your local 
host or another dev box.

See if its a CF thing

- Original Message - 
From: Ryan Sabir mailto:[EMAIL PROTECTED]
To: 'cfaussie@googlegroups.com'
Sent: Tuesday, December 18, 2007 10:48 AM
Subject: [cfaussie] Re: 301 redirect not changing URL


CFLOCATION is a 302 redirect. It tells the search engine that the resource 
requested has been moved temporarily. A 301 redirect tells a search engine 
that the resource has been moved permanently, so no longer look for it at 
the original URL.

At least that's how I understand how it works.




From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf 
Of Blair McKenzie
Sent: Tuesday, 18 December 2007 10:42 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: 301 redirect not changing URL


Is there any reason not to use cflocation? Does it not handle that stuff?

Blair


On Dec 18, 2007 10:38 AM, Ryan Sabir [EMAIL PROTECTED] wrote:


Yeah but I want the redirect to be a Moved Permanently rather than Moved 
Temporarily. Its for a site that has changed its URL structure.



From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf 
Of Andrew Scott
Sent: Tuesday, 18 December 2007 10:06 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: 301 redirect not changing URL



Try 302 instead.





Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  9015 8628
Mobile: 0404 998 273





From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf 
Of Ryan Sabir
Sent: Tuesday, 18 December 2007 9:59 AM
To: 'cfaussie@googlegroups.com'
Subject: [cfaussie] 301 redirect not changing URL



Heya,



I'm doing a 301 redirect using CFHEADER like so:



cfheader statuscode=301 statustext=Moved permanently
cfheader name=Location value=http://www.new-url.com;



The redirect correctly shows the new page content, but the URL in the 
browser window is still the old URL. If I bookmark it, its actually 
bookmarking the old URL. How can I do an SEO friendly redirect, and change 
the URL as well?



thanks.







Ryan Sabir
Technical Director

p: (02) 9274 8030
f: (02) 9274 8099
m: 0411 512 454
w: www.newgency.com http://www.newgency.com/



Newgency Pty Ltd
Web | Multimedia | eMarketing

115 Cooper St
Surry Hills NSW 2010
Sydney, Australia























--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Coldfusion 8 - Connection Reset Errors

2007-12-11 Thread Rony

Hi,

We recently upgraded our CF server to CF8 from CF7 ( both standard
edition ).

We are now getting the following error on  frequent basis ( about 3-5
a week ).

 The connection was reset .The connection to the server was reset
while the page was loading.

This only started occurring when we upgraded to CF8.

The server memory usage  seems to be ok and even upon restarting the
CF8 services, the problem still exists. The only way around this is to
restart the server and sometimes works if we restart the IIS server.

I can ping the server no problems but I cannot connect to the websites
hosted on this server.

Has anyone else come across this?

Thanks,
Rony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: debug slow loading pages

2007-12-08 Thread Rony Fayyad

Hi Taco,

Try this site : http://www.websiteoptimization.com/services/analyze/

It might give you a better understanding of what might be taking long to 
load.

I don't think the delay, if any, is occuring because of Coldfusion.

I think it might be a network thing, or browser's taking a while to download 
all the JavaScripts / CSS files.

The site load ok with me.

Regards,
Rony

- Original Message - 
From: [EMAIL PROTECTED]
To: cfaussie cfaussie@googlegroups.com
Sent: Saturday, December 08, 2007 7:18 PM
Subject: [cfaussie] Re: debug slow loading pages



 All pages on your site are quite snappy for me.  (I'm using Bigpond
 Cable).  Peter R

 On Dec 8, 6:16 pm, Taco Fleur [EMAIL PROTECTED] wrote:
 That is weird, it takes sometimes 6 or more seconds for me. But other 
 pages
 on the internet load fast.

 Was this the index page that loaded quick?

 On 12/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:





  What is slow for you?  Looks quite fast to me.  From pointing the
  browser to full load took less than 3 seconds, very first time
  visited.  Tested in both IE 6 and Firefox.

  Peter R

  On Dec 8, 12:49 pm, Taco Fleur [EMAIL PROTECTED] wrote:
   Still having trouble with very slow loading pages, at first I thought 
   it
  was
   just the frontpage, but its any page I load first into the browser.
   So I close the browser call up any page, and there is this 5+ second
  delay.
   Pages from then on are pretty fast in loading.

   For example:http://www.clickfind.com.au/about-clickfind.cfm

   close the browser and openhttp://www.clickfind.com.au

   I've moved the google analytics code to the bottom of the page, so 
   that
   should be ok and not causing any issues.

   I just can't figure it out. Thinking it might be the DNS or 
   something??
   I'm not really loading anything to big into session scope either, 
   even
  if I
   would, upon returning the session is still active - so it would not 
   have
  to
   recreate it...

   Does anyone have any ideas? And most importantly, is anyone able to
   replicate this, or could it just be my connection and machine?

   --http://www.clickfind.com.au

   Looking for a business, product or service? Try the new Australian
  search
   enginewww.clickfind.com.au

 --http://www.clickfind.com.au

 Looking for a business, product or service? Try the new Australian search
 enginewww.clickfind.com.au
  


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: What do Charlie Arehart, Sean Corfield, Ray Camden, Ben Forta Ben Nadel have in common?

2007-12-03 Thread Rony Fayyad
I think that LearnCF.com is a great  asset to the Coldfusion community and 
should used by all of us. 

I have no problem if the site is *advertised*  in the CFAussie group's 
discussion as it is a good site for the CF developers to use.

It's not a money making business that is trying to sell anything !

I do hope it grows into a great site for Coldfusion developers !
  - Original Message - 
  From: Dale Fraser 
  To: cfaussie@googlegroups.com 
  Sent: Tuesday, December 04, 2007 10:49 AM
  Subject: [cfaussie] Re: What do Charlie Arehart, Sean Corfield, Ray Camden, 
Ben Forta  Ben Nadel have in common?


  Steve,

   

  The point of the post is to encourage people to contribute tutorials to the 
site. Not a single person from CFAUSSIE other than guys at my work have 
contributed.

   

  The site doesn't make any money, doesn't have a single add and gives away 
prizes which are all donated by either Adobe or Myself.

   

  I would have a problem with you doing the same to promote a commercial 
business or even with anyone promoting a website, but this is a ColdFusion 
community list and I'm trying to encourage the community to contribute.

   

  PS: Don't you have a lot of advertising of your businesses in your signature 
on a lot of posts?

   

  Regards

  Dale Fraser

   

  http://learncf.com

   

  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of M@ 
Bourke
  Sent: Monday, 3 December 2007 10:34 PM
  To: cfaussie@googlegroups.com
  Subject: [cfaussie] Re: What do Charlie Arehart, Sean Corfield, Ray Camden, 
Ben Forta  Ben Nadel have in common?

   

  providing the site has no advertising like banner ads or sponsored by xx 
development etc.
  I have no problem with it, it's just promoting community stuff then it's fine 
by me.

  M@




  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] CF Camp - Sydney

2007-11-22 Thread Rony

Thanks to all that were involved in organizing CF Camp - it was great!

Being the best city in the world, I am sure our CF Camp in Sydney was
the best as well :-)

I really enjoyed all the presentations. They were all well
structured / presented with many examples which is the best way method
of understanding new concepts.

I think the event is a great asset to any CF developer and if you
didn't make it to CF Camp this year, I think it's a must next year (if
the event is on).

Cheers,
Rony

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Hot fixes

2007-11-12 Thread Rony

Well the hot fix was only to fix a bug with CF7.

Its not an upgrade hot fix. But as I previously said, the hot fix says
it's for V7.0.2 but as you previously mentioned it didn't require
7.0.2 and should work on 7.0.1

Is there need to upgrade to v7.0.2?

I don't think it's necessary / essential as all I want to do is
install this hot fix to fix this one bug.

On Nov 13, 10:45 am, Steve Onnis [EMAIL PROTECTED] wrote:
 So when you go into the system info area of the admin it is still showing
 7.0.1?

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Tuesday, 13 November 2007 10:44 AM
 To: cfaussie
 Subject: [cfaussie] Re: Hot fixes

 I restarted the Coldfusion 7 Application Service.

 I followed the same instructions my local machine [ that is running
 CF8 ] and it worked fine with a hot fix for CF8.

 I am sure hot fixes do not require a machine restart and should be fine with
 a service restart .

 On Nov 13, 10:30 am, Steve Onnis [EMAIL PROTECTED] wrote:
  Restarted the cf server?

  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf

  Of Rony
  Sent: Tuesday, 13 November 2007 10:29 AM
  To: cfaussie
  Subject: [cfaussie] Re: Hot fixes

  I have followed the instructions for installing the hotfix BUT i do
  not see it in the system CF ADMIN information page.

  Any reason why this hot fix is not listed ?

  On Nov 12, 4:27 pm, AJ Mercer [EMAIL PROTECTED] wrote:
   I am pretty sure you can backout hot fixes by removing the jar file

   On Nov 12, 2007 2:22 PM, Rony [EMAIL PROTECTED] wrote:

Thanks for this you have been a great help.

I just wanted to confirm this before I added a hot fix that was
listed under the 7.0.2 hot fixes on the Adobe site onto my 7.0.1
server with out causing any issues.

Cheers and thanks once again .

On Nov 12, 4:13 pm, Steve Onnis [EMAIL PROTECTED] wrote:
 Yes

 They are accumulative.  I think from memory though you had to
 install
7.0.1
 before you could install 7.0.2 so it you were running 7.0 then
 you
couldn't
 just install right up to 7.0.2 because of the flex additions.

 Steve

 -Original Message-
 From: cfaussie@googlegroups.com
 [mailto:[EMAIL PROTECTED]
 On
Behalf

 Of Rony
 Sent: Monday, 12 November 2007 4:12 PM
 To: cfaussie
 Subject: [cfaussie] Re: Hot fixes

 For, for future reference, I can also install CF v7.0.2 hot
 fixes for my
 7.0.1 server?

 Thanks,

 On Nov 12, 4:04 pm, Steve Onnis [EMAIL PROTECTED] wrote:
  7.0.2 installs the flex stuff as well as a few tag enhancements.
  The update wont effect any other code already running on CF7.

  Regards
  Steve Onnis

  -Original Message-
  From: cfaussie@googlegroups.com
  [mailto:[EMAIL PROTECTED] On Behalf

  Of Rony
  Sent: Monday, 12 November 2007 3:30 PM
  To: cfaussie
  Subject: [cfaussie] Hot fixes

  Hi All,

  I ran into a bug with Coldfusion 7, or so it seems. Check this
  post out for more details

  :http://ajlcom.instantspot.com/blog/index.cfm/2007/4/10/Corrupted-quer.
..
  ColdFusion-MX-7ow,

  Now, Adobe have since released a hot fix for this issues.
  However, I am running Coldfusion MX 7 Version 7.0.1 but the
  hot fix is for Version 7.0.2

  :-http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402002sl.
..
  .

  It is possible to use this hot fix for my server , or is this
  going to pose a problem ?

  Thanks,
  Rony

   --

   AJ Mercer
   Web Log:http://webonix.net


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Hot fixes

2007-11-12 Thread Rony

I restarted the Coldfusion 7 Application Service.

I followed the same instructions my local machine [ that is running
CF8 ] and it worked fine with a hot fix for CF8.

I am sure hot fixes do not require a machine restart and should be
fine with a service restart .

On Nov 13, 10:30 am, Steve Onnis [EMAIL PROTECTED] wrote:
 Restarted the cf server?

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Tuesday, 13 November 2007 10:29 AM
 To: cfaussie
 Subject: [cfaussie] Re: Hot fixes

 I have followed the instructions for installing the hotfix BUT i do not see
 it in the system CF ADMIN information page.

 Any reason why this hot fix is not listed ?

 On Nov 12, 4:27 pm, AJ Mercer [EMAIL PROTECTED] wrote:
  I am pretty sure you can backout hot fixes by removing the jar file

  On Nov 12, 2007 2:22 PM, Rony [EMAIL PROTECTED] wrote:

   Thanks for this you have been a great help.

   I just wanted to confirm this before I added a hot fix that was
   listed under the 7.0.2 hot fixes on the Adobe site onto my 7.0.1
   server with out causing any issues.

   Cheers and thanks once again .

   On Nov 12, 4:13 pm, Steve Onnis [EMAIL PROTECTED] wrote:
Yes

They are accumulative.  I think from memory though you had to
install
   7.0.1
before you could install 7.0.2 so it you were running 7.0 then you
   couldn't
just install right up to 7.0.2 because of the flex additions.

Steve

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
On
   Behalf

Of Rony
Sent: Monday, 12 November 2007 4:12 PM
To: cfaussie
Subject: [cfaussie] Re: Hot fixes

For, for future reference, I can also install CF v7.0.2 hot fixes
for my
7.0.1 server?

Thanks,

On Nov 12, 4:04 pm, Steve Onnis [EMAIL PROTECTED] wrote:
 7.0.2 installs the flex stuff as well as a few tag enhancements.
 The update wont effect any other code already running on CF7.

 Regards
 Steve Onnis

 -Original Message-
 From: cfaussie@googlegroups.com
 [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Monday, 12 November 2007 3:30 PM
 To: cfaussie
 Subject: [cfaussie] Hot fixes

 Hi All,

 I ran into a bug with Coldfusion 7, or so it seems. Check this
 post out for more details

 :http://ajlcom.instantspot.com/blog/index.cfm/2007/4/10/Corrupted-quer.
   ..
 ColdFusion-MX-7ow,

 Now, Adobe have since released a hot fix for this issues.
 However, I am running Coldfusion MX 7 Version 7.0.1 but the hot
 fix is for Version 7.0.2

 :-http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402002sl.
   ..
 .

 It is possible to use this hot fix for my server , or is this
 going to pose a problem ?

 Thanks,
 Rony

  --

  AJ Mercer
  Web Log:http://webonix.net


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Hot fixes

2007-11-12 Thread Rony

I have followed the instructions for installing the hotfix BUT i do
not see it in the system CF ADMIN information page.

Any reason why this hot fix is not listed ?

On Nov 12, 4:27 pm, AJ Mercer [EMAIL PROTECTED] wrote:
 I am pretty sure you can backout hot fixes by removing the jar file

 On Nov 12, 2007 2:22 PM, Rony [EMAIL PROTECTED] wrote:





  Thanks for this you have been a great help.

  I just wanted to confirm this before I added a hot fix that was listed
  under the 7.0.2 hot fixes on the Adobe site onto my 7.0.1 server with
  out causing any issues.

  Cheers and thanks once again .

  On Nov 12, 4:13 pm, Steve Onnis [EMAIL PROTECTED] wrote:
   Yes

   They are accumulative.  I think from memory though you had to install
  7.0.1
   before you could install 7.0.2 so it you were running 7.0 then you
  couldn't
   just install right up to 7.0.2 because of the flex additions.

   Steve

   -Original Message-
   From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf

   Of Rony
   Sent: Monday, 12 November 2007 4:12 PM
   To: cfaussie
   Subject: [cfaussie] Re: Hot fixes

   For, for future reference, I can also install CF v7.0.2 hot fixes for my
   7.0.1 server?

   Thanks,

   On Nov 12, 4:04 pm, Steve Onnis [EMAIL PROTECTED] wrote:
7.0.2 installs the flex stuff as well as a few tag enhancements.  The
update wont effect any other code already running on CF7.

Regards
Steve Onnis

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf

Of Rony
Sent: Monday, 12 November 2007 3:30 PM
To: cfaussie
Subject: [cfaussie] Hot fixes

Hi All,

I ran into a bug with Coldfusion 7, or so it seems. Check this post
out for more details
   :http://ajlcom.instantspot.com/blog/index.cfm/2007/4/10/Corrupted-quer.
  ..
ColdFusion-MX-7ow,

Now, Adobe have since released a hot fix for this issues. However, I
am running Coldfusion MX 7 Version 7.0.1 but the hot fix is for
Version 7.0.2
   :-http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402002sl.
  ..
.

It is possible to use this hot fix for my server , or is this going to
pose a problem ?

Thanks,
Rony

 --

 AJ Mercer
 Web Log:http://webonix.net


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Hot fixes

2007-11-12 Thread Rony

Yeah i guess so.

I will try it out and let you know.

Thanks

On Nov 13, 10:57 am, Steve Onnis [EMAIL PROTECTED] wrote:
 7.0.2 is a update and accumulative hotfix so it wont hurt to apply the 7.0.2
 update. Then your server will be totally up to date

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Tuesday, 13 November 2007 10:55 AM
 To: cfaussie
 Subject: [cfaussie] Re: Hot fixes

 Well the hot fix was only to fix a bug with CF7.

 Its not an upgrade hot fix. But as I previously said, the hot fix says it's
 for V7.0.2 but as you previously mentioned it didn't require
 7.0.2 and should work on 7.0.1

 Is there need to upgrade to v7.0.2?

 I don't think it's necessary / essential as all I want to do is install this
 hot fix to fix this one bug.

 On Nov 13, 10:45 am, Steve Onnis [EMAIL PROTECTED] wrote:
  So when you go into the system info area of the admin it is still
  showing 7.0.1?

  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf

  Of Rony
  Sent: Tuesday, 13 November 2007 10:44 AM
  To: cfaussie
  Subject: [cfaussie] Re: Hot fixes

  I restarted the Coldfusion 7 Application Service.

  I followed the same instructions my local machine [ that is running
  CF8 ] and it worked fine with a hot fix for CF8.

  I am sure hot fixes do not require a machine restart and should be
  fine with a service restart .

  On Nov 13, 10:30 am, Steve Onnis [EMAIL PROTECTED] wrote:
   Restarted the cf server?

   -Original Message-
   From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
   On Behalf

   Of Rony
   Sent: Tuesday, 13 November 2007 10:29 AM
   To: cfaussie
   Subject: [cfaussie] Re: Hot fixes

   I have followed the instructions for installing the hotfix BUT i do
   not see it in the system CF ADMIN information page.

   Any reason why this hot fix is not listed ?

   On Nov 12, 4:27 pm, AJ Mercer [EMAIL PROTECTED] wrote:
I am pretty sure you can backout hot fixes by removing the jar
file

On Nov 12, 2007 2:22 PM, Rony [EMAIL PROTECTED] wrote:

 Thanks for this you have been a great help.

 I just wanted to confirm this before I added a hot fix that was
 listed under the 7.0.2 hot fixes on the Adobe site onto my 7.0.1
 server with out causing any issues.

 Cheers and thanks once again .

 On Nov 12, 4:13 pm, Steve Onnis [EMAIL PROTECTED] wrote:
  Yes

  They are accumulative.  I think from memory though you had to
  install
 7.0.1
  before you could install 7.0.2 so it you were running 7.0 then
  you
 couldn't
  just install right up to 7.0.2 because of the flex additions.

  Steve

  -Original Message-
  From: cfaussie@googlegroups.com
  [mailto:[EMAIL PROTECTED]
  On
 Behalf

  Of Rony
  Sent: Monday, 12 November 2007 4:12 PM
  To: cfaussie
  Subject: [cfaussie] Re: Hot fixes

  For, for future reference, I can also install CF v7.0.2 hot
  fixes for my
  7.0.1 server?

  Thanks,

  On Nov 12, 4:04 pm, Steve Onnis [EMAIL PROTECTED] wrote:
   7.0.2 installs the flex stuff as well as a few tag enhancements.
   The update wont effect any other code already running on CF7.

   Regards
   Steve Onnis

   -Original Message-
   From: cfaussie@googlegroups.com
   [mailto:[EMAIL PROTECTED] On Behalf

   Of Rony
   Sent: Monday, 12 November 2007 3:30 PM
   To: cfaussie
   Subject: [cfaussie] Hot fixes

   Hi All,

   I ran into a bug with Coldfusion 7, or so it seems. Check
   this post out for more details

   :http://ajlcom.instantspot.com/blog/index.cfm/2007/4/10/Corrupted-quer.
 ..
   ColdFusion-MX-7ow,

   Now, Adobe have since released a hot fix for this issues.
   However, I am running Coldfusion MX 7 Version 7.0.1 but the
   hot fix is for Version 7.0.2

   :-http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402002sl.
 ..
   .

   It is possible to use this hot fix for my server , or is
   this going to pose a problem ?

   Thanks,
   Rony

--

AJ Mercer
Web Log:http://webonix.net


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Hot fixes

2007-11-11 Thread Rony

Hi All,

I ran into a bug with Coldfusion 7, or so it seems. Check this post
out for more details : 
http://ajlcom.instantspot.com/blog/index.cfm/2007/4/10/Corrupted-queries-in-ColdFusion-MX-7ow,

Now, Adobe have since released a hot fix for this issues. However, I
am running Coldfusion MX 7 Version 7.0.1 but the hot fix is for
Version 7.0.2 :- 
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402002sliceId=1.

It is possible to use this hot fix for my server , or is this going to
pose a problem ?

Thanks,
Rony


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Hot fixes

2007-11-11 Thread Rony

For, for future reference, I can also install CF v7.0.2 hot fixes for
my 7.0.1 server?

Thanks,

On Nov 12, 4:04 pm, Steve Onnis [EMAIL PROTECTED] wrote:
 7.0.2 installs the flex stuff as well as a few tag enhancements.  The update
 wont effect any other code already running on CF7.

 Regards
 Steve Onnis

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Monday, 12 November 2007 3:30 PM
 To: cfaussie
 Subject: [cfaussie] Hot fixes

 Hi All,

 I ran into a bug with Coldfusion 7, or so it seems. Check this post out for
 more details 
 :http://ajlcom.instantspot.com/blog/index.cfm/2007/4/10/Corrupted-quer...
 ColdFusion-MX-7ow,

 Now, Adobe have since released a hot fix for this issues. However, I am
 running Coldfusion MX 7 Version 7.0.1 but the hot fix is for Version 7.0.2
 :-http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402002sl...
 .

 It is possible to use this hot fix for my server , or is this going to pose
 a problem ?

 Thanks,
 Rony


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Hot fixes

2007-11-11 Thread Rony

Thanks for this you have been a great help.

I just wanted to confirm this before I added a hot fix that was listed
under the 7.0.2 hot fixes on the Adobe site onto my 7.0.1 server with
out causing any issues.

Cheers and thanks once again .

On Nov 12, 4:13 pm, Steve Onnis [EMAIL PROTECTED] wrote:
 Yes

 They are accumulative.  I think from memory though you had to install 7.0.1
 before you could install 7.0.2 so it you were running 7.0 then you couldn't
 just install right up to 7.0.2 because of the flex additions.

 Steve

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Monday, 12 November 2007 4:12 PM
 To: cfaussie
 Subject: [cfaussie] Re: Hot fixes

 For, for future reference, I can also install CF v7.0.2 hot fixes for my
 7.0.1 server?

 Thanks,

 On Nov 12, 4:04 pm, Steve Onnis [EMAIL PROTECTED] wrote:
  7.0.2 installs the flex stuff as well as a few tag enhancements.  The
  update wont effect any other code already running on CF7.

  Regards
  Steve Onnis

  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf

  Of Rony
  Sent: Monday, 12 November 2007 3:30 PM
  To: cfaussie
  Subject: [cfaussie] Hot fixes

  Hi All,

  I ran into a bug with Coldfusion 7, or so it seems. Check this post
  out for more details
 :http://ajlcom.instantspot.com/blog/index.cfm/2007/4/10/Corrupted-quer...
  ColdFusion-MX-7ow,

  Now, Adobe have since released a hot fix for this issues. However, I
  am running Coldfusion MX 7 Version 7.0.1 but the hot fix is for
  Version 7.0.2
 :-http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402002sl...
  .

  It is possible to use this hot fix for my server , or is this going to
  pose a problem ?

  Thanks,
  Rony


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Memory issues

2007-08-14 Thread Rony

Hi all,

I have developed code that builds structure from two database tables.

I have a component that features the function to build the struct and
also a function to validate the struct.

Now, I have noticed an inconsistent issue with the values at each of
the struct keys.

The main struct consists of the below :

key [numeric]
-- nestedStructA - with several keys eg
nestedStructA .value1,nestedStructA .value2, etc etc
-- nestedStructB - with several keys eg
nestedStructB.value1,nestedStructB .value2, etc etc


The entire struct consists of about 600 keys.

I wrote a script to loop 100 times and build the struct then validate
it, with some interesting observations.

There are occasions where nestedStructA does NOT even exist, and
sometimes the value nestedStructA ( supposed to be a struct of keys )
is NOT of type struct but rather a timestamp or empty. This also
occurs with nestedStructB. The validate function ensures EACH key
nested nodes (nestedStructA,nestedStructB) are BOTH structs and are
not empty.

The validation functions returns the key that failed, and this is
NEVER the same key. Its always different.

I have ensure all my variables are VAR'd  and  my locks are correctly
set up. I use the structNew() to build each struct in order to avoid
any issues.

I personally believe that it may be related to a memory issue rather
than my code  - and its been frustrating having to debug this
problem.

I have read several articles about similar issues to no avail.

Can anyone offer some input or any assistance to this problem.

I am willing to email the code if anyone would be interested in
assisting.

Thanks,


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Coldfusion CFC argument typing

2007-08-02 Thread Rony

1. I have the same mapping on both servers, if this wasnt the case
then ALL of my component calls would fail. This issue seems isolated
to only two of my components.
2. I have tested to ensure the object being sent to the read() is of
the correct type.
3. ALL MY COMPONENTS are under the core.packages folder. They are
however separated into different sub folder like below .
  - core
 - packages
 - person (containing my bean, dao, gateways cfcs)
 - user (containing my bean, dao, gateways cfcs)
 - etc etc etc ...

The problem worked once i changed the value type to a struct, which
isnt what i wanted to do, but for now (as it is in dev mode) i can
continue to do this.

On Aug 3, 8:45 am, Robin Hilliard [EMAIL PROTECTED] wrote:
 On 8/2/07, Rony [EMAIL PROTECTED] wrote:



  Hi all,

  I have an OO CF application in which I have declared the CFC
  argument(s) type consistently. My types also include objects that i
  have created.

  I have tested this all on my local machine and all works fine.

  However, when testing on the development box, i get the error:

   The argument [objectname] passed to function read is not of type
  [objectname].

 Hi Rony,

 It's most likely that your mappings are different.  Do you remember
 what I was saying about packages in the course?  It's best if you can
 keep all your components (and includes/tags) under an organised
 package hierarchy i.e. com.ronyco.ronyapp.* - are these two
 components in a different location to the others?

 Cheers,
 Robin

 Robin Hilliard

 CEO - RocketBoots Pty Limited
 Consulting . Recruitment . Software Licensing . 
 Traininghttp://www.rocketboots.com.au

 m+61 418 414 341
 e[EMAIL PROTECTED]


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Coldfusion CFC argument typing

2007-08-01 Thread Rony

Hi all,

I have an OO CF application in which I have declared the CFC
argument(s) type consistently. My types also include objects that i
have created.

I have tested this all on my local machine and all works fine.

However, when testing on the development box, i get the error:

 The argument [objectname] passed to function read is not of type
[objectname].

Now, I thought maybe its a folder permissions issue ; to no avail.

I have read many articles on the net and followed a few suggestions,
but still the issue comes up.

The weird thing is that it occurs on only two of my components. The
rest of the components work fine using this method/style.

I am using CF7.

Can anyone suggest any reason(s) why this occurs.

Cheers,


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Forms issue

2007-07-16 Thread Rony

Does anyone know how to pass FORM variables form one page to another?

I am using CFHEADER to redirect pages and want to also include the
form fields, which are available.

Thanks

On Jul 14, 10:43 am, Rony [EMAIL PROTECTED] wrote:
 Hey Daniel,

 Many thanks for this tremendous post.

 This is exactly what i needed to get me started in troubleshooting
 this issue.

 I will have a look at integrating into my system and see how it works.

 I do have file upload forms which means i would also be looking at a
 solution/assistance for this problem as well.

 Thanks so much mates, this is great.

 Cheers,

 On Jul 13, 6:43 pm, Daniel Crowther [EMAIL PROTECTED]
 wrote:

  Hi Rony

  We currently use the 404 Error redirect system from our systems. The code
  below working for URL and FORM Data, except when file upload is required (eg
  multipart/form-data forms, we have some code to do these, but it is not as
  straight forward as the normal form post data). I have created an exact of
  our system with just the IIS 404 system, This is how we set the system up.

  Using Coldfusion 7 with IIS 6 on Windows 2003 server.

  IIS Setup.

Home Directory Tab

- Click Configuration button, in the Wildcard application maps
  select the jrun_iis6_wildcard.dll and click edit. Make sure that Verify
  that file exists is ticked (if it is unticked it will not work)

Custom Error Tab

- Set 404 Message Type: to URL and URL to /index.cfm (or whatever
  page you wish to do the processing after the URL/Form variables have been
  reprocessed.)

- I cannot remember exactly, but the 405 might also need to be set to
  that URL on IIS5.

   Start Code
  

  Application.cfc

  cfcomponent

cffunction name=onRequestStart

  h3Data Dump before URL 404/h3

  cfinclude template=DataDump.cfm

  cfscript

if (left(cgi.query_string,4) eq '404;') {

  // Step 1. Capture Query String into URL404 variable

  URL404.Original = cgi.query_string;

  // Step 2. Clean 404 Error

  URL404.Complete =
  replace(URL404.Original,404;http://#cgi.server_name#:#cgi.server_port#/,;
  ,ALL);

  // Step 3. Capture for Actual Query Param

  if (FindNoCase(?,URL404.Complete)) {

URL404.ActualQueryString =
  ListGetAt(URL404.Complete, 2, ?);

URL404.Complete =
  ListDeleteAt(URL404.Complete, 2, ?);

  }

  if (FindNoCase(,URL404.Complete)) {

URL404.ActualQueryString =
  ListGetAt(URL404.Complete, 2, );

URL404.Complete =
  ListDeleteAt(URL404.Complete, 2, );

  }

  if (FindNoCase(;,URL404.Complete)) {

URL404.sessionstring =
  ListGetAt(URL404.Complete, 2, ;);

URL404.jsessionid =
  ListGetAt(URL404.sessionstring, 2, =);

URL404.Complete =
  ListDeleteAt(URL404.Complete, 2, ;);

  }

  // Step 4. Capture Filename from Query String

  URL404.Include = ListGetAt(URL404.Complete,
  listlen(URL404.Complete,/) ,  /);

  // Step 5. Check that Filename exists, must contain
  a dot

  if (findnocase(.,  URL404.Include)) {

URL404.VirtualQuerystring =
  ListDeleteAt(URL404.Complete,  listlen(URL404.Complete,/) ,  /);

  } else {

URL404.Include = index.htm;

URL404.VirtualQuerystring = URL404.Complete;

  }

  if(find(.,URL404.Include)) {

URL404.Extension =
  listLast(URL404.Include,.);

  } else {

URL404.Extension = ;

  }

  url[Extension] = URL404.Extension;

  // Step 6. Split Virtual Query String Back into URL
  Variables.

  ActionList = ;

  for(QCounter=1; QCounter LTE
  ListLen(URL404.VirtualQuerystring,/); QCounter=QCounter+1) {

QItem =
  ListGetAt(URL404.VirtualQuerystring,QCounter,/);

if (FindNoCase(:,QItem)) {

  //For 
  Examplehttp://www.somedomain.com/var_a:1/var_b:2/index.htmwillresult in 
  url.var_a
  = 1 and url.var_b=2

  url[ListGetAt(QItem, 1, :)] =
  #ListGetAt(QItem, 2

[cfaussie] Re: Forms issue

2007-07-16 Thread Rony

Simply using cfset session.formData = form /  didn't work, however i
did use some of Daniels code and the session scope and now all works

Thanks for all your help guys.

Cheers,

On Jul 17, 1:57 pm, Dale Fraser [EMAIL PROTECTED] wrote:
 Page 1

 cfset session.formData = form /

 Page 2

 cfset form = session.formData /

 Regards
 Dale Fraser

 http://dalefraser.blogspot.com

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Tuesday, 17 July 2007 12:46 PM
 To: cfaussie
 Subject: [cfaussie] Re: Forms issue

 Does anyone know how to pass FORM variables form one page to another?

 I am using CFHEADER to redirect pages and want to also include the
 form fields, which are available.

 Thanks

 On Jul 14, 10:43 am, Rony [EMAIL PROTECTED] wrote:
  Hey Daniel,

  Many thanks for this tremendous post.

  This is exactly what i needed to get me started in troubleshooting
  this issue.

  I will have a look at integrating into my system and see how it works.

  I do have file upload forms which means i would also be looking at a
  solution/assistance for this problem as well.

  Thanks so much mates, this is great.

  Cheers,

  On Jul 13, 6:43 pm, Daniel Crowther [EMAIL PROTECTED]
  wrote:

   Hi Rony

   We currently use the 404 Error redirect system from our systems. The
 code
   below working for URL and FORM Data, except when file upload is required
 (eg
   multipart/form-data forms, we have some code to do these, but it is not
 as
   straight forward as the normal form post data). I have created an exact
 of
   our system with just the IIS 404 system, This is how we set the system
 up.

   Using Coldfusion 7 with IIS 6 on Windows 2003 server.

   IIS Setup.

 Home Directory Tab

 - Click Configuration button, in the Wildcard application maps
   select the jrun_iis6_wildcard.dll and click edit. Make sure that Verify
   that file exists is ticked (if it is unticked it will not work)

 Custom Error Tab

 - Set 404 Message Type: to URL and URL to /index.cfm (or
 whatever
   page you wish to do the processing after the URL/Form variables have
 been
   reprocessed.)

 - I cannot remember exactly, but the 405 might also need to be set
 to
   that URL on IIS5.

    Start Code
   

   Application.cfc

   cfcomponent

 cffunction name=onRequestStart

   h3Data Dump before URL 404/h3

   cfinclude template=DataDump.cfm

   cfscript

 if (left(cgi.query_string,4) eq '404;') {

   // Step 1. Capture Query String into URL404
 variable

   URL404.Original = cgi.query_string;

   // Step 2. Clean 404 Error

   URL404.Complete =

 replace(URL404.Original,404;http://#cgi.server_name#:#cgi.server_port#/,;
   ,ALL);

   // Step 3. Capture for Actual Query Param

   if (FindNoCase(?,URL404.Complete)) {

 URL404.ActualQueryString =
   ListGetAt(URL404.Complete, 2, ?);

 URL404.Complete =
   ListDeleteAt(URL404.Complete, 2, ?);

   }

   if (FindNoCase(,URL404.Complete)) {

 URL404.ActualQueryString =
   ListGetAt(URL404.Complete, 2, );

 URL404.Complete =
   ListDeleteAt(URL404.Complete, 2, );

   }

   if (FindNoCase(;,URL404.Complete)) {

 URL404.sessionstring =
   ListGetAt(URL404.Complete, 2, ;);

 URL404.jsessionid =
   ListGetAt(URL404.sessionstring, 2, =);

 URL404.Complete =
   ListDeleteAt(URL404.Complete, 2, ;);

   }

   // Step 4. Capture Filename from Query String

   URL404.Include = ListGetAt(URL404.Complete,
   listlen(URL404.Complete,/) ,  /);

   // Step 5. Check that Filename exists, must
 contain
   a dot

   if (findnocase(.,  URL404.Include)) {

 URL404.VirtualQuerystring =
   ListDeleteAt(URL404.Complete,  listlen(URL404.Complete,/) ,  /);

   } else {

 URL404.Include = index.htm;

 URL404.VirtualQuerystring =
 URL404.Complete;

   }

   if(find(.,URL404.Include)) {

 URL404.Extension =
   listLast(URL404.Include,.);

   } else {

 URL404.Extension = ;

   }

   url[Extension] = URL404.Extension

[cfaussie] Re: Forms issue

2007-07-13 Thread Rony

Hey Daniel,

Many thanks for this tremendous post.

This is exactly what i needed to get me started in troubleshooting
this issue.

I will have a look at integrating into my system and see how it works.

I do have file upload forms which means i would also be looking at a
solution/assistance for this problem as well.

Thanks so much mates, this is great.

Cheers,

On Jul 13, 6:43 pm, Daniel Crowther [EMAIL PROTECTED]
wrote:
 Hi Rony

 We currently use the 404 Error redirect system from our systems. The code
 below working for URL and FORM Data, except when file upload is required (eg
 multipart/form-data forms, we have some code to do these, but it is not as
 straight forward as the normal form post data). I have created an exact of
 our system with just the IIS 404 system, This is how we set the system up.

 Using Coldfusion 7 with IIS 6 on Windows 2003 server.

 IIS Setup.

   Home Directory Tab

   - Click Configuration button, in the Wildcard application maps
 select the jrun_iis6_wildcard.dll and click edit. Make sure that Verify
 that file exists is ticked (if it is unticked it will not work)

   Custom Error Tab

   - Set 404 Message Type: to URL and URL to /index.cfm (or whatever
 page you wish to do the processing after the URL/Form variables have been
 reprocessed.)

   - I cannot remember exactly, but the 405 might also need to be set to
 that URL on IIS5.

  Start Code
 

 Application.cfc

 cfcomponent

   cffunction name=onRequestStart

 h3Data Dump before URL 404/h3

 cfinclude template=DataDump.cfm

 cfscript

   if (left(cgi.query_string,4) eq '404;') {

 // Step 1. Capture Query String into URL404 variable

 URL404.Original = cgi.query_string;

 // Step 2. Clean 404 Error

 URL404.Complete =
 replace(URL404.Original,404;http://#cgi.server_name#:#cgi.server_port#/,;
 ,ALL);

 // Step 3. Capture for Actual Query Param

 if (FindNoCase(?,URL404.Complete)) {

   URL404.ActualQueryString =
 ListGetAt(URL404.Complete, 2, ?);

   URL404.Complete =
 ListDeleteAt(URL404.Complete, 2, ?);

 }

 if (FindNoCase(,URL404.Complete)) {

   URL404.ActualQueryString =
 ListGetAt(URL404.Complete, 2, );

   URL404.Complete =
 ListDeleteAt(URL404.Complete, 2, );

 }

 if (FindNoCase(;,URL404.Complete)) {

   URL404.sessionstring =
 ListGetAt(URL404.Complete, 2, ;);

   URL404.jsessionid =
 ListGetAt(URL404.sessionstring, 2, =);

   URL404.Complete =
 ListDeleteAt(URL404.Complete, 2, ;);

 }

 // Step 4. Capture Filename from Query String

 URL404.Include = ListGetAt(URL404.Complete,
 listlen(URL404.Complete,/) ,  /);

 // Step 5. Check that Filename exists, must contain
 a dot

 if (findnocase(.,  URL404.Include)) {

   URL404.VirtualQuerystring =
 ListDeleteAt(URL404.Complete,  listlen(URL404.Complete,/) ,  /);

 } else {

   URL404.Include = index.htm;

   URL404.VirtualQuerystring = URL404.Complete;

 }

 if(find(.,URL404.Include)) {

   URL404.Extension =
 listLast(URL404.Include,.);

 } else {

   URL404.Extension = ;

 }

 url[Extension] = URL404.Extension;

 // Step 6. Split Virtual Query String Back into URL
 Variables.

 ActionList = ;

 for(QCounter=1; QCounter LTE
 ListLen(URL404.VirtualQuerystring,/); QCounter=QCounter+1) {

   QItem =
 ListGetAt(URL404.VirtualQuerystring,QCounter,/);

   if (FindNoCase(:,QItem)) {

 //For 
 Examplehttp://www.somedomain.com/var_a:1/var_b:2/index.htmwill result in 
 url.var_a
 = 1 and url.var_b=2

 url[ListGetAt(QItem, 1, :)] =
 #ListGetAt(QItem, 2, :)#;

   } else {

 // If variable is not a list pair
 seperated by colons, then add to comma seperated list.

 ActionList =
 listappend(ActionList,QItem);

   }

 }

 url[UrlActionList

[cfaussie] Re: Forms issue

2007-07-12 Thread Rony

The page includes the index.cfm which will do the work of find the
page id and displaying its content...


On Jul 12, 4:27 pm, Steve Onnis [EMAIL PROTECTED] wrote:
 What are you using to pull the 404 page?  Just an include for a context
 forward?

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Thursday, 12 July 2007 4:14 PM
 To: cfaussie
 Subject: [cfaussie] Forms issue

 Hi All,

 The site i am currently updating uses URL format as follow:  /category/
 category_children. (just as an example)

 The way i did this was to ensure my web server error 404 scipt pointed to
 the index.cfm, in which i would get the correct page id and display the
 content.

 However, i have an obvious issue where by all FORM values do not exist any
 more (for some reason). I am assuming because i get a 404 i lose the form
 values.

 All my forms post to the script that they are in.

 I don't want to the GET method but rather the POST.

 Any ideas how to overcome this problem?

 Cheers,


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Forms issue

2007-07-12 Thread Rony

I have updated by the websever (apache when testing and IIS for
production) to point to the index.cfm file when a 404 occurs.

Any ideas?

On Jul 12, 10:45 pm, Steve Onnis [EMAIL PROTECTED] wrote:
 Right

 So how is the $)$ being included or called?  Is it set up in IIS or
 something?

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Thursday, 12 July 2007 10:11 PM
 To: cfaussie
 Subject: [cfaussie] Re: Forms issue

 The page includes the index.cfm which will do the work of find the page id
 and displaying its content...

 On Jul 12, 4:27 pm, Steve Onnis [EMAIL PROTECTED] wrote:
  What are you using to pull the 404 page?  Just an include for a
  context forward?

  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf

  Of Rony
  Sent: Thursday, 12 July 2007 4:14 PM
  To: cfaussie
  Subject: [cfaussie] Forms issue

  Hi All,

  The site i am currently updating uses URL format as follow:
  /category/ category_children. (just as an example)

  The way i did this was to ensure my web server error 404 scipt pointed
  to the index.cfm, in which i would get the correct page id and display
  the content.

  However, i have an obvious issue where by all FORM values do not exist
  any more (for some reason). I am assuming because i get a 404 i lose
  the form values.

  All my forms post to the script that they are in.

  I don't want to the GET method but rather the POST.

  Any ideas how to overcome this problem?

  Cheers,


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Forms issue

2007-07-12 Thread Rony

Hi Brett,

It works perfectly for me on CF7.

Just the form issues.

If the form issues was something you meant that didn't work on CF 7
then my solution is becoming an issue.

If however, the whole concept for displaying non existing URLs in CF7,
that works fine.

I am just stuck on this form issues; I use GET for some of the form
and they work fine; but this is not a desired solution.


On Jul 13, 10:34 am, Brett Payne-Rhodes [EMAIL PROTECTED] wrote:
 Hi Rony,

 Just to clarify...

 You have a url likehttp://www.mysite.com/category/category_children... yes?

 But it doesn't actually exist in terms of directories on the webserver?

 Your webserver is set up to use index.cfm when it encounters a 404 and 
 index.cfm tries to extract the category/category_children information from 
 the CGI variables?

 If that is the case then I can tell you that this scheme got broken when CF7 
 was released. I was using that exact method (and still am on a CF6 server) 
 but when I installed the system on a CF7 server it all stopped working - and 
 I was never able to find a solution. So if you find one please let me know. 
 One of the problems is that when you cfdump the CGI scope you don't 
 necessarily see everything in there so what used to be found in 
 cgi.request_uri or cgi.path_info may now be somewhere else.

 Cheers,

 Brett
 B)

 Rony wrote:
  I have updated by the websever (apache when testing and IIS for
  production) to point to the index.cfm file when a 404 occurs.

  Any ideas?

  On Jul 12, 10:45 pm, Steve Onnis [EMAIL PROTECTED] wrote:
  Right

  So how is the $)$ being included or called?  Is it set up in IIS or
  something?

  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

  Of Rony
  Sent: Thursday, 12 July 2007 10:11 PM
  To: cfaussie
  Subject: [cfaussie] Re: Forms issue

  The page includes the index.cfm which will do the work of find the page id
  and displaying its content...

  On Jul 12, 4:27 pm, Steve Onnis [EMAIL PROTECTED] wrote:
  What are you using to pull the 404 page?  Just an include for a
  context forward?
  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf
  Of Rony
  Sent: Thursday, 12 July 2007 4:14 PM
  To: cfaussie
  Subject: [cfaussie] Forms issue
  Hi All,
  The site i am currently updating uses URL format as follow:
  /category/ category_children. (just as an example)
  The way i did this was to ensure my web server error 404 scipt pointed
  to the index.cfm, in which i would get the correct page id and display
  the content.
  However, i have an obvious issue where by all FORM values do not exist
  any more (for some reason). I am assuming because i get a 404 i lose
  the form values.
  All my forms post to the script that they are in.
  I don't want to the GET method but rather the POST.
  Any ideas how to overcome this problem?
  Cheers,


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Forms issue

2007-07-12 Thread Rony

For apache i send the CGI.redirect_query_string value to a function
which then digests it and returns the URL query string (aka anything
after ? and sets the request.url to this return structure). The
actual url link is contained in CGI.redirect_url.

IIS, i use the CGI.query_string value and send it to the same function
as above.

If you need to code for anything please let me know mate..

On Jul 13, 10:58 am, Brett Payne-Rhodes [EMAIL PROTECTED] wrote:
 Hi Rony,

 Great! Can you tell me where you are getting url info from though?

 Sorry I can't help with the form problem...

 Cheers,

 Brett
 B)

 Rony wrote:
  Hi Brett,

  It works perfectly for me on CF7.

  Just the form issues.

  If the form issues was something you meant that didn't work on CF 7
  then my solution is becoming an issue.

  If however, the whole concept for displaying non existing URLs in CF7,
  that works fine.

  I am just stuck on this form issues; I use GET for some of the form
  and they work fine; but this is not a desired solution.

  On Jul 13, 10:34 am, Brett Payne-Rhodes [EMAIL PROTECTED] wrote:
  Hi Rony,

  Just to clarify...

  You have a url likehttp://www.mysite.com/category/category_children... yes?

  But it doesn't actually exist in terms of directories on the webserver?

  Your webserver is set up to use index.cfm when it encounters a 404 and 
  index.cfm tries to extract the category/category_children information 
  from the CGI variables?

  If that is the case then I can tell you that this scheme got broken when 
  CF7 was released. I was using that exact method (and still am on a CF6 
  server) but when I installed the system on a CF7 server it all stopped 
  working - and I was never able to find a solution. So if you find one 
  please let me know. One of the problems is that when you cfdump the CGI 
  scope you don't necessarily see everything in there so what used to be 
  found in cgi.request_uri or cgi.path_info may now be somewhere else.

  Cheers,

  Brett
  B)

  Rony wrote:
  I have updated by the websever (apache when testing and IIS for
  production) to point to the index.cfm file when a 404 occurs.
  Any ideas?
  On Jul 12, 10:45 pm, Steve Onnis [EMAIL PROTECTED] wrote:
  Right
  So how is the $)$ being included or called?  Is it set up in IIS or
  something?
  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
  Of Rony
  Sent: Thursday, 12 July 2007 10:11 PM
  To: cfaussie
  Subject: [cfaussie] Re: Forms issue
  The page includes the index.cfm which will do the work of find the page 
  id
  and displaying its content...
  On Jul 12, 4:27 pm, Steve Onnis [EMAIL PROTECTED] wrote:
  What are you using to pull the 404 page?  Just an include for a
  context forward?
  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf
  Of Rony
  Sent: Thursday, 12 July 2007 4:14 PM
  To: cfaussie
  Subject: [cfaussie] Forms issue
  Hi All,
  The site i am currently updating uses URL format as follow:
  /category/ category_children. (just as an example)
  The way i did this was to ensure my web server error 404 scipt pointed
  to the index.cfm, in which i would get the correct page id and display
  the content.
  However, i have an obvious issue where by all FORM values do not exist
  any more (for some reason). I am assuming because i get a 404 i lose
  the form values.
  All my forms post to the script that they are in.
  I don't want to the GET method but rather the POST.
  Any ideas how to overcome this problem?
  Cheers,


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Forms issue

2007-07-12 Thread Rony

Hey Steve,

Can you explain whether your method would have any negative effects on
SEO?

The idea behind this is because i was redirecting with a 301 to tell
google bots to index the new link for the page. By that i mean all
index.cfm?pageid=8989 would now be indexed as /category/children_name
and that way its good for SEO.

Do you know if this affects SEO? Also, can you please send me a link
for what you have done, maybe a good link that indicates ways of doing
this correctly.

Thanks so much for your help

Regards,
Rony

On Jul 13, 1:05 pm, Steve Onnis [EMAIL PROTECTED] wrote:
 If your doing it in IIS throught he error documents then it wont work.  I'm
 pretty sure all it does is includes the file file but it doesn't processess
 anything.  In any case if you are doing any sort of redirect you will loose
 your form variables because of the nature of doing a redirect.

 The only way I have worked out to do this is instead of doing a redirect you
 need to do a getPageContext().forward([url]); but for that to work I have
 implemented a missing template handeling process to deal with 404s and grab
 the correct content.  Thing is though you still loose your form structure,
 so I set a request.FORM variable like request.FORM = duplicate(FORM) because
 the request scope is still available to the end page.  From here I just loop
 over that request.FORM structure and repopulate  my form scope and continue.

 That help?

 Steve

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Friday, 13 July 2007 11:59 AM
 To: cfaussie
 Subject: [cfaussie] Re: Forms issue

 For apache i send the CGI.redirect_query_string value to a function which
 then digests it and returns the URL query string (aka anything after ? and
 sets the request.url to this return structure). The actual url link is
 contained in CGI.redirect_url.

 IIS, i use the CGI.query_string value and send it to the same function as
 above.

 If you need to code for anything please let me know mate..

 On Jul 13, 10:58 am, Brett Payne-Rhodes [EMAIL PROTECTED] wrote:
  Hi Rony,

  Great! Can you tell me where you are getting url info from though?

  Sorry I can't help with the form problem...

  Cheers,

  Brett
  B)

  Rony wrote:
   Hi Brett,

   It works perfectly for me on CF7.

   Just the form issues.

   If the form issues was something you meant that didn't work on CF 7
   then my solution is becoming an issue.

   If however, the whole concept for displaying non existing URLs in
   CF7, that works fine.

   I am just stuck on this form issues; I use GET for some of the form
   and they work fine; but this is not a desired solution.

   On Jul 13, 10:34 am, Brett Payne-Rhodes [EMAIL PROTECTED] wrote:
   Hi Rony,

   Just to clarify...

   You have a url likehttp://www.mysite.com/category/category_children...
 yes?

   But it doesn't actually exist in terms of directories on the webserver?

   Your webserver is set up to use index.cfm when it encounters a 404 and
 index.cfm tries to extract the category/category_children information from
 the CGI variables?

   If that is the case then I can tell you that this scheme got broken
 when CF7 was released. I was using that exact method (and still am on a CF6
 server) but when I installed the system on a CF7 server it all stopped
 working - and I was never able to find a solution. So if you find one please
 let me know. One of the problems is that when you cfdump the CGI scope you
 don't necessarily see everything in there so what used to be found in
 cgi.request_uri or cgi.path_info may now be somewhere else.

   Cheers,

   Brett
   B)

   Rony wrote:
   I have updated by the websever (apache when testing and IIS for
   production) to point to the index.cfm file when a 404 occurs.
   Any ideas?
   On Jul 12, 10:45 pm, Steve Onnis [EMAIL PROTECTED] wrote:
   Right
   So how is the $)$ being included or called?  Is it set up in IIS
   or something?
   -Original Message-
   From: cfaussie@googlegroups.com
   [mailto:[EMAIL PROTECTED] On Behalf Of Rony
   Sent: Thursday, 12 July 2007 10:11 PM
   To: cfaussie
   Subject: [cfaussie] Re: Forms issue The page includes the
   index.cfm which will do the work of find the page id and
   displaying its content...
   On Jul 12, 4:27 pm, Steve Onnis [EMAIL PROTECTED] wrote:
   What are you using to pull the 404 page?  Just an include for a
   context forward?
   -Original Message-
   From: cfaussie@googlegroups.com
   [mailto:[EMAIL PROTECTED] On Behalf Of Rony
   Sent: Thursday, 12 July 2007 4:14 PM
   To: cfaussie
   Subject: [cfaussie] Forms issue
   Hi All,
   The site i am currently updating uses URL format as follow:
   /category/ category_children. (just as an example) The way i did
   this was to ensure my web server error 404 scipt pointed to the
   index.cfm, in which i would get the correct page id and display
   the content.
   However, i have an obvious issue where by all FORM values

[cfaussie] Re: Application.cfc and application.cfm

2007-06-04 Thread Rony

I have been using application.cfc for our new site, but the problem
is, trying to merge old code into the new one is proving somewhat
difficult to to the extensive use of application.cfm in certain
folders.

Now these sub folder previously including the application.cfm ( the
main one ) and had a application.cfm under its root.

However, I am converting merging this code into the new site which
uses application.cfc

On Jun 4, 4:00 pm, Peter Tilbrook [EMAIL PROTECTED] wrote:
 No I do not think so. You either use one or the other. Of course you
 could use Application.cfm in subfolders of your site but I wouldn't
 recommend it.

 On 04/06/07, Andrew Scott [EMAIL PROTECTED] wrote:

  why would you want too?

  On 6/4/07, Rony [EMAIL PROTECTED] wrote:

   Is there a way to include an application.cfc into an application.cfm?

  www.aegeon.com.au
   Phone: +613  8676 4223
   Mobile: 0404 998 273

 --
 Peter Tilbrook
 ColdGen Internet Solutions
 President, ACT and Region ColdFusion Users Group
 PO Box 2247
 Queanbeyan, NSW, 2620
 AUSTRALIA

 http://www.coldgen.com/http://www.actcfug.com/

 Tel: +61-2-6284-2727
 Mob: +61-0432-897-437

 Email: [EMAIL PROTECTED]
 MSN Messenger Live: Desktop General


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CFAussie Community Head Count

2007-06-03 Thread Rony

ping

On Jun 1, 1:02 pm, Ryan Sabir [EMAIL PROTECTED] wrote:
 pong

  -Original Message-
  From: cfaussie@googlegroups.com
  [mailto:[EMAIL PROTECTED] On Behalf Of Haikal Saadh
  Sent: Friday, 1 June 2007 1:00 PM
  To: cfaussie@googlegroups.com
  Subject: [cfaussie] Re: CFAussie Community Head Count

  ping
  Matt Voerman wrote:
   Hi Guys,
   Just a quick note to let you guys know that we at the Adobe
  Australia
   office haven't forgotten about you, and do monitor this (and several
   other) lists on a regular basis.

   We have a couple of Community related irons in the fire and will
   communicate more on them as they solidify.

   What would be of great help to us in the meantime would be
  a hands up
   (head count) on how many Aussie CF'ers are reading this list on a
   regular basis. If you could just ping a response to to this thread
   that would be grouse.

   Thanks in advance

   Matt Voerman

   Senior Consultant
   Adobe Systems Pacific


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Application.cfc and application.cfm

2007-06-03 Thread Rony

Is there a way to include an application.cfc into an application.cfm?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF Argument issues

2007-05-27 Thread Rony

Thanks guys once again,

You have been a great help.

I have got a better idea of how to go about what i required.

The backbone of the question was simply having dynamic types in a cf
argument, and this was answered early in the post, so all is good.

Thanks...

On May 27, 10:09 am, Simon Haddon [EMAIL PROTECTED] wrote:
 Hi Taco,

 We have found that by putting all our cfc code into a proper directory
 hierchy that we can dispense with the problems that Rony was asking about.
 We use a variable name to create the component mapping at the start o the
 application and we quiet happily have different instances of the same
 application running under the same CF server.  Works quiet well.

 Cheers,
 Simon

 On 27/05/07, Taco Fleur [EMAIL PROTECTED] wrote:





  Same as Simon, a little late in discussion, did not follow whole
  discussion, so sorry if this has been mentioned before.

  The only way around this is to work with different instances of
  ColdFusion.

  We used to use testing.appname.class, but with four different instances
  there is no need to define testing, development or live anymore.

  And we put a class in the root of the object folder with a method called
  new, we copy this method to the request scope, so we can do request.new( 
  any.path.from.the.root ).init()

  What really is the reason for doing this?
  --
  *** { . } { . } 
 http://www.clickfind.com.au
  The new Australian search engine for businesses, products and services

 --
 Cheers
 Simon Haddon


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF Argument issues

2007-05-25 Thread Rony

Hi Dale,

The reason why i have this is because the mapping name is the same
name as the application name and a fellow developer would like to be
able to change the application name and create a new mapping with the
app name, so i cannot hard code the app name when calling a
component.

hope this makes sense,


On May 25, 3:58 pm, Dale Fraser [EMAIL PROTECTED] wrote:
 Not that I know of,

 Why you would have an application name in your package i'm not sure.

 You would normally organize your classes as

 com.company.module.submodule.Class

 You can probably do a switch,

 cfswitch expression=# APPLICATION.APPNAME#
 cfcase value=fred
 cfargument name=test type=fredcore.packages.types.test
 required=true
 /cfcase
 cfcase value=barney
 cfargument name=test
 type=barneycore.packages.types.test required=true
 /cfcase
 /cfswitch

 But this is going to get ugly quickly. Perhaps if you explain why the
 application name is part of the package structure I can offer more
 assistance.

 Regards
 Dale Fraser

 http://dalefraser.blogspot.com

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

 Of Rony
 Sent: Friday, 25 May 2007 3:49 PM
 To: cfaussie
 Subject: [cfaussie] CF Argument issues

 Hi all,

 I am trying to pass a user defined object into another function:

 I have the following:

 cfargument name=test
 type=#APPLICATION.APPNAME#core.packages.types.test required=true

 But doing this  I get the following error :

   This expression must have a constant value. 

 Is there a way around this?

 Thanks,


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF Argument issues

2007-05-25 Thread Rony

I dont know why i'd use the request scope.

The issue is not having to use static variable names in the cf
argument type.

Thanks,


On May 25, 6:13 pm, Peter Tilbrook [EMAIL PROTECTED] wrote:
 Just use Request scope. From Application.cfm down to OnRequestEnd.cfm bingo,
 love in the world and all that!

 On 25/05/07, Rony [EMAIL PROTECTED] wrote:





  Hey Andrew,

  Yes it does - IN MY APPLICATION.

  Our site has been designed so that the SAME name is used for the app
  name, app folder, and the cf mapping.

  So if the app name is cfaussie then the mapping would be called
  cfaussie and so would the folder that stores all the files.

  But my question was if the MAIN name changes to cfaussie_local this
  would change the appname, cf mapping and the actual folder name.

  This is why i use the app name in the type.Obs this doesn't work.

  Sorry for any confusion.

  I was hoping for other way to do this...

  Thanks for your assistance,

  Much appreciated.

  On May 25, 4:34 pm, Andrew Scott [EMAIL PROTECTED] wrote:
   No it doesn't...

   Tell you why, the applicationname is relevant to the application being
  run.
   Which means that if you  want to make this global to other applications
  you
   can't do that. Well you can, but CF won't allow it, so mappings are the
  only
   way to go or the root of the application.

   If it is in the root of the application then you do not need anything
  other
   than com.mystuff.package.component.

   But doing that will make maintenance a nightmare if you use it in more
  than
   application. So the best thing is to take it outside of the application
  and
   create a mapping to it.

   Andrew Scott
   Senior Coldfusion Developer
   Aegeon Pty. Ltd.www.aegeon.com.au
   Phone: +613  8676 4223
   Mobile: 0404 998 273

   -Original Message-
   From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
  Behalf

   Of Rony
   Sent: Friday, 25 May 2007 4:30 PM
   To: cfaussie
   Subject: [cfaussie] Re: CF Argument issues

   Hi Dale,

   The reason why i have this is because the mapping name is the same
   name as the application name and a fellow developer would like to be
   able to change the application name and create a new mapping with the
   app name, so i cannot hard code the app name when calling a
   component.

   hope this makes sense,

 --
 Peter Tilbrook
 ColdGen Internet Solutions
 President, ACT and Region ColdFusion Users Group
 PO Box 2247
 Queanbeyan, NSW, 2620
 AUSTRALIA

 http://www.coldgen.com/http://www.actcfug.com/

 Tel: +61-2-6284-2727
 Mob: +61-0432-897-437

 Email: [EMAIL PROTECTED]
 MSN Messenger Live: Desktop General


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF Argument issues

2007-05-25 Thread Rony

Thanks Andrew. Much appreciated.

Dale, sorry to confuse you but i tried my best to explain it, and
Andrew seemed to some how understand it :-)

Without need to go overboard and explain the fine details, i just
simply wanted to know how to avoid static variables the cf argument
type and Andrew has explained that this is impossible ; which i had a
feeling was the case.

Thanks to all for your assistance anyways,

On May 25, 6:27 pm, Dale Fraser [EMAIL PROTECTED] wrote:
 Actually,

 I still don't get it.

 We have one application here, aprox 30 instances of the application, each
 gets it's own name, datasource and directory but we haven't had to do what
 your doing, so i'm missing something, or you are.

 Regards

 Dale Fraser

  http://dalefraser.blogspot.comhttp://dalefraser.blogspot.com

 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Peter Tilbrook
 Sent: Friday, 25 May 2007 6:14 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: CF Argument issues

 Just use Request scope. From Application.cfm down to OnRequestEnd.cfm bingo,
 love in the world and all that!

 On 25/05/07, Rony  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 wrote:

 Hey Andrew,

 Yes it does - IN MY APPLICATION.

 Our site has been designed so that the SAME name is used for the app
 name, app folder, and the cf mapping.

 So if the app name is cfaussie then the mapping would be called
 cfaussie and so would the folder that stores all the files.

 But my question was if the MAIN name changes to cfaussie_local this
 would change the appname, cf mapping and the actual folder name.

 This is why i use the app name in the type.Obs this doesn't work.

 Sorry for any confusion.

 I was hoping for other way to do this...

 Thanks for your assistance,

 Much appreciated.

 On May 25, 4:34 pm, Andrew Scott  mailto:[EMAIL PROTECTED]



 [EMAIL PROTECTED] wrote:
  No it doesn't...

  Tell you why, the applicationname is relevant to the application being
 run.
  Which means that if you  want to make this global to other applications
 you
  can't do that. Well you can, but CF won't allow it, so mappings are the
 only
  way to go or the root of the application.

  If it is in the root of the application then you do not need anything
 other
  than com.mystuff.package.component.

  But doing that will make maintenance a nightmare if you use it in more
 than
  application. So the best thing is to take it outside of the application
 and
  create a mapping to it.

  Andrew Scott
  Senior Coldfusion Developer
  Aegeon Pty. Ltd.www.aegeon.com.au
  Phone: +613  8676 4223
  Mobile: 0404 998 273

  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf

  Of Rony
  Sent: Friday, 25 May 2007 4:30 PM
  To: cfaussie
  Subject: [cfaussie] Re: CF Argument issues

  Hi Dale,

  The reason why i have this is because the mapping name is the same
  name as the application name and a fellow developer would like to be
  able to change the application name and create a new mapping with the
  app name, so i cannot hard code the app name when calling a
  component.

  hope this makes sense,

 --
 Peter Tilbrook
 ColdGen Internet Solutions
 President, ACT and Region ColdFusion Users Group
 PO Box 2247
 Queanbeyan, NSW, 2620
 AUSTRALIA

 http://www.coldgen.com/http://www.actcfug.com/

 Tel: +61-2-6284-2727
 Mob: +61-0432-897-437

 Email: [EMAIL PROTECTED]
 MSN Messenger Live: Desktop General


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] CF Argument issues

2007-05-24 Thread Rony

Hi all,

I am trying to pass a user defined object into another function:

I have the following:

cfargument name=test
type=#APPLICATION.APPNAME#core.packages.types.test required=true

But doing this  I get the following error :

  This expression must have a constant value. 

Is there a way around this?

Thanks,


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---