Re: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Blair McKenzie
Yeah, I do that for line breaks. Either way, you get rid of the
eye-crossing stream of #.

Blair

On Mon, Mar 2, 2015 at 11:10 AM, Barry Beattie 
wrote:

> personally, I'd much prefer setting the # as a variable from the chr(x)
> function over replacing one string with another. Easily missed and there
> are ~ popping up unexpectedly...
>
> my 2c
>
> (from memory, YMMV)
>
>  /** # as delim **/
>  "1212">
>
>
>
>
>
> On Mon, Mar 2, 2015 at 9:53 AM, Blair McKenzie  wrote:
>
>> Another alternative - create the output with a substitute delimiter, like
>> ~, and then use replace to change them to hashes.
>>
>> Blair
>>
>>
>> On Mon, Mar 2, 2015 at 10:41 AM, Dale Fraser  wrote:
>>
>>> I would break it apart
>>>
>>>
>>>
>>> >> <http://url.id#%23%231212%23%23>”>
>>>
>>>
>>>
>>> To
>>>
>>>
>>>
>>> 
>>>
>>>
>>>
>>> Regards
>>>
>>> Dale Fraser
>>>
>>>
>>>
>>> *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On
>>> Behalf Of *Jack Traynor
>>> *Sent:* Monday, 2 March 2015 8:54 AM
>>> *To:* cfaussie@googlegroups.com
>>> *Subject:* Re: [cfaussie] Creating A String With ## values in coldfusion
>>>
>>>
>>>
>>> I copy + pasted the code from your email into a CF10 test page and added
>>> /?id=100 to the URL and it worked as you expected it to.
>>>
>>>
>>>
>>> Do you have an example of an ID?
>>>
>>>
>>>
>>> What error are you getting?
>>>
>>>
>>>
>>> Regards,
>>>
>>> Jack
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Mar 2, 2015 at 2:22 AM, M@ Bourke <
>>> m.electronic.at.sym...@gmail.com> wrote:
>>>
>>> how about something like
>>>
>>> >> <http://url.id/#%23%231212%23%23>”>
>>>
>>>
>>>
>>> On Sun, Mar 1, 2015 at 3:16 PM,  wrote:
>>>
>>> Hi
>>>
>>>
>>>
>>> This has been causing me grief so some assistance would be appreciated
>>>
>>>
>>>
>>> I need to be able to create a ColdFusion variable that contains the
>>> following text “#reboot#45454#1212#”
>>>
>>>
>>>
>>> The values of “#reboot#” and “#1212#” are constant however the value of
>>> 45454 is dynamically generated from the url parameter passed to the page
>>>
>>>
>>>
>>> So the actual CF code should look something like: >> mycommand=”##reboot###url.id###1212## <http://url.id#%23%231212%23%23>”>
>>> So that the ## output a single #
>>>
>>>
>>>
>>> No matter what I try I cannot get it to work, even tried using a
>>> evaluate(url.id) but that gave no joy either
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> NB: TrackingCentral is now a registered product & services provider for
>>> the National Disability Insurance Scheme, under the category of Assisted
>>> Technology
>>>
>>>
>>>
>>> Regards
>>>
>>>
>>>
>>> Claude Raiola
>>> Director
>>> TrackingCentral Pty. Ltd
>>>
>>> Free Call 1300 255 990
>>>
>>>
>>>
>>> [image: TrackingCentral_Logo]
>>>
>>>
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "cfaussie" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to cfaussie+unsubscr...@googlegroups.com.
>>> To post to this group, send email to cfaussie@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/cfaussie.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "cfaussie" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to cfaussie+unsubscr...@googlegroups.com.
>>> To post to this group, send email to cfaussie@googlegroups.com.
>>> Visit this group at http://groups.google.

Re: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Blair McKenzie
Another alternative - create the output with a substitute delimiter, like
~, and then use replace to change them to hashes.

Blair

On Mon, Mar 2, 2015 at 10:41 AM, Dale Fraser  wrote:

> I would break it apart
>
>
>
>  ”>
>
>
>
> To
>
>
>
> 
>
>
>
> Regards
>
> Dale Fraser
>
>
>
> *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On
> Behalf Of *Jack Traynor
> *Sent:* Monday, 2 March 2015 8:54 AM
> *To:* cfaussie@googlegroups.com
> *Subject:* Re: [cfaussie] Creating A String With ## values in coldfusion
>
>
>
> I copy + pasted the code from your email into a CF10 test page and added
> /?id=100 to the URL and it worked as you expected it to.
>
>
>
> Do you have an example of an ID?
>
>
>
> What error are you getting?
>
>
>
> Regards,
>
> Jack
>
>
>
>
>
> On Mon, Mar 2, 2015 at 2:22 AM, M@ Bourke <
> m.electronic.at.sym...@gmail.com> wrote:
>
> how about something like
>
>  ”>
>
>
>
> On Sun, Mar 1, 2015 at 3:16 PM,  wrote:
>
> Hi
>
>
>
> This has been causing me grief so some assistance would be appreciated
>
>
>
> I need to be able to create a ColdFusion variable that contains the
> following text “#reboot#45454#1212#”
>
>
>
> The values of “#reboot#” and “#1212#” are constant however the value of
> 45454 is dynamically generated from the url parameter passed to the page
>
>
>
> So the actual CF code should look something like:  mycommand=”##reboot###url.id###1212## ”>
> So that the ## output a single #
>
>
>
> No matter what I try I cannot get it to work, even tried using a evaluate(
> url.id) but that gave no joy either
>
>
>
>
>
>
>
>
>
>
>
> NB: TrackingCentral is now a registered product & services provider for
> the National Disability Insurance Scheme, under the category of Assisted
> Technology
>
>
>
> Regards
>
>
>
> Claude Raiola
> Director
> TrackingCentral Pty. Ltd
>
> Free Call 1300 255 990
>
>
>
> [image: TrackingCentral_Logo]
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cfaussie+unsubscr...@googlegroups.com.
> To post to this group, send email to cfaussie@googlegroups.com.
> Visit this group at http://groups.google.com/group/cfaussie.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cfaussie+unsubscr...@googlegroups.com.
> To post to this group, send email to cfaussie@googlegroups.com.
> Visit this group at http://groups.google.com/group/cfaussie.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cfaussie+unsubscr...@googlegroups.com.
> To post to this group, send email to cfaussie@googlegroups.com.
> Visit this group at http://groups.google.com/group/cfaussie.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cfaussie+unsubscr...@googlegroups.com.
> To post to this group, send email to cfaussie@googlegroups.com.
> Visit this group at http://groups.google.com/group/cfaussie.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


Re: [cfaussie] Access XML Element

2013-11-24 Thread Blair McKenzie
My attempt didn't include /response, but I'd hoped it would work. That
pretty much exhausts my knowledge of XPath, so I'll have to bow out now.
Good luck.

Blair


On Mon, Nov 25, 2013 at 3:25 PM, Dale Fraser  wrote:

> That’s what I figured but couldn’t get it to work.
>
>
>
> That example doesn’t work either
>
>
>
> *xmlSearch*(*xml*, "/response/result/recorddetail/FL[@val='id']");
>
>
>
> Returns nothing.
>
>
>
> *xml.response.result.recorddetail.FL*[1].xmltext;
>
>
>
> This works, but assumes that row 1 is the id which is dangerous.
>
>
>
> Regards
>
> Dale Fraser
>
>
>
> *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On
> Behalf Of *Blair McKenzie
> *Sent:* Monday, 25 November 2013 2:17 PM
> *To:* Unname
> *Subject:* Re: [cfaussie] Access XML Element
>
>
>
> You need XPath. Something like this should return the node you want, then
> you can access the text as you normally would:
>
> XmlSearch(myxmldoc, "/result/recorddetail/FL[@val='id']")
>
>
>
> http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-78cc.html
> http://www.w3schools.com/xpath/xpath_syntax.asp
>
> Blair
>
>
>
> On Mon, Nov 25, 2013 at 1:36 PM, Dale Fraser  wrote:
>
> I have XML that looks like below
>
>
>
> I’d like to know the best way of retrieving the XmlText for the FL element
> where the XmlAttributes/val is Id
>
>
>
> Thus returing the 1025399066081 number.
>
>
>
> I can do this by looping over the record detail, but figured there was a
> better way.
>
>
>
>
>
> Regards
>
> Dale Fraser
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cfaussie+unsubscr...@googlegroups.com.
> To post to this group, send email to cfaussie@googlegroups.com.
> Visit this group at http://groups.google.com/group/cfaussie.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cfaussie+unsubscr...@googlegroups.com.
> To post to this group, send email to cfaussie@googlegroups.com.
> Visit this group at http://groups.google.com/group/cfaussie.
> For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cfaussie+unsubscr...@googlegroups.com.
> To post to this group, send email to cfaussie@googlegroups.com.
> Visit this group at http://groups.google.com/group/cfaussie.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.
<>

Re: [cfaussie] Access XML Element

2013-11-24 Thread Blair McKenzie
You need XPath. Something like this should return the node you want, then
you can access the text as you normally would:

XmlSearch(myxmldoc, "/result/recorddetail/FL[@val='id']")


http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-78cc.html
http://www.w3schools.com/xpath/xpath_syntax.asp

Blair


On Mon, Nov 25, 2013 at 1:36 PM, Dale Fraser  wrote:

> I have XML that looks like below
>
>
>
> I’d like to know the best way of retrieving the XmlText for the FL element
> where the XmlAttributes/val is Id
>
>
>
> Thus returing the 1025399066081 number.
>
>
>
> I can do this by looping over the record detail, but figured there was a
> better way.
>
>
>
>
>
> Regards
>
> Dale Fraser
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cfaussie+unsubscr...@googlegroups.com.
> To post to this group, send email to cfaussie@googlegroups.com.
> Visit this group at http://groups.google.com/group/cfaussie.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.
<>

Re: [cfaussie] cfimage processing slow

2012-08-08 Thread Blair McKenzie
Yes. ImageMagick is like the gold standard of image processing tools.

On Thu, Aug 9, 2012 at 9:55 AM, Steve Onnis  wrote:

> does that handle cmyk images?
>
> ** **
>
> *From:* Blair McKenzie [mailto:shi...@gmail.com]
> *Sent:* Thursday, 9 August 2012 9:54 AM
>
> *To:* cfaussie@googlegroups.com
> *Subject:* Re: [cfaussie] cfimage processing slow
>
> ** **
>
> Does the job need to be done with ColdFusion? Even if this is an ongoing
> task, at the scale you're talking about I have to agree with Josh -
> ImageMagick would be better. Throwing to ImageMagick with CFEXECUTE
> separately for each image might be faster than CFIMAGE. It would definitely
> be faster for batch resizes.
>
> Blair
>
> On Thu, Aug 9, 2012 at 9:45 AM, Steve Onnis 
> wrote:
>
> the actual operation is being done as fast as i would expect as some of the
> files are a few Mb in size. the issue is that they seem to be getting done
> one at a time
>
>
> -Original Message-
> From: Zac Spitzer [mailto:zac.spit...@gmail.com]
> Sent: Wednesday, 8 August 2012 4:30 PM
> To: cfaussie@googlegroups.com
> Subject: Re: [cfaussie] cfimage processing slow
>
> if it's slow, they are probably RGBA images
>
> this might help
>
>
> http://zacster.blogspot.com.au/2011/05/coldfusion-slow-imageresize-problem.h
> tml<http://zacster.blogspot.com.au/2011/05/coldfusion-slow-imageresize-problem.h%0Atml>
>
> z
>
> On Wed, Aug 8, 2012 at 3:29 PM, Steve Onnis 
> wrote:
> > currently cf9
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "cfaussie" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/cfaussie/-/eGz7OD5Ayg8J.
> >
> > To post to this group, send email to cfaussie@googlegroups.com.
> > To unsubscribe from this group, send email to
> > cfaussie+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/cfaussie?hl=en.
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> ** **
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] cfimage processing slow

2012-08-08 Thread Blair McKenzie
Does the job need to be done with ColdFusion? Even if this is an ongoing
task, at the scale you're talking about I have to agree with Josh -
ImageMagick would be better. Throwing to ImageMagick with CFEXECUTE
separately for each image might be faster than CFIMAGE. It would definitely
be faster for batch resizes.

Blair

On Thu, Aug 9, 2012 at 9:45 AM, Steve Onnis  wrote:

> the actual operation is being done as fast as i would expect as some of the
> files are a few Mb in size. the issue is that they seem to be getting done
> one at a time
>
> -Original Message-
> From: Zac Spitzer [mailto:zac.spit...@gmail.com]
> Sent: Wednesday, 8 August 2012 4:30 PM
> To: cfaussie@googlegroups.com
> Subject: Re: [cfaussie] cfimage processing slow
>
> if it's slow, they are probably RGBA images
>
> this might help
>
>
> http://zacster.blogspot.com.au/2011/05/coldfusion-slow-imageresize-problem.h
> tml
>
> z
>
> On Wed, Aug 8, 2012 at 3:29 PM, Steve Onnis 
> wrote:
> > currently cf9
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "cfaussie" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/cfaussie/-/eGz7OD5Ayg8J.
> >
> > To post to this group, send email to cfaussie@googlegroups.com.
> > To unsubscribe from this group, send email to
> > cfaussie+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/cfaussie?hl=en.
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] bind complete

2012-04-17 Thread Blair McKenzie
No, but that's a good idea. There are several improvements to the watch
stuff that would make custom access easier. Would you be willing to use the
latest branch code?

Blair

On Wed, Apr 18, 2012 at 12:20 PM, Steve Onnis wrote:

> I am working with existing code which is using the  tag.  I was
> hoping there might be an onBindComplete function or similar
>
> ** **
>
> *From:* Andrew Scott [mailto:andr...@andyscott.id.au]
> *Sent:* Wednesday, 18 April 2012 12:14 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* Re: [cfaussie] bind complete
>
> ** **
>
> You mean something like this?
>
> ** **
>
>
> http://www.andyscott.id.au/2010/7/25/ColdFusion-and-populating-a-dropdown-based-on-the-selection-of-another
>  
>
> ** **
>
> ** **
>
> -- 
>
> Regards,
>
> Andrew Scott
>
> WebSite: http://www.andyscott.id.au/
>
> Google+: http://plus.google.com/108193156965451149543
>
> ** **
>
> On Wed, Apr 18, 2012 at 12:06 PM, Steve Onnis 
> wrote:
>
> Is there a method you can call when an ajax bind update has been completed?
> 
>
>  
>
> I have 2 select boxes (country/state) and state gets updated based on the
> selection of the country.  When the state select box has been updated i
> want it to trigger something else.
>
>  
>
> Is this possible?
>
>  
>
> Steve
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>
>
> 
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] bind complete

2012-04-17 Thread Blair McKenzie
At the moment that would be difficult. Obviously you can ftWatch the state
field to update a third field, but for custom behaviour you will need to
reproduce some of the ftWatch functionality in your own javascript:
$j("select[name^=mystate]").live("click",function(){ ... });

Blair

On Wed, Apr 18, 2012 at 12:06 PM, Steve Onnis wrote:

> Is there a method you can call when an ajax bind update has been completed?
> 
>
> ** **
>
> I have 2 select boxes (country/state) and state gets updated based on the
> selection of the country.  When the state select box has been updated i
> want it to trigger something else.
>
> ** **
>
> Is this possible?
>
> ** **
>
> Steve
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Manipulating CFHTTP Source IP

2012-04-12 Thread Blair McKenzie
May not work (depending on how the web service is set up) but you could try
using the X-Forwarded-For
header in the requests.
There is also using an HTTP proxy, though I'm not
sure how that affects the IP address of a request.

Blair

On Thu, Apr 12, 2012 at 5:46 PM, Phil Rasmussen  wrote:

> Hi Everyone. Had an interesting development topic come up today and
> I'm not sure it's even possible though it's worth a shot.
>
> We have an existing sync process that sends approximately 100
> traveller profiles a minute to an external web service, and now we
> have the opportunity to increase this throughout 5 fold but opening up
> separate connections (up to 5) as long as we don't exceed a total of
> 300 syncs every 60 seconds across all connections in total. Now the
> tricky part is i can't just create new threads to execute the parallel
> processes, the external system will only treat them as separate
> requests if the source IP is different.
>
> With the application sitting on a single webserver with 10 public IPs
> bound to the NIC, i'm wondering if there is a way I can create some
> kind of proxy using IIS to allow sending from different IPs. CFHTTP
> from what I recall uses the highest IP in the stack on the outgoing
> NIC, so I'm not sure if this is even possible?
>
> If anyone has any thoughts on this would love to hear it.
>
> Cheers
> Phil
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Re: Amazon EC2 hosting services viability

2011-09-07 Thread Blair McKenzie
As far as I can tell there are three main advantages of "cloud"
infrastructure, and others have already mentioned most of them:
1) you don't have to manage your own hardware
2) pay by the hour - good for development, and ties into #3
3) you can bring up new instances effectively instantly - both adding more
servers to handle load, and removing unused instances to reduce cost

If you don't need for any of those, then you probably shouldn't go with EC2.

Blair

On Thu, Sep 8, 2011 at 2:24 PM, Steve Onnis  wrote:

> my disaster plan is an open ended ticket to mexico! :)  kidding
>
> bi-daily backups etc
>
> The thing is even with all those backup plans it just adds more to the
> costs of running in a cloud.
>
> On Sep 8, 12:50 pm, Barry Beattie  wrote:
> > Steve:
> >
> > what's the Data Center's/your's disaster recovery plan?**
> >
> > How critical is it for you to deliver, say, 99.5% (or whatever in your
> > SLA) uptime to your customers?
> >
> > no criticism, not having a go, just curious if these are factors to
> > consider (what you've got Vs what EC2 can do for you).
> >
> > me: no affil/bias either way.
> >
> > B
> >
> > ** IIRC, there were a couple of P-o-P's inside the WTC ... until Sept
> > 11, that is (it's all about managing risk... and sometimes mitigating
> > all the risk just costs too much to be competitive in business)
> >
> >
> >
> >
> >
> > On Thu, Sep 8, 2011 at 12:27 PM, Steve Onnis 
> wrote:
> > > That's just it though.
> >
> > > I own all of my hardware outright, so the only costs at the moment for
> > > us is the data centre costs which current is a little over 2k a month
> > > and includes 100 Gb of data. I have full control of security,
> > > firewalls, the servers, environments and if needed i can walk up to
> > > the server, plug a USB drive in and either do backups or transfer
> > > large amounts of data to my servers.  I have a full rack available to
> > > me and i agree that if i was looking to expand, then the cost of
> > > hardware will be more than a new instance in the cloud.
> >
> > > Looking at the figures starting out fresh, the TCO is much higher with
> > > the typical data centre infrastructure on a hardware level and
> > > possible hardware maintenance level but the ongoing costs of a cloud
> > > seems to be just as high or higher than traditional data center
> > > services for running systems.
> >
> > > Yes cloud scaling is nice but when then ongoing costs of basic
> > > infrastructure ends up  being more what would be the compelling
> > > argument to move to a cloud?
> >
> > > Steve
> >
> > > On Sep 8, 11:43 am, Chong  wrote:
> > >> I have an ex colleague that work projects uses EC2... how do you
> arrive at
> > >> 450-500 per instance excluding data?
> >
> > >> With my discussions with him and a few others, it is very hard to
> estimate
> > >> your actual usage till you get on it.
> >
> > >> For me the potential lies in
> >
> > >>- Ability to exist beyond different regions (the likely hood of all
> the
> > >>datacenters going down in all the region is very very small)
> > >>- scalable (you can switch the instance type, and I also believe
> there is
> > >>the ability to create/increase capacity via code/conditions)
> > >>- Not needing to worry about hardware
> >
> > >> So for my understand so far, for you to get maximum benefit from EC2
> is to
> > >> architect the app/site  whereby it can exists between different
> "regions" ,
> > >> know how to interface with EC2 to scale when needed... not needing to
> worry
> > >> about hardware is common with any hosting provider, cloud or non
> cloud.
> >
> > >> Besides the fact that it is cheaper, due to scale of economics.
> >
> > >> Just my uneducated 2 cents :)
> >
> > > --
> > > 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
> cfaussie+unsubscr...@googlegroups.com.
> > > For more options, visit this group athttp://
> groups.google.com/group/cfaussie?hl=en.
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Dynamic function calls

2011-06-09 Thread Blair McKenzie
As far as I'm aware you need to use .

Blair

On Fri, Jun 10, 2011 at 2:11 PM, Steve Onnis  wrote:

>
>
> I am trying to achieve this... (which i can do in other languages)
>
>
>
> Component[“get#VarName#”]()
>
>
>
> Though CF is throwing an error.  Is this possible at all or do i have to
> use Evaluate(“Component.get#VarName#()”)
>
>
>
>
>
> Steve
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Re: web services and application.cfc

2011-05-05 Thread Blair McKenzie
You might be able to check the requested url.

Blair

On Fri, May 6, 2011 at 11:35 AM, BarryC  wrote:

> hmmm, It would be ideal to check within our Application.cfc if the
> request is a SOAP request, but using IsSOAPRequest() inside
> application.cfc doesn't work, it always returns false. Is there a way
> to check if the request is a web service request within
> Application.cfc? Ben Nadel posted that the FORM scope doesn't exist
> when a web service is called, but checking against that seems a bit of
> an odd way to go about it - there must be a better way?
>
> On May 6, 10:46 am, BarryC  wrote:
> > excellent I never thought of doing that, thanks, I'll have a go and
> > see if it works out. :)
> >
> > On May 6, 9:27 am, Phil Haeusler  wrote:
> >
> > > Hi Barry
> >
> > > Have your empty Application.cfc extends your base on and then override
> > > OnRequestEnd() with an empty method.  That will give you all the other
> > > methods you want.
> >
> > > Or make use of the IsSOAPRequest() function and use it to ignore the
> > > code you are not wanting to run for your web services.
> >
> > > Phil
> >
> > > On 6/05/11 7:02 AM, BarryC wrote:
> >
> > > > Hi,
> >
> > > > We have an application.cfc at the root of our website, it contains a
> > > > function OnRequestEnd() that does some stuff at the end of page
> > > > generation, but this seems to get called for our web service files.
> >
> > > > I have a web service in a cfc file in a sub-folder within the site,
> > > > but in our logs we get error messages when web services are called,
> > > > the error is an empty string, but it gives the file and line number
> > > > the error is coming from which shows it is our OnRequestEnd()
> function
> > > > when web services are called.
> >
> > > > So our structure looks kind of like this;
> >
> > > > /webroot/
> > > > Application.cfc
> > > > /subfolder/
> > > > /service/
> > > >   webservice.cfc
> >
> > > > Is there a way to get the web services to ignore or somehow override
> > > > the OnRequestEnd() function? I put an Application.cfc file into the
> > > > service/ folder and created an empty OnRequestEnd() function but it
> > > > seems that the other functions we have in our root Application.cfc no
> > > > longer get called either such as OnRequestStart().
> >
> > > > We're on Coldfusion 9.
> >
> > > > Thanks
> > > > Barry
>
> --
> 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
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Weird Structure Behaviours

2010-12-08 Thread Blair McKenzie
A space perhaps?. If you set values with struct.key, the keys in the dump
are always capitalised. These values were set using the struct["key"]
syntax, which supports non-variable name keys

Blair

On Thu, Dec 9, 2010 at 3:51 PM, Cassie Woolley
wrote:

> What is interesting is that in your dump there are 2 values inside the
> struct that apparently appear to be called “contactsettinginverse” (see 3
> rd from the bottom).  And the first one appears out of alphabetical order,
> indicating there is something odd about the first one.
>
>
>
> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
> Behalf Of *Andy Heng
> *Sent:* Thursday, 9 December 2010 1:22 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Weird Structure Behaviours
>
>
>
> Hi,
>
> This is a very particular behaviour occurred and I'm not sure why it is
> the case.
>
> The code is structured in the following:
>
> 
> ...
>  type="boolean" />
> ...
> 
> 
> 
>
> (The result of this on the browser is given on the attached image.)
>
> And here the weird thing appeared.
>
> In the first dump and second dump, it shows that
> thisReport.qs.contactsettinginverse = true.
> But when I attempt to dump thisReport.qs.contactsettinginverse directly
> on the third dump, it returned false
>
> So yer, I wonder if someone can spot what I did wrong because I have no
> clue what went wrong here.
>
>  Thanks, Andy
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

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



Re: [cfaussie] exit a cfc function call from a long polling request

2010-10-17 Thread Blair McKenzie
I would expect cfabort to kill the request, even in a thread.

Blair

On Mon, Oct 18, 2010 at 12:08 AM, Steve Onnis wrote:

>  I am working on an implementation of an XMPP IM server and i have a long
> polling request setup to receive incoming messages from the server and i am
> wanting to know if there is a way to be able to exit out of a method call
> within a cfc.  The reason i ask is that i am unsure if even though you may
> exit out of the browser and the long polling request has been terminated if
> the coldfusion server still has the request active and the method is sitting
> there waiting for a response.  If it is i don’t want to have to wait for it
> to time out to kill the request so i need a way to programmatically end the
> request server site. Is this possible?  I thought i could wrap it in a
> CFTHREAD but there is no “terminate” action.
>
>
>
> Ideas?
>
>
>
>
>
> ===
> Email scanned by PC Tools - No viruses or spyware found.
> (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16090)
> http://www.pctools.com
> ===
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

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



Re: [cfaussie] The solution: Odd date behaviour - CF9/SQLServer2005

2010-06-09 Thread Blair McKenzie
Good point. It only becomes an issue when the date has to be a string at
some point, e.g. form fields.

On 09/06/2010 5:40 PM, "Sean Corfield"  wrote:

On Tue, Jun 8, 2010 at 10:19 PM, Mike Kear  wrote:
> It boiled down to a code...
Storing dates as formatted strings is just asking for problems. I'm
glad you posted the set/get methods (as I asked) because now we can
see exactly why it fails!


> 
So this converts a real date to a specific format string.

> 

And this returns the formatted string and it then gets converted to a
real date (when you go to the DB) using your native locale - which
*tries* to match it to an Australian date when it can but reverts to
the US format when it can't.

The moral is: never, ever store a date as a string :)


>  output="false">
> http://getrailo.com/
An Architect's View -- http://corfield.org/

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


-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To ...

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



Re: [cfaussie] The solution: Odd date behaviour - CF9/SQLServer2005

2010-06-08 Thread Blair McKenzie
I don't think that's the issue - us date formats would only kick in with the
named formats (i.e. "short"). Since he provided the format, the output
should be a generic string in that format.

Mike, when I've had that issue I got around it by outputing the month with
the abbreviation rather than the number e.g. 9 Jun 2010. Both ColdFusion and
all the DBs I've worked with accept the format, and they have no need for
best-guess interpretation.

Blair


On Wed, Jun 9, 2010 at 4:41 PM, Andrew Scott wrote:

> Straight from the ColdFusion documentation Mike.
>
> Formats a date value using U.S. date formats. For international date
> support, use 
> LSDateFormat
> .
>
>
>
> On Wed, Jun 9, 2010 at 3:19 PM, Mike Kear  wrote:
>
>> I'm still testing, but it looks like at long last this problem is solved.
>>   For those who have been following this saga,  the issue is that no matter
>> what way I put the date into the code, it always seemed to be stored in the
>> database in an erratic way.  For dates earlier than the 13th of the month
>> (and therefore ambiguous as to which is the day and which is the month in
>> the date string) the database would store -dd-mm  and for the 13th or
>> later, it would store -mm-dd, which is what i wanted for all of the
>> dates.
>>
>> It boiled down to a code generator that i've been using without any issues
>> for a long time.  The setter and getter for any date fields was like the
>> following:
>>
>>  
>> ===
>> > output="false">
>> 
>>  
>> > />
>>  
>> 
>> 
>> > output="false">
>> 
>> 
>>
>>  
>> ===
>>
>>
>> This date formatting was apparently what's causing the problem.  I'm not
>> sure why because I'd have thought it would either do nothing (i.e. convert
>> dd/mm/ into dd/mm/) or correct an American format date to Australian
>> format date.
>>
>> But when i removed that manipulation,  the problem went away.   I'm a
>> little nervous about just using it, because I think i should know why the
>> former code was a problem but that will have to wait for another day.
>> Here's the code that seems to give me the desired result:
>>
>>
>>  
>> ===
>> > output="false">
>>  
>> 
>> 
>> > output="false">
>> 
>> 
>>
>>  
>> ===
>>
>> I am MOST grateful to all those people - too numerous to mention now - who
>> have helped me through this.  Because it goes back to a code generator that
>> I've never had any issues with while writing maybe 100 applications,  I
>> didn't even look at that.  It was a LONG way down the list of possible
>> suspects.   I'll write and make sure Pete Farrell is in the loop on this.
>>
>> Thank you all.
>>
>>
>> Cheers
>> Mike Kear
>> Windsor, NSW, Australia
>> Adobe Certified Advanced ColdFusion Developer
>> AFP Webworks
>> http://afpwebworks.com
>> ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "cfaussie" group.
>> To post to this group, send email to cfaus...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cfaussie+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/cfaussie?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

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



Re: [cfaussie] Odd date behaviour - CF9/SQLServer2005

2010-06-07 Thread Blair McKenzie
The problem is probably related to dates where the day could also be
interpreted as the month. From the symptoms you're describing, I would guess
that -mm-dd is the default but -dd-mm is used to somehow resolve
ambiguous dates.

Blair


On Tue, Jun 8, 2010 at 9:23 AM, Mike Kear  wrote:

> I have a conundrum that's driving me crazy and frustrating my client too.
>   We have an application where dates are being stored in our database in
> strange ways.
>
> If the day is less than or equal to the 12th of the month,   the date is
> stored as -dd-mm  but if the day is after the 12th of the month, it's
> stored as -mm-dd. (the latter is what we want)I dont understand why
> the program shouldnt be consistent - always store the date the same way
> around regardless of whether the day is 12 or less or not.
>
> For example if the date is 7th May,  I can see using CFDUMP that all
> throughout the coldfusion app, the beans and other processing it's held as
> 07/05/2010.   But if it's saved into the SQLServer2005 database, it's stored
> as 2010-07-05 00:00:00.However if the date is 23 May,   the beans etc
> show it as 23/05/2010  but it's saved in the database as 2010-05-23
> 00:00:00
>
> The database field is defined as smalldatetime.The insert statement for
> the record inserts the value ECRTTotal.getdateentered()  as follows:
>
>  #createodbcdate(ECRTTotal.getdateentered())#
>
> I've also used  cfsqltype="CF_SQL_TIMESTAMP" /> and that gives the same result.   (the
> variable ECRTTotal.getdateentered() is definitely a date object being
> created by createdate() function.
>
> There is a huge amount of existing code that works ok except for this
> issue,  so i need to be careful about changing anything that might break
> bits of the app that are already working.
>
> Anyone have any ideas where i should look for the cause/solution?
>
> --
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

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



Re: [cfaussie] Display XML on webpage

2010-06-06 Thread Blair McKenzie
Have you tried the htmleditformat function?


On Mon, Jun 7, 2010 at 2:44 PM, Scott Thornton <
scott.thorn...@hnehealth.nsw.gov.au> wrote:

> Hi,
>
> interestingly it kinda of works, at least IE display the xml now.
>
> Originally, i replaced all of the > with ">" etc in the query thinking
> that thwy would be a problem...
>
> Ill also try the formatter posted
> http://alexgorbatchev.com/wiki/SyntaxHighlighter
>
>
>
> >>> On 07/06/2010 at 2:37 pm, in message <
> 4c0c7794.1070...@ampersand.net.au>, "m...@ampersand.net.au" <
> m...@ampersand.net.au> wrote:
> How about #replace(query.xml,"<","<","all")#
>
> Dodgy I know but does it work?
>
>
> On 7/06/2010 2:29 PM, Scott Thornton wrote:
>
> Thanks, however:
> 
> returns:
>
> Attribute validation error for tag cfcontent.
> java.lang.String is not a supported variable type. The variable is expected
> to contain binary data.
>
>
>
>
>
>
>
>
> Andrew Scott  ( mailto:andr...@andyscott.id.au )
> 07/06/2010 2:22 pm >>>Try using the cfcontent.
>
>
> On Mon, Jun 7, 2010 at 2:18 PM, Scott Thornton <
> scott.thorn...@hnehealth.nsw.gov.au> wrote:
>
>
>
> Hi,
>
> I was hoping to achieve something rather simple ( I thought), which was to
> display on a webpage the xml stored from within a database, in hopefully a
> formatted manner.
>
> The XML is stored unformatted within a database text field.
>
> When I save the following XML a text document with an .xml extension,
> Internet explorer formats it and displays it okay, but a simple output of
> the database field eg:
> select #query.xml#
> Internet explorer displays an error,
>
> The XML page cannot be displayed
> Cannot view XML input using XSL style sheet. Please correct the error and
> then click the Refresh button, or try again later.
>
> Firefox displays it as one long string.
>
> Wrapping the cfoutput in  doesn't help.
>
> Putting the cfoutput with a CFtextarea helps, but then I need to format it
> ( indent it to make it more readable )
>
> I guess one potential problem is that the xml string contains another XML
> string ( partData )
> 
>  transmissionId="WEB20117091e4bf161a06700" from="WEB20117" mode="FIXME"
> contentsSigned="false"
> contentsType="MCA/OlcHospital/inhospitalclaimreques...@1" xmlns:ns1="
> http://hic.gov.au/hiconline/protocol/model"; (
> http://hic.gov.au/hiconline/protocol/model )>majorVersion="6.10" vendor="HIC"
> platform="os: Windows 2003 x86 5.2 jre: Sun 1.5.0_05" product="HicOnline">
>   platform="os:
> Windows 2003 x86 5.2 jre: Sun 1.5.0_05" product="OlcHospital">   
>  platform="os: Windows 2003 x86 5.2 jre: Sun 1.5.0_05" product="Platypus2">
>   platform="os:
> Windows 2003 x86 5.2 jre: Sun 1.5.0_05" product="eSignature">   
>  role="" dataRef="1" type="MCA/OlcHospital/inhospitalclaimreques...@1"
> signed="false">encoding="UTF-8" standalone="yes"?>xmlns:ns1="
> http://hic.gov.au/hiconline/eclipse/version-1"; (
> http://hic.gov.au/hiconline/eclipse/version-1 )>  messagePartId="CID">   PU
> 0012790J   ABC
> A1234567
>  abc  123
> 0249853321 
> emailaddr...@hnehealth.nsw.gov.au   
> N
> 9
> N
> 58800
> 58800
> 1messagePartId="PAT">  dateOfBirth="1939-01-16+10:00">firstName="firstName" lastName="lastName"/>
> memberRefNum="1" memberNum="1234567707"/>memberNum="1234567"/> 
> 97654321   
> 
> 2010-05-03+10:00
> 09:24:00+10:00
> 2010-05-05+10:00
> 15:35:00+10:00
> 2116524
> OT
> 10
> A
> 2 3
> 09
> 4
> 1   
> 
> 2010-05-03+10:00
> 2010-05-05+10:00 2
> 0
> 2
> 58800
> C  messagePartId="ACD1">
> 2010-05-03+10:00
> 2010-05-05+10:00
> 2
> 58800
> C   29400
>   OT
>   S
> false 
>   messagePartId="PSG1">
> 2010-05-03+10:00
> 09:24:00+10:00  typeCode="C">56507 0
> I
> 0
> N
> S
> N
> 0
> 0   
>  
>   C782 
>C80
>  
> 5650700  
>   9555000 
>9555003 
>   0   
>   
> 
>
> Can anyone offer a simple solution?
>
> The website http://aaronkarp.com/prettyXML/ formats the long string okay,
> which makes me think there might be some kind of webservice available to do
> this?
>
> PS: A software product external to CF creates the XML and stores it in our
> database. I have no control over this software and can't modify the XML
> directly...
>
> Thanks,
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email
> tocfaussie+unsubscr...@googlegroups.com
> >
> ( 
> mailto:cfaussie%2bunsubscr...@googlegroups.com).
> For more

Re: [cfaussie] Frameworks and MVC

2010-06-01 Thread Blair McKenzie
It sounds like you have very particular requirements. You'll probably need
to roll your own.

Blair

On Wed, Jun 2, 2010 at 1:18 PM, Steve Onnis  wrote:

>  we had a demo of FW/1 at our CFUG last week and even though yes it is
> stripped down regarding the framework itself, you still had the folder
> structure as in
>
> root
> - views
> - controller
>
> and so on, and just to get a simple output still required too many files
> for my liking. I also didn't like the way it threw all of the scoped
> variables into the request scope. Just asking for trouble doing that if you
> ask me..having name conflicts and scoped vars overriding others because
> everything is in the request scope.  I guess maybe i am looking for
> something that doesn't call things so implicitly. I want to be able to call
> the controller myself rather than relying on files being in certain places
> to be able to call them
>
>  --
> *From:* charlie arehart [mailto:charlie_li...@carehart.org]
> *Sent:* Wednesday, 2 June 2010 12:56 PM
>
> *To:* cfaussie@googlegroups.com
> *Subject:* RE: [cfaussie] Frameworks and MVC
>
>  Are you aware of FW/1?
>
> http://fw1.riaforge.org/
>
>
> It is still MVC, but it’s a single file. It’s just not clear which is the
> bigger real pain for you, MVC or lots of files. :-) With FW/1, the two are
> no longer mutually inclusive.
>
>  /charlie
>
>
>
> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
> Behalf Of *Steve Onnis
> *Sent:* Tuesday, June 01, 2010 10:39 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* RE: [cfaussie] Frameworks and MVC
>
>
>
> Conceptually i agree though i just dont want to use the folder structure
> that all of the MVC frameworks tend to use. I like the idea of having a
> controller that i can swap out different models with (database or whatever),
> i just dont like the requirement to have files in all of those folders. I
> just find it messy.
>
>
>
> Again, not looking for this to become another framework war, just looking
> for alternatives, something to couple the views to the model, just a
> controller
>
>
>  --
>
> *From:* Peter Robertson [mailto:pe...@p-robertson.com]
> *Sent:* Wednesday, 2 June 2010 12:26 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* Re: [cfaussie] Frameworks and MVC
>
> Actually, Fusebox can be used non-mvc and my old, earlier Fusebox versions
> code is all non-mvc.
>
>
>
> (I understand Mark's point, ie, request/response basically means that there
> is an implied controller, model and view, even if this isn't formalised.)
>
>
>
> Given that the latest Fusebox can be used without xml, I'm pretty sure you
> could set it up that way without mvc.  I would personally find it harder now
> that I'm really accustomed to the mvc way of thinking, and the overhead of
> mvc with Fusebox is mostly about directories and a couple of config files
> (although the convention approach now possible removes even the extra
> configs), you still use the same amount of code overall except for this.
>
>
>
> What is it you actually want from a framework Steve?
>
>
>
> Peter
>
> On 2 June 2010 12:12, Mark Mandel  wrote:
>
> I'm not 100% sure how a web app could be anything other than some form of
> MVC, even one without a framework.
>
> When you say 'MVC', what do you mean?
>
> Trying to work out what you want to avoid.
>
> Mark
>
>
>
> On Wed, Jun 2, 2010 at 12:09 PM, Steve Onnis 
> wrote:
>
> Is there a framework that does not use MVC?  I am open to the thought of
> utilising a framework though i hate the idea of the MVC model.  Personally i
> just think there are too many files to work with.  I don't want this to turn
> into a "frameworks fight", just asking the question on what's available.
>
>
>
> Steve
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>
>
> --
> E: mark.man...@gmail.com
> T: http://www.twitter.com/neurotic
> W: www.compoundtheory.com
>
> cf.Objective(ANZ) - Nov 18, 19 - Melbourne Australia
> http://www.cfobjective.com.au
>
> Hands-on ColdFusion ORM Training
> www.ColdFusionOrmTraining.com
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups

Re: [cfaussie] email attachments

2010-04-12 Thread Blair McKenzie
To simplify this, you can set remove="true" on cfmailparam to indicate that
the file should be deleted after the email is sent.

Blair

On Tue, Apr 13, 2010 at 10:21 AM, Seona Bellamy  wrote:

> When I've had to do this sort of thing in the past, I've always found that
> the easiest way was to create the file, attach it, then delete it from the
> server if I had no need to keep it.
>
> From a conceptual point of view, I'm not sure that attaching a file that
> hasn't been created actually makes sense. The attachment is a file,
> therefore I can't think of any way to get around actually creating a file to
> attach. Does that thought still make sense now that it's outside my head?
> Having an odd morning so I'm not sure...
>
> Cheers,
>
> Seona.
>
>
> On 13 April 2010 10:14, KNOTT, Brian  wrote:
>
>>  Presently there is no file.  I want to do it on the fly with out
>> creating a file.
>>
>>
>>
>> Brian
>>
>>
>>
>> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
>> Behalf Of *Kevin Pepperman
>> *Sent:* Tuesday, 13 April 2010 10:13 AM
>> *To:* cfaussie@googlegroups.com
>> *Subject:* Re: [cfaussie] email attachments
>>
>>
>>
>> Yes, just add cfmailparam between your cfmail tags with a path to the
>> file. It will attach it to the email.
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian 
>> wrote:
>>
>> attachment
>>
>>
>>
>>
>> --
>> /Kevin Pepperman
>>
>> "They who can give up essential liberty to obtain a little temporary
>> safety, deserve neither liberty nor safety." - Benjamin Franklin
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "cfaussie" group.
>> To post to this group, send email to cfaus...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cfaussie+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/cfaussie?hl=en.
>>
>> --
>> This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
>> its related entities "Suncorp".
>> Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on
>> 13 11 55 or at suncorp.com.au.
>> The content of this e-mail is the view of the sender or stated author and
>> does not necessarily reflect the view of Suncorp. The content, including
>> attachments, is a confidential communication between Suncorp and the
>> intended recipient. If you are not the intended recipient, any use,
>> interference with, disclosure or copying of this e-mail, including
>> attachments, is unauthorised and expressly prohibited. If you have received
>> this e-mail in error please contact the sender immediately and delete the
>> e-mail and any attachments from your system.
>> If this e-mail constitutes a commercial message of a type that you no
>> longer wish to receive please reply to this e-mail by typing Unsubscribe in
>> the subject line.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "cfaussie" group.
>> To post to this group, send email to cfaus...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cfaussie+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/cfaussie?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

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



Re: [cfaussie] CFqueryparam value's in debug output

2010-03-24 Thread Blair McKenzie
Try dumping the entire error. There is another variable that contains the
parameters.


On Thu, Mar 25, 2010 at 10:40 AM, Scott Thornton <
scott.thorn...@hnehealth.nsw.gov.au> wrote:

>
> Yup, cfqueryparms can be seen in dumps of sql queries.
>
> I guess I was referring to in particular was when an error occurs and the
> error object is used in displaying error detail. apologies for the
> confusion.
>
> eg: #error.rootCause.SQL#, #error.rootCause.tagContext[1].SQL# etc.
>
> There is no parameters in the above statements.
>
>
>
> >>> "Steve Onnis"  25/03/2010 9:52 am >>>
> If you use the result argument and dump that you will get the params
>
> 
> 
>
> -Original Message-
> From: Scott Thornton [mailto:scott.thorn...@hnehealth.nsw.gov.au]
> Sent: Thursday, 25 March 2010 8:47 AM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] CFqueryparam value's in debug output
>
> G'day,
>
> Is there any way to access the values for cfqueryparam's in debug output?
>
> I am pretty sure I saw a blog entry by someone showing a modification of a
> file(s) in the coldfusion directory but I cannot find it for the life of
> me.
>
> I'd like to include the  query values in a site wide error template and in
> an email that is sent.
>
> Can any recall seeing this too? and point me in the right direction? I
> thought i saw it at barneyblog or the one by andy jarret but no luck...
>
> cf 9 development system, cfmx6.1 in live environment.
>
>
> Scott Thornton, Centralised Billing Unit
> Hunter-New England Area Health Service
> ext: 53358 p: +61 02 498 53358 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 cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>

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



Re: [cfaussie] CFqueryparam value's in debug output

2010-03-24 Thread Blair McKenzie
queryparam values are included in error output and cfcatch structs if the
the error was in the SQL execution. You shouldn't have to modify anything.

Blair

On Thu, Mar 25, 2010 at 8:47 AM, Scott Thornton <
scott.thorn...@hnehealth.nsw.gov.au> wrote:

> G'day,
>
> Is there any way to access the values for cfqueryparam's in debug output?
>
> I am pretty sure I saw a blog entry by someone showing a modification of a
> file(s) in the coldfusion directory but I cannot find it for the life of me.
>
> I'd like to include the  query values in a site wide error template and in
> an email that is sent.
>
> Can any recall seeing this too? and point me in the right direction? I
> thought i saw it at barneyblog or the one by andy jarret but no luck...
>
> cf 9 development system, cfmx6.1 in live environment.
>
>
> Scott Thornton, Centralised Billing Unit
> Hunter-New England Area Health Service
> ext: 53358 p: +61 02 498 53358 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 cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>

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



Re: [cfaussie] Question about a method call in a cfoutput query="{method call here}"

2010-02-22 Thread Blair McKenzie
I'm pretty sure cfoutput only accepts variables.

Blair

On Tue, Feb 23, 2010 at 11:08 AM, nkosi  wrote:

> Hi All,
>
> This is more of an observation rather than a call for help.
>
> Does anyone know why, if I attempt to call a method in the 'query'
> parameter of  it errors? It also errors when using  query="{method call here}">
>
> e.g.
> 
>
> 
>#id# - #month#
> 
>
> I assume it has something to do with the way (sequence?) CF implements
> cfoutput and method calls. This assumption is based on the fact that I
> can successfully call the method in a 
>
> e.g.
> 
>More than 1.
> 
>
> My test.cfc looks a little something like this ...
> 
>
> QueryNew("id,month","integer,varchar")>
>
>
>
>
>
>
> currentrow)>
> MonthAsString(currentrow),
> currentrow)>
>
>
>
>
> 
>
> BTW - I have only tested this on a CF8 developer instance.
>
> Cheers
> Glen
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>

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



Re: [cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-24 Thread Blair McKenzie
Is it possible "x in y" is returning items that aren't technically struct
keys?

Blair

On Wed, Nov 25, 2009 at 5:05 PM, KC Kuok  wrote:

> Before i forget STRUCTVARIABLE = structCopy(Bigstruct.byExportKey
> [ExportID]) was without the structCopy before... did not make a
> difference...
>
> On Nov 25, 5:04 pm, KC Kuok  wrote:
> > The struct is copied from a struct of struct generated earlier in the
> > process, which parses an xml file...
> > Then it loops through the Struct of Structs to do the logic. I am
> > amazed that I can do a dump of the variable and the temp Struct on the
> > line right before, but yet it says it is undefined when it hits that
> > line...
> >
> > Is it something to do with scoping in For loops in CFSCRIPT... this is
> > done in CF8 btw...
> >
> > for (portalExportID in Bigstruct.byExportKey)
> > {
> > STRUCTVARIABLE = structCopy(Bigstruct.byExportKey[ExportID])
> > ...
> > ...
> > ThisValue = STRUCTVARIABLE.THISFOREIGNKEY;
> > ...
> > )
> >
> > If its nothing obvious I will probably rewrite it bit by bit and see
> > what makes the difference...
> >
> > On Nov 25, 4:45 pm, Mark Mandel  wrote:
> >
> > > Where did the struct come from?
> >
> > > Maybe it's a Java Map object?
> >
> > > Mark
> >
> > > On Wed, Nov 25, 2009 at 4:37 PM, KC Kuok  wrote:
> > > > When I try to get key value from a structure I get an error however
> if
> > > > I do a dump function, I can see the struct AND the variable which is
> > > > referred to similarly.
> >
> > > > E.g.
> > > > ...
> > > > ThisValue = STRUCTVARIABLE.THISFOREIGNKEY;
> > > > ...
> >
> > > > I get
> >
> > > > Element THISFOREIGNKEY is undefined in STRUCTVARIABLE
> >
> > > > However If I do a dump function, dodump(STRUCTVARIABLE) or even
> dodump
> > > > (STRUCTVARIABLE.THISFOREIGNKEY ) just before that line I can see the
> > > > entire structure or just the value respectively. I can't see what is
> > > > wrong, could this be a cfscript related bug ? Or am I missing
> > > > something real obvious ?
> >
> > > > One of the things I thought maybe wrong is the scope, but even then
> it
> > > > does not seem that anything is wrong with it...
> >
> > > > Dodump() is just a regular cffunction which passes the args to cfdump
> > > > inside.
> >
> > > > Any thoughts?
> >
> > > > Thanks in advance!
> > > > Chong
> >
> > > > --
> >
> > > > You received this message because you are subscribed to the Google
> Groups
> > > > "cfaussie" group.
> > > > To post to this group, send email to cfaus...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > cfaussie+unsubscr...@googlegroups.com
> 
> >
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/cfaussie?hl=en.
> >
> > > --
> > > E: mark.man...@gmail.com
> > > T:http://www.twitter.com/neurotic
> > > 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 cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.




[cfaussie] Re: Value must be initialized before use - Its possible that a method called on a Java object created by CreateObject returned null

2009-10-22 Thread Blair McKenzie
Set sessionManagement depending on a bunch of rules including useragent
checks.

Didn't think it was likely, but that's still a small chance of saving you
some fustration. Good luck with the bug.

Blair

On Thu, Oct 22, 2009 at 8:37 PM, Taco Fleur wrote:

>  How do you turn of sessions for bots?
>
> Bot or not, the session gets initialized but not maintained as far as I'm
> aware?
>
>
> Kind regards, Taco Fleur (CIO/CEO/Founder)
>  --
>
> *Advertise your business, products and services on **www.clickfind.com.au Get
> more business!*
>
>
>
> This email (which includes any attachments) has been sent on behalf of
> Commerce Engine Pty Ltd or its Associated Entities (hereinafter called
> “clickfind”). The information contained in this communication may be
> privileged and confidential.  If you are not the intended recipient, any
> use, disclosure or copying of this communication is expressly prohibited.
> If you have received this E-mail in error, please delete it immediately.
> Clickfind does not warrant or represent that this E-mail (including any
> attached files) is free from electronic viruses, faults or defects.  
> Confidentiality
> and legal privilege are not waived or lost by reason of mistaken delivery to
> you. For more information about use, disclosure and access see our privacy
> policy at http://www.clickfind.com.au/privacy-policy.cfm
>
>
>
> P* *please consider the environment before printing this e-mail
>
>
>  ------
> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
> Behalf Of *Blair McKenzie
> *Sent:* Thursday, 22 October 2009 7:32 PM
>
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Value must be initialized before use - Its
> possible that a method called on a Java object created by CreateObject
> returned null
>
> Just throwing this out there, but I've seen similar errors when I turn off
> session for bots. Code tries to access session scope, and it doesn't exist.
> It's been a while though, so this may be red herring.
>
> Blair
>
> On Thu, Oct 22, 2009 at 8:11 PM, Taco Fleur 
> wrote:
>
>>  Thanks Joel,
>>
>> I had a look in the log and found
>>
>> "Error","jrpp-25","10/19/09","20:37:31","au_com_clickfind8","The request
>> has exceeded the allowable time limit Tag: cfmail The specific sequence of
>> files included or processed is:
>> C:\Inetpub\wwwroot\au_com_clickfind\business\explore-website.cfm, line: 488
>> "
>>
>> The weird thing is, there is no cfmail in that file. And why does it only
>> time out for Google??
>>  h
>>
>> Kind regards, Taco Fleur (CIO/CEO/Founder)
>>   --
>>
>> *Advertise your business, products and services on **www.clickfind.com.au Get
>> more business!*
>>
>>
>>
>> This email (which includes any attachments) has been sent on behalf of
>> Commerce Engine Pty Ltd or its Associated Entities (hereinafter called
>> “clickfind”). The information contained in this communication may be
>> privileged and confidential.  If you are not the intended recipient, any
>> use, disclosure or copying of this communication is expressly prohibited.
>> If you have received this E-mail in error, please delete it immediately.
>> Clickfind does not warrant or represent that this E-mail (including any
>> attached files) is free from electronic viruses, faults or defects.  
>> Confidentiality
>> and legal privilege are not waived or lost by reason of mistaken delivery to
>> you. For more information about use, disclosure and access see our privacy
>> policy at http://www.clickfind.com.au/privacy-policy.cfm
>>
>>
>>
>> P* *please consider the environment before printing this e-mail
>>
>>
>>  --
>> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
>> Behalf Of *Joel Cass
>> *Sent:* Thursday, 22 October 2009 2:49 PM
>> *To:* cfaussie@googlegroups.com
>> *Subject:* [cfaussie] Re: Value must be initialized before use - Its
>> possible that a method called on a Java object created by CreateObject
>> returned null
>>
>>   I've had this one before but with a different component. Usually there
>> is an error that is being thrown by the Java object but is not being
>> represented properly in ColdFusion. cftry/cfcatch will not actually work in
>> this case as the problem is occuring in the Java Layer. I think the real
>> error does turn up in the runtime logs, otherwi

[cfaussie] Re: Value must be initialized before use - Its possible that a method called on a Java object created by CreateObject returned null

2009-10-22 Thread Blair McKenzie
Just throwing this out there, but I've seen similar errors when I turn off
session for bots. Code tries to access session scope, and it doesn't exist.
It's been a while though, so this may be red herring.

Blair

On Thu, Oct 22, 2009 at 8:11 PM, Taco Fleur wrote:

>  Thanks Joel,
>
> I had a look in the log and found
>
> "Error","jrpp-25","10/19/09","20:37:31","au_com_clickfind8","The request
> has exceeded the allowable time limit Tag: cfmail The specific sequence of
> files included or processed is:
> C:\Inetpub\wwwroot\au_com_clickfind\business\explore-website.cfm, line: 488
> "
>
> The weird thing is, there is no cfmail in that file. And why does it only
> time out for Google??
>  h
>
> Kind regards, Taco Fleur (CIO/CEO/Founder)
>   --
>
> *Advertise your business, products and services on **www.clickfind.com.au Get
> more business!*
>
>
>
> This email (which includes any attachments) has been sent on behalf of
> Commerce Engine Pty Ltd or its Associated Entities (hereinafter called
> “clickfind”). The information contained in this communication may be
> privileged and confidential.  If you are not the intended recipient, any
> use, disclosure or copying of this communication is expressly prohibited.
> If you have received this E-mail in error, please delete it immediately.
> Clickfind does not warrant or represent that this E-mail (including any
> attached files) is free from electronic viruses, faults or defects.  
> Confidentiality
> and legal privilege are not waived or lost by reason of mistaken delivery to
> you. For more information about use, disclosure and access see our privacy
> policy at http://www.clickfind.com.au/privacy-policy.cfm
>
>
>
> P* *please consider the environment before printing this e-mail
>
>
>  --
> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
> Behalf Of *Joel Cass
> *Sent:* Thursday, 22 October 2009 2:49 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Value must be initialized before use - Its
> possible that a method called on a Java object created by CreateObject
> returned null
>
> I've had this one before but with a different component. Usually there is
> an error that is being thrown by the Java object but is not being
> represented properly in ColdFusion. cftry/cfcatch will not actually work in
> this case as the problem is occuring in the Java Layer. I think the real
> error does turn up in the runtime logs, otherwise, capture the data going
> into the object and try making the same call from a JSP file.
>
> On Thu, Oct 22, 2009 at 12:56 PM, www.clickfind.com.au <
> taco.fl...@clickfind.com.au> wrote:
>
>>
>> Hello all,
>>
>> been a while, very long time actually since my last post! I really got
>> one here that stumps me!
>>
>> I'm getting the following error when Google indexes some of my pages
>>
>> Value must be initialized before use
>> Its possible that a method called on a Java object created by
>> CreateObject returned null
>>
>> The problem points to line 179 which is the following
>>
>> xmlResult = YahooCSE.doSearch( page = url.page, display =
>> url.display ).getResult();
>>
>> Around this I have a try/catch statement but that doesn't seem to make
>> any difference at all.
>>
>> It only errors when Google visits the following page in question
>>
>> http://www.clickfind.com.au/business/explore-website.cfm?businessIdentity=42071&keyword=drysdale%20victoria
>>
>> Your help is greatly appreciated.
>>
>> Cheers
>> Taco Fleur
>>
>>
>>
> >
>

--~--~-~--~~~---~--~~
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 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: xml error with stylesheet

2009-09-21 Thread Blair McKenzie
Looks like some of your values contain HTML, and it's not validating. Try
adding CDATA's or cleaning up the values before outputing them.

Blair

On Tue, Sep 22, 2009 at 11:49 AM, Greavesy  wrote:

>
> I am attempting to create an xml output from a sql table.  When I open
> the page in IE it displays 768 of the 770 records correctly and then
> it errors stating:-
>
>
> **
>   The XML page cannot be displayed
>
>   Cannot view XML input using XSL style sheet. Please correct the
> error and then click the
>   Refresh button, or try again later.
>
>
> 
>
>   Only one top level element is allowed in an XML document. Error
> processing resource
>   'http://actuarydev.int.corp.sun/Product...
>
> 
>---^
>
> **
> Can someone please shed some light on this error at all?  My script is
> below
>
> __
>
>
>  name="qryPCGSO25W">
> SELECT *
> FROM TtxtT_PCGS025W
> 
>
>
> 
> 
> 
> 
> http://actuarydev.int.corp.sun/productctp/cfml/";>
> 
>SCMailHouse
> 
>
> 
>
>
>  20090915GST001
>GST
>
>
>
>
>
>  /EasyDoc/QLDCTP/templates/GST
>
>
>
>
>  Maureen Greaves
>  PO BOX 555
>  BRISBANE QLD 4000
>
> 
>
>
> 
>
>
>
>
>#Trim("#XMLFormat(date)#")#
>
>  #Trim("#XMLFormat(CUSTOMERNAME)#")#
>#Trim("#XMLFormat(ADDRESS1)#")#
>#Trim("#XMLFormat(ADDRESS2)#")#
>#Trim("#XMLFormat(ADDRESS3)#")#
>#Trim("#XMLFormat(ADDRESS4)#")#
>
>  #Trim("#XMLFormat(CUSTOMERREF)#")#
>#Trim("#XMLFormat(UWPREM)#")#
>#Trim("#XMLFormat(PREMPAID)#")#
>#Trim("#XMLFormat(EXTRAPREM)#")#
>#Trim("#XMLFormat(REFNDPREM)#")#
>
>#Trim("#XMLFormat(REGO1)#")#
>#Trim("#XMLFormat(REGO2)#")#
>#Trim("#XMLFormat(REGO3)#")#
>#Trim("#XMLFormat(REGO4)#")#
>#Trim("#XMLFormat(REGO5)#")#
>#Trim("#XMLFormat(REGO6)#")#
>#Trim("#XMLFormat(REGO7)#")#
>#Trim("#XMLFormat(REGO8)#")#
>#Trim("#XMLFormat(REGO9)#")#
>#Trim("#XMLFormat(REGO10)#")#
>
>#Trim("#XMLFormat(UNUSED)#")#
> 
>
>
> 
> 
> 
> 
>
> 
> 
>
> 
> #xmlstring#
> >
>

--~--~-~--~~~---~--~~
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 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CFmail & Attaching Document To Mailto Links

2009-08-31 Thread Blair McKenzie
Found this: http://www.ianr.unl.edu/internet/mailto.html. Covers what you
can do with the mailto syntax. Anything else you want to do you'll have to
do server-side.

Blair

On Tue, Sep 1, 2009 at 12:37 PM,  wrote:

>  Hi,
>
>
>
> Currently I am using cfmail to create an email that attaches selected pdf
> files that are saved on the server to the email and sends the email and the
> attachments to the recipients emails address. Please note I am talking about
> 1 email being sent to 1 recipient at a time so there is no bulk email
> processing in this process.
>
>
>
> The issue is that all this is done on the server side and the user does not
> have a copy of the email that the cf application has sent to the recipient,
> my initial work around has been to automatically cc’ the senders email
> address so that the sender receives the same email that the sender is
> sending out to the recipient.
>
>
>
> As an alternative, I am wondering is it possible to have cf activate the
> users local email client, automatically or else by the user having to click
> and email link on the page. However the email window activated would need to
> contain the content currently contained in the body of the email being sent
> using the cfmail method above, as well as the pdf file as an attachment.
>
>
>
> I look forward to your comments and suggestions regarding the above.
>
>
>
>
>
> Regards
>
> Claude Raiola
> B.Econ (Acc), B.Hot.Mngt.
>
> Websites:
>
> www.SAMARIS.NET 
>
> Mobile: 0414 228 948
>
>
>
> >
>

--~--~-~--~~~---~--~~
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 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Submit data remotely to Twitter using HTTP POST

2009-07-14 Thread Blair McKenzie
1. The character limit is a key part of Twitter - the whole point is that
users only have to read or write a short message. For your use case the
answer might be a very short description plus a tiny url.
2. Twitter could be very effective, but it probably depends on what you're
publishing. The key is that people have to follow your tweets, like
subscribing to an RSS feed I guess. Is that something that fits with what
your clients would be tweeting? Do they have existing readers that would be
interested? A place to highlight the fact that they have a twitter account?

Blair

On Wed, Jul 15, 2009 at 3:57 PM, Hitesh  wrote:

>
> I wonder if anybody in our community has done this before?
>
> My objective is: Our users (clients) want to post data (for example:
> jobs) on Twitter. They want to do this without going on Twitter
> website personally and should be able to post from our system remotely
> via HTTP POST. Obviously whosoever (a client) wants to post on Twitter
> should have an account with Twitter.
>
> In brief, we would be something like third party poster/uploader on
> behalf of users/clients. Initially I though there is no need to create
> any Twitter a/c for us as a poster but when I looked into below
> Twitter URL
>
> http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-direct_messages%C2%A0new
> it seems like I may also need to create Twitter a/c...probably the
> SENDER in this instance. NOT sure???
>
> Can anybody help me on following questions?
>
> -> It seems Twitter only allows 140 chars but is there any way to send
> more chars in the message...for example, in my case a job description
> can be more so is there any way? (if Twitter does NOT allow then we
> can NOT do anything but I just wanted to check if anyone came across
> same query)
>
> -> Do you think it is good to do integration with Twitter or it is
> just over hyped these days???
>
> Looking forward to seeing your kind reply.
> Thanks in advance.
>
> >
>

--~--~-~--~~~---~--~~
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 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Virtual ANZ Friday beer o'clock... - Connect room link

2009-06-23 Thread Blair McKenzie
I just had a vision of a 24hr beer o'clock mexican wave, with the baton
being passed through the timezones.

Blair

On Wed, Jun 24, 2009 at 3:03 PM, Kai Koenig  wrote:

> Hi all,
> here's the room link for Friday's virtual beer o'clock.
>
> http://connectpro53389065.acrobat.com/beeroclock/
>
> I'll open it around 4 pm NZ time, 2 pm East coast, noon  WA :)
> and when I'm leaving we'll promote a west coastie to meeting host.
>
> No particular program, just hanging out, exchanging funny links and
> maybe we can convince some people to show some cool stuff - but no
> pressure :)
>
> Kai
>
>
>
> If you work at home it's always beer o'clock :)
>
>
>
>
> On 6/23/09, Kai Koenig  wrote:
>
> Well, THAT's whar I meant with "no idea how the server and the Connect
>
> room will cope" :-)
>
>
> K
>
>
> @kai & @barry
>
> were you using it with multiple presenters?
>
>
> That is where I saw it struggling before - but that was years back.
>
> Not criticism, just asking
>
>
>
> 2009/6/23 Barry Beattie 
>
> agree with Kai
>
>
> I've found the Connect rooms issued to us user group managers on the
>
> new(-ish) servers have been working a treat. I was flogging the guts
>
> out of mine recently and was happy.
>
>
> sorry ... just very biased towards Connect ... please forgive...
>
>
>
>
>
> On Tue, Jun 23, 2009 at 4:38 PM, Kai Koenig 
>
> wrote:
>
> Kids, do we maybe want to give Connect at least a try :-) ??? I've
>
> toyed a bit with the
>
> room performance over the weekend and it was surprisingly fine
>
> (given where we are
>
> located) for a US server.
>
>
> Will post the room URL for Friday tomorrow.
>
>
> Cheers
>
> Kai
>
>
>
>
> There is also:
>
> http://tinychat.com/
>
>
> Mark
>
>
> On Tue, Jun 23, 2009 at 4:19 PM, Robin Hilliard 
>
> wrote:
>
> To be fair - I have no idea how the server and the Connect room
>
> will cope,
>
> but I thought it's worth a try
>
>
> If connect runs into problems and we feel like eating our own
>
> cfdogfood we can failover to:
>
>
> http://www.rocketboots.com/cfjavascript/chat.cfm (room anzbeer)
>
>
> Or feel free to use it as a back channel during the meeting, I'd
>
> like to see how it goes under load :-). If you're curious the
>
> source code is here:
>
>
> http://svn.rocketboots.com/os/cfjavascript/tags/webdu2009/chat.cfm
>
>
> Cheers,
>
> Robin
>
>
>  ROBIN HILLIARD
>
> Chief Executive Officer
>
> ro...@rocketboots.com.au
>
>
> RocketBoots Pty Ltd
>
> Level 11
>
> 189 Kent Street
>
> Sydney NSW 2001
>
> Australia
>
> Phone +61 2 9323 2507
>
> Facsimile +61 2 9323 2501
>
> Mobile +61 418 414 341
>
> www.rocketboots.com.au
>
>
>
>
>
>
>
>
>
> --
>
> E: mark.man...@gmail.com
>
> T: http://www.twitter.com/neurotic
>
> W: www.compoundtheory.com
>
>
>
>
>
>
> _
>
> Kai Koenig - Ventego Creative Ltd
>
> ph: +64 4 476 6781 - mob: +64 21 928 365 /  +61 450 132 117
>
> web: http://www.ventego-creative.co.nz
>
> blog: http://www.bloginblack.de
>
>
>
>
>
>
>
>
>
>
> --
>
> AJ Mercer
>
> Web Log: http://webonix.net
>
>
>
>
> _
>
> Kai Koenig - Ventego Creative Ltd
>
> ph: +64 4 476 6781 - mob: +64 21 928 365 /  +61 450 132 117
>
> web: http://www.ventego-creative.co.nz
>
> blog: http://www.bloginblack.de
>
>
>
>
>
>
> --
> Sent from my mobile device
>
>
>
>
> _
> Kai Koenig - Ventego Creative Ltd
> ph: +64 4 476 6781 - mob: +64 21 928 365 /  +61 450 132 117
> web: http://www.ventego-creative.co.nz
> blog: http://www.bloginblack.de
>
>
> >
>

--~--~-~--~~~---~--~~
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 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: PHP to CF help

2009-06-16 Thread Blair McKenzie
The Charles proxy might be able to do it.

Blair

On Wed, Jun 17, 2009 at 12:16 PM, Ben Lowndes  wrote:

> On Wed, Jun 17, 2009 at 12:12 PM, Steve Onnis wrote:
>
>>  Whats the form look like?
>>
>
> That's part of the problem - because it's being posted from a Cocoa app I
> can't see exactly the structure of the form, but the php script handles it
> fine.
>
> So far I've just been looking at the apache access log file to monitor if
> the app is posting correctly to my CF script, which it is, but I need more
> detail so what tool can I use to inspect the http data being posted?
>
> >
>

--~--~-~--~~~---~--~~
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 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: View email as text only in gmail

2009-05-04 Thread Blair McKenzie
You can use "Show original" from the menu under "Reply", that will give you
the actual email source code. Finding the text part is relatively easy. I
haven't been able to find another way.

Blair

On Tue, May 5, 2009 at 11:59 AM, Steve Onnis  wrote:

>  anyone know how to do this?
>
> >
>

--~--~-~--~~~---~--~~
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 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: How do you handle previews?

2009-02-16 Thread Blair McKenzie
FarCry does this by adding status and versionid fields to a content type.
Status to indicate which data is live / pending / draft, and versionid to
link draft content to live content. This means that any given piece of
content can have two versions in the database (our workflow doesn't allow
both pending and draft)

Blair

2009/2/17 Mike Kear 

>
> A question for those who have CMS systems 
>
> How do you folks handle previews?The preview function in my CMS is
> less than perfect and I'd like to do it better.
>
> Currently, I'm storing all the changes users make in  the session
> scope, then when they click 'preview' they get a combination of the
> live page data and the changes that are in session.This has a
> couple of problems - actually assembling the preview page requires
> quite a few steps because the data is coming from the database and the
> session scope,   and the other problem is that if the user closes his
> browser or the session times out,  all the updates are lost.
>
> Another method i've seen is having the CMS working entirely from a
> preview table, which is a duplicate of the 'live' table.   Changes are
> written into the preview table and previews are assembled from that.
> When changes are committed to the live site, they are copied across
> from the preview table.
>
> I'm looking for some advice about how the rest of you handle preview
> functions in applications like CMS systems. How do you handle
> this?
>
>
> --
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
>
> >
>

--~--~-~--~~~---~--~~
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 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CFMAIL On Shared Hosting Servers

2008-12-01 Thread Blair McKenzie
Chris's suggestion (or something like it) is what you're after.

Blair

On Tue, Dec 2, 2008 at 3:13 PM, Claude Raiola <[EMAIL PROTECTED]> wrote:

> I am aware of the reason for restricting from email addresses to prevent
> spamming etc
>
> thats not my question, i must not have  explained myself clearly
>
> i am simply asking is there some code i can add in addition to the domain
> specific email address i am using so that when the email is received the
> recipient sees the persons name appearing rather than the email address
> itself appearing even though the email address, naturally is also present
>
> Regards
>
> Claude Raiola
> B.Econ (Acc), B.Hot.Mngt.
>
> Websites:
> www.AustralianAccommodation.com
> www.SAMARIS.NET
> www.WebSiteSolutions.com.au
> Mobile: 0414 228 948
>
> On Tue Dec 2 14:24 , 'Steve Onnis' sent:
>
>
> its most likely an email server authentication issue that a cf issue
> claude.
> they probably have the mail server authenicating on the email address which
> is why if the mail server doesnt have the sending email address in it then
> it will get rejected.
>
> -Original Message-
> From: cfaussie@googlegroups.com [EMAIL PROTECTED]','','','')">
> [EMAIL PROTECTED] On Behalf
> Of Claude Raiola
> Sent: Tuesday, 2 December 2008 2:07 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: CFMAIL On Shared Hosting Servers
>
>
> The from emailaddress needs to be a valid address associated with the
> domain
> of the application the users email is defined from the users dbase when
> they
> log in I am wanting to display the users name in thefrom field when cfmail
> sends the email not the default email address
>
> Regards
> Claude Raiola
> Mob: 0414228948
>
> -Original Message-
> From: Chris Velevitch <[EMAIL PROTECTED]>
> Sent: Tuesday, 2 December 2008 12:40 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: CFMAIL On Shared Hosting Servers
>
>
> Try using a from email address of the form:-
>
> "Claude Raiola <[EMAIL PROTECTED]>"
>
>
> Chris
> --
> Chris Velevitch
> Manager - Adobe Platform Users Group, Sydney
> m: 0415 469 095
> www.apugs.org.au
>
> Adobe Platform Users Group, Sydney
> January '09 meeting: TBA
> Date: Mon 19th January 6pm for 6:30 start
> Details and RSVP coming later
>
>
>
>
>
>
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: CSS question

2008-11-30 Thread Blair McKenzie
... what?

On Mon, Dec 1, 2008 at 1:14 PM, Claude Raiola <[EMAIL PROTECTED]> wrote:

> I am an equal opportunist and i hate with great disdain these dam gender
> specific lobby groups
>
> To put you in the picture to illustrate my point of how i see equality
> amongst men and women here is my thoughts on who's job it is to stay home
> and look after the kids whilst they are pre primary school (as i am not a
> believer in passing off kids to day care 5 days a week so someone else can
> raise them )
>
> Back to the topic, from my perspective i it does not matter if the mother
> or the father is the one to step out of the workforce for a number of years
> whilst kids are at pre primary school age as the job of parenting is a
> combined responsibility to be shared equally
>
> Therefore how would i determine whether the mother or father steps out of
> the work force whilst having kids at pre primary school age, simply really
> the person who has the greatest to loose with respect to their long term
> career development by stepping out of the work force is the one who stays in
> the work force the one who's long term career is effected the least by
> stepping out of the work force for that period of time is the one who stays
> home and looks after the child.
>
> If both parents need to work full time given they cannot live their
> lifestyle and raise a child one a single income then the solution is either
> resize the lifestyle as a sacrifice for deciding to have a child or else do
> not have a child if you cannot afford to raise it 
>
> Hmmm the above is a little outside the scope of SAMARIS but there you go
>
> See no i am not a male shovanistic type i am an equalitist.
>
>
>
> Regards
>
> Claude Raiola
> B.Econ (Acc), B.Hot.Mngt.
>
> Websites:
> www.AustralianAccommodation.com
> www.SAMARIS.NET
> www.WebSiteSolutions.com.au
> Mobile: 0414 228 948
>
> On Sun Nov 30 17:53 , Karen Johnstone sent:
>
>
>
> I didn't read through this, but seems similar to your problem & it may
> give further ideas to look into
> http://ask.metafilter.com/27347/CSS-a-amp-img-attributes
>
> Karen Johnstone
> DOTS Talent Solutions Pty Ltd
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: onclick this

2008-11-24 Thread Blair McKenzie
If the button doesn't have a name it won't be included in the form post.

Blair

On Tue, Nov 25, 2008 at 4:59 PM, Mark Ireland <[EMAIL PROTECTED]>wrote:

>  I have had slow forms that benefited from a submit button with
>
> onclick="this.disabled=true;this.value="Relax, your form submitted already"
>
> but today I have discovered a setup where the form submits but the button
>
> does not exist when I cfdump the scope!
>
> How is this possible?
>
> --
> Multiple prizes and the ultimate dream beach house! Take a summer road
> trip with Windows Live Hotmail.
> >
>

--~--~-~--~~~---~--~~
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: Pull apart a html table

2008-11-23 Thread Blair McKenzie
You could add an XML declaration and parse it into an XML object. You'll
still have to find the table in the HTML though.

Blair

On Mon, Nov 24, 2008 at 4:45 PM, Steve Onnis <[EMAIL PROTECTED]> wrote:

>
> Would it be easier for you to convert it to a CSV format and process it
> from
> there?
>
>
>
> 
>
>function TableToCSV () {
>var table = arguments[1];
>
>table = REReplaceNoCase(table, "[^[:print:]]", "", "ALL");
>table = replaceNocase(table, "", chr(10), "ALL");
>table = replaceNoCase(table, "", """,""", "ALL");
>table = replaceNoCase(table, "", , "ALL");
>table = replaceNoCase(table, "", , "ALL");
>table = REReplaceNoCase(table,
> "<(table|tbody|thead|tfoot|tr)([^>]*)>", "", "ALL");
>table = REReplaceNoCase(table,
> "]*)>", "", "ALL");
>return table;
>}
>
> 
>
> 
> 
> 
>Cell 1.1
>Cell 1.2
>Cell 1.3
>Cell 1.4
> 
> 
>Cell 2.1
>Cell 2.2
>Cell 2.3
>Cell 2.4
> 
> 
> 
> 
> #HTMLEditFormat(TableToCSV(table))#
> 
>
>
>
> 
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Dale Fraser
> Sent: Monday, 24 November 2008 4:32 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Pull apart a html table
>
>
>
> I just need to get the content out, I know there is a fixed format to the
> tables, each row has three cells, and I need to extract the info from each
> cell and populate a database.
>
>
>
> I've been playing at regex to get all the rows to start with but having
> trouble, I have
>
>
>
> ]*>(.*?)", html, 1, true) />
>
> 
>
>
>
> But it only returns 2 elements in the array and there are hundreds of rows.
>
>
>
> Regards
>
> Dale Fraser
>
> http://learncf.com 
>
> http://flexcf.com 
>
>
>
>
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Steve Onnis
> Sent: Monday, 24 November 2008 4:24 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Pull apart a html table
>
>
>
> what are you wanting to do with them?
>
>
>
> 
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Dale Fraser
> Sent: Monday, 24 November 2008 4:19 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Pull apart a html table
>
> Is there an easy way to pull apart an html table.
>
>
>
> I have a heap of html where I need to loop through the html and get a
> specific table and then loop over the rows and columns.
>
>
>
> I could write all that code, but I feel like I would be reinventing the
> wheel, is this something that could be done with a regex or outside the
> scope?
>
>
>
> Regards
>
> Dale Fraser
>
> http://learncf.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: coldfusion.runtime.TemplateNotFoundException

2008-11-20 Thread Blair McKenzie
Do you have a / CF mapping?

On Fri, Nov 21, 2008 at 4:21 PM, Barry Beattie <[EMAIL PROTECTED]>wrote:

>
> > Anyone got any suggestions?
>
>
> clear the template cache in the CFIDE CF Administrator?
>
> just guessing...
>
> >
>

--~--~-~--~~~---~--~~
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: parsing as string into a text and numeric portion

2008-11-20 Thread Blair McKenzie
If you have long complex strings you can use regex to return an array
refering to each number in the string or each text block.

But the other suggestions are easiest if the string is always as simple as
you just described.

Blair

On Fri, Nov 21, 2008 at 11:24 AM, Scott Thornton <
[EMAIL PROTECTED]> wrote:

>
> needs scope:
>
> text = REReplaceNoCase(string, "[[:digit:]]", "", "All");
>
> >>> "Steve Onnis" <[EMAIL PROTECTED]> 21/11/2008 11:11 am >>>
>
> text = REReplaceNoCase(string, "[[:digit:]]", "");
> numbers = REReplaceNoCase(string, "[^[:digit:]]", "");
>
> Simple enough?
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Scott Thornton
> Sent: Friday, 21 November 2008 11:03 AM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] parsing as string into a text and numeric portion
>
>
> Hi,
>
> Given a string like acb123, is there a simple method of parsing into the
> text portion and the numeric portion.
>
> I have thought about looping of each character of the string and checking
> to
> see if it was IsNumeric.
>
> Any better ideas?
>
> 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: Purchasing Enterprise

2008-10-27 Thread Blair McKenzie
If you would like a quote contact Vanessa ([EMAIL PROTECTED]). She'll be
able to give you info about payment options.

Blair

On Tue, Oct 28, 2008 at 3:52 PM, Simon Haddon <[EMAIL PROTECTED]>wrote:

> Try Rae Burckener who is normally active on this list.
>
> On 28/10/2008, Scott Thornton <[EMAIL PROTECTED]> wrote:
>>
>>
>> HI,
>>
>> What's the best place to purchase 2 copies of CF Enterprise these days?
>> From Adobe direct or an Aussie re-seller? Bear in mind that purchasing by
>> Credit card is an absolute hassle in an organisation like mine..
>>
>> Pretty sure we have gone through Daemon before, but its been years ( still
>> running 6.1 ) since I had anything to do with purchasing cf software.
>>
>> Scott.
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> Cheers
> Simon Haddon
>
> Woman loves feeling danger and speed. That is why woman wants man.  They
> get a speed rush that is the most dangerous of all.
> >
>

--~--~-~--~~~---~--~~
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 & Daylight saving

2008-06-03 Thread Blair McKenzie
Have you checked the request flash sends?
Charlesis AMAZING for that kind of
debugging.

It also occurred to me that the other part of this process is the data -
could the problem be there?

Blair

On Wed, Jun 4, 2008 at 1:33 PM, Stephen Davey <[EMAIL PROTECTED]>
wrote:

>
> Hi Kym,
>
> We host the server so yes the daylight saving is on and timezones are
> correct on the server, I have also tried running the application on the
> server so I knew the settings for both would match and they still have the
> problem.
>
> I download the latest flash play with no effect.
>
> The windows PC has the latest updates from MS including optional updates.
>
> Thanks.
>
> Stephen Davey
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Kym Kovan
> Sent: Wednesday, 4 June 2008 10:01 AM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Coldfusion & Daylight saving
>
>
> Hi Stephen,
>
> you wrote:
> >
> > Whenever I request a date in the period 31/3/08 to 7/4/08 it's out by an
> > hour hence it causes problems with all my reports for that period.
> >
> > E.g.  31/3/08 becomes 30/3/08 at 11pm.
> >
> >  >
> > Was there a fix for the daylight saving in Australia, I have the latest
> > JVM being 1.4.2_11 .
>
> Two questions can be asked from the server end of things:-
> 1. Does the server run daylight savings at all? Many hosting shops
> don't, it's +10 here all the time.
>
> 2. If it does run daylight savings was the MS patch done? This year MS
> got caught short and the patch was not a compulsory one so unless the
> admin deliberately put it in then its not there.
>
>
> --
>
> Yours,
>
> Kym Kovan
> mbcomms
>
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.100 / Virus Database: 269.24.6/1481 - Release Date: 3/06/2008
> 7:31 PM
>
>
> >
>

--~--~-~--~~~---~--~~
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 & Daylight saving

2008-06-03 Thread Blair McKenzie
Is the date that the flash sends correct? Also, many problems like this come
up because of a time zone difference between the client and the server.

Blair

On Wed, Jun 4, 2008 at 8:39 AM, Stephen Davey <[EMAIL PROTECTED]>
wrote:

>
>
> Hi
>
>
>
> Thanks for all the replies, I am checking the JVM version from the
> coldfusion admin system info page.
>
>
>
> What I am doing is, I have a flash application which sends a date to the CF
> server to generate a report, problem is that date ends up being an hour out,
> even if the flash application is run on the same pc as the server. I would
> have thought if CF was using the OS time, there would be no problem.
>
>
>
> I was also under the impression the CF used the OS time.
>
>
>
> Perhaps is a flash problem ??
>
>
>
> *Thanks,*
>
> Stephen Davey
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Gareth Edwards
> *Sent:* Wednesday, 4 June 2008 8:27 AM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Coldfusion & Daylight saving
>
>
>
> How are you checking your JVM version?
>
> C:\ColdFusion8\runtime\jre\bin\java.exe -version
>
> Its going to be a different directory depending on what version and
> platform your on, but just make sure you don't just check the system JVM (
> or at least, on a Windows machine )
>
> Cheers
> Gareth.
>
> Stephen Davey wrote:
>
> HI All,
>
>
>
> I know this is an old subject now but it's still causing me headaches. I
> did a search of the 7000 odd entries from the list and did not find one
> mention of a daylight savings issue, did I miss thing or am I the only
> person having problems with coldfusion7 and daylight savings this year, with
> change from march 31 to April 07.
>
>
>
> Whenever I request a date in the period 31/3/08 to 7/4/08 it's out by an
> hour hence it causes problems with all my reports for that period.
>
> E.g.  31/3/08 becomes 30/3/08 at 11pm.
>
>
>
> Was there a fix for the daylight saving in Australia, I have the latest JVM
> being 1.4.2_11 .
>
>
>
> Thanks for any help.
>
>
>
> *thanks*
>
> Stephen Davey
>
>
>
>
>
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.100 / Virus Database: 269.24.5/1479 - Release Date: 2/06/2008
> 7:02 PM
>
> >
>

--~--~-~--~~~---~--~~
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: Cold Fusion 8 and CFPDF

2008-05-01 Thread Blair McKenzie
ColdFusion can create static PDFs on the fly, but not a form PDFs.

Blair

On Thu, May 1, 2008 at 10:45 PM, Claude Raiola <[EMAIL PROTECTED]>
wrote:

>  Does anyone know how to create dynamic interactive pdf forms using the
> new CFPDF function in CF8 where logos in each form can be dynamically
> generate in the same way text content is able to
>
>
>
> The objective is to make a white label application form where by each
> member can dynamically generate their own application form on the pdf
> created on the fly not only contains interactive form fields and the
> corporate details for each member as text but also  have the clients
> corporate logo appear within the pdf form as well.
>
>
>
>
>
>
>
> Kind Regards
>
> Claude Raiola
> B.Econ(Acc.); B.Hotel Mngt.
> Mobile: 0414 228 948
> Phone: 07 3666 0981
> Fax: 07 3319 6444
>
> Websites:
> www.WebsiteSolutions.com.au 
> www.AustralianAccommodation.com 
> www.AccommodationNewZealand.com 
> www.HospitalityPurchasing.net 
> www.Samaris.net 
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *John Bartlett
> *Sent:* Friday, 18 April 2008 2:24 AM
> *To:* [EMAIL PROTECTED]
> *Subject:* Re: [coldfusion-howto] Re: Secure file storage
>
>
>
> Yup. If you're accepting a path, check and block any requests that contain
> a colon or two periods in a row ( .. )
>
> -John
>
> - Original Message 
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED] 
> Subject: [coldfusion-howto] Re: Secure file storage
> Date: 04/17/2008 09:20 (Thu)
>
> > That's a bit scarey... If you let visitors specify the full path then
> > they can read your code (or anything else on your sever). Example:
> >
> > download.cfm?D:\inetpub\mydomain\wwwroot\&filename=application.cfc
> >
> > The path should not be passed via the url. Also you should check user
> > security when they hit the download.cfm page or else that url will
> > work for all users if they pass it on.
> >
> > - John
>
> __._,_.___
>
> Messages in this topic
> 
> (5) Reply (via web post)
> |
> Start a new topic
> 
>
> Messages|
> Files|
> Photos|
> Links|
> Database|
> Polls|
> Calendar
>
> ~
> *** Yahoo's No. 1 and the biggest group of ColdFusion Developers
>
> ColdFusion MX Hosting - 250 MB Space/5 GB monthly Bandwidth for just
> $19.99/year. Free Setup, ASP.NET, HELM Control Panel.
> http://www.hostingatoz.com. We also offer ColdFusion Reseller Hosting
> Plans.
>
> Post message: [EMAIL PROTECTED]
> Subscribe:  [EMAIL PROTECTED]
> Un-Subscribe:  [EMAIL PROTECTED]
>
>
> ...
>
>   [image: Yahoo! 
> Groups]
> Change settings via the 
> Web

[cfaussie] Re: adding a label/instructional text to a flashform (CF7)

2008-04-23 Thread Blair McKenzie
Also, to put multiple things on one line:




On Wed, Apr 23, 2008 at 5:09 PM, Blair McKenzie <[EMAIL PROTECTED]> wrote:

> Remember you can pass in styles, so:
> 
>
> Blair
>
>
> On Wed, Apr 23, 2008 at 4:55 PM, barry.b <[EMAIL PROTECTED]> wrote:
>
> >
> >
> >
> > Chris, that idea got shot down in flames when I suggested it an hour
> > ago. it's an admin section, nobody really cares and it's just about to
> > go live.
> >
> > to do so means that the "people picker" pop-up that puts the name
> > there for a new record needs to be reworked and then the call to it in
> > 4 other places needs to be rewritten and the whole lot to be tested
> > again. I didn't write this thing, I just gotta finish it.
> >
> > I was just trying to be somewhat nice to the users, given the lack of
> > intuititivity of the rest of the app (IMHO everyone should own a copy
> > of "Don't Make Me Think!" http://safari.oreilly.com/0321344758)
> >
> > so I take it I should just give up now and stick post-it's saying this
> > on the users machine?
> >
> > meh, no biggee.. thanx anyhoo.
> > b
> >
> >
> > On Apr 23, 4:46 pm, "Chris Velevitch" <[EMAIL PROTECTED]>
> > wrote:
> > > It looks like UserID and UserName are one in the same.
> > >
> > > Have 2 fields: FirstName and Surname and format it yourself. That way
> > > you'll get what you what and reduce the likelihood of errors.
> > >
> > > Then you don't need the instructions and the users don't have to think
> > > about what they're doing.
> > >
> > >
> > >
> > >
> > >
> > > On Wed, Apr 23, 2008 at 4:11 PM, barry.b <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > >  CF7, using FlashForms
> > >
> > > >   > > >   > > >  REQUIRED="yes" MESSAGE="name must be in the format 'Surname,
> > > >  FirstName'"
> > > >  READONLY="true" LABEL="User No.:" WIDTH="100" MAXLENGTH="8"
> > > >  STYLE="background-color:##DD;">
> > > >   > > >  REQUIRED="yes" message="Please ensire the format is 'Surname,
> > > >  FirstName'"
> > > >  READONLY="false" LABEL="Name:" WIDTH="200" MAXLENGTH="80"
> > > >  STYLE="background-color:##FF;"  />
> > >
> > > >  I wanted to add a simple message to the right of the UserName
> > textbox:
> > >
> > > >  * Please ensure the format is
> > > >  'Surname, FirstName'
> > >
> > > >  obviously straight HTML is ignored...
> > >
> > > >  suggestions?
> > >
> > > >  thanx
> > > >  barry.b
> > >
> > > --
> > > Chris
> > > --
> > > Chris Velevitch
> > > Manager - Adobe Platform Users Group, Sydney
> > > m: 0415 469 095www.flashdev.org.au
> > >
> > > Adobe Platform Users Group, Sydney
> > > April meeting: Setting Fire To Your Community
> > > Date: Mon 28th April 6pm for 6:30 start
> > > Details and RSVP onhttp://apugs2008april.eventbrite.com/- Hide quoted
> > text -
> > >
> > > - Show quoted text -
> > > >
> >
>

--~--~-~--~~~---~--~~
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: adding a label/instructional text to a flashform (CF7)

2008-04-23 Thread Blair McKenzie
Remember you can pass in styles, so:


Blair

On Wed, Apr 23, 2008 at 4:55 PM, barry.b <[EMAIL PROTECTED]> wrote:

>
>
>
> Chris, that idea got shot down in flames when I suggested it an hour
> ago. it's an admin section, nobody really cares and it's just about to
> go live.
>
> to do so means that the "people picker" pop-up that puts the name
> there for a new record needs to be reworked and then the call to it in
> 4 other places needs to be rewritten and the whole lot to be tested
> again. I didn't write this thing, I just gotta finish it.
>
> I was just trying to be somewhat nice to the users, given the lack of
> intuititivity of the rest of the app (IMHO everyone should own a copy
> of "Don't Make Me Think!" http://safari.oreilly.com/0321344758)
>
> so I take it I should just give up now and stick post-it's saying this
> on the users machine?
>
> meh, no biggee.. thanx anyhoo.
> b
>
>
> On Apr 23, 4:46 pm, "Chris Velevitch" <[EMAIL PROTECTED]>
> wrote:
> > It looks like UserID and UserName are one in the same.
> >
> > Have 2 fields: FirstName and Surname and format it yourself. That way
> > you'll get what you what and reduce the likelihood of errors.
> >
> > Then you don't need the instructions and the users don't have to think
> > about what they're doing.
> >
> >
> >
> >
> >
> > On Wed, Apr 23, 2008 at 4:11 PM, barry.b <[EMAIL PROTECTED]>
> wrote:
> >
> > >  CF7, using FlashForms
> >
> > >   > >   > >  REQUIRED="yes" MESSAGE="name must be in the format 'Surname,
> > >  FirstName'"
> > >  READONLY="true" LABEL="User No.:" WIDTH="100" MAXLENGTH="8"
> > >  STYLE="background-color:##DD;">
> > >   > >  REQUIRED="yes" message="Please ensire the format is 'Surname,
> > >  FirstName'"
> > >  READONLY="false" LABEL="Name:" WIDTH="200" MAXLENGTH="80"
> > >  STYLE="background-color:##FF;"  />
> >
> > >  I wanted to add a simple message to the right of the UserName
> textbox:
> >
> > >  * Please ensure the format is
> > >  'Surname, FirstName'
> >
> > >  obviously straight HTML is ignored...
> >
> > >  suggestions?
> >
> > >  thanx
> > >  barry.b
> >
> > --
> > Chris
> > --
> > Chris Velevitch
> > Manager - Adobe Platform Users Group, Sydney
> > m: 0415 469 095www.flashdev.org.au
> >
> > Adobe Platform Users Group, Sydney
> > April meeting: Setting Fire To Your Community
> > Date: Mon 28th April 6pm for 6:30 start
> > Details and RSVP onhttp://apugs2008april.eventbrite.com/- Hide quoted
> text -
> >
> > - Show quoted text -
> >
>

--~--~-~--~~~---~--~~
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: Application Variable

2008-04-22 Thread Blair McKenzie
It would only really be an issue if that variable was getting set to an
empty string for some reason. If two requests go through at the same time
that could cause problems. Just throwing the possibility out there - doesn't
seem likely.

On Wed, Apr 23, 2008 at 1:47 PM, Scott Thornton <
[EMAIL PROTECTED]> wrote:

>
> Possibly.. What would you recommend that i look at particularly?
>
> >>> "Blair McKenzie" <[EMAIL PROTECTED]> 23/04/2008 12:57 pm >>>
> Could there be an issue with initialising not being done inside a lock?
>
> Blair
>
> On Wed, Apr 23, 2008 at 8:36 AM, Scott Thornton <
> [EMAIL PROTECTED]> wrote:
>
> >
> > Hi,
> >
> > The last two nights I have had a problem with some of our overnight
> batch
> > type processing scheduled jobs.
> >
> > A few of them email their success when they have finished running using
> an
> > application variable in the "from" attribute of a cfmail eg
> > application.from_email_address.
> >
> > This has worked fine for over a year except the last two nights. I am
> > getting an 'Parameter is not defined" type error indicating these
> variables
> > don't exist.
> >
> > The variable is created in the Application.cfm
> >
> > 
> >
> >
> >SELECT  sb_param_value_txt
> >FROMsb_system_params
> >WHERE   sb_param_code =  > cfsqltype="cf_sql_varchar" value="FROME">
> >
> >
> > > lcase(DEFAULT_FROM_EMAIL_ADDRESS.sb_param_value_txt)>
> >
> >
> >
> >
> > 
> >
> > I can't understand why it would disappear It doesn't appear to
> happen
> > consistently multiple batch jobs use this set up, but not all of
> them
> > fail.
> >
> > Any thoughts?
> >
> > CFMX 6.1
> >
> >
> >
> >
> > >
> >
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: Application Variable

2008-04-22 Thread Blair McKenzie
Could there be an issue with initialising not being done inside a lock?

Blair

On Wed, Apr 23, 2008 at 8:36 AM, Scott Thornton <
[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> The last two nights I have had a problem with some of our overnight batch
> type processing scheduled jobs.
>
> A few of them email their success when they have finished running using an
> application variable in the "from" attribute of a cfmail eg
> application.from_email_address.
>
> This has worked fine for over a year except the last two nights. I am
> getting an 'Parameter is not defined" type error indicating these variables
> don't exist.
>
> The variable is created in the Application.cfm
>
> 
>
>
>SELECT  sb_param_value_txt
>FROMsb_system_params
>WHERE   sb_param_code =  cfsqltype="cf_sql_varchar" value="FROME">
>
>
> lcase(DEFAULT_FROM_EMAIL_ADDRESS.sb_param_value_txt)>
>
>
>
>
> 
>
> I can't understand why it would disappear It doesn't appear to happen
> consistently multiple batch jobs use this set up, but not all of them
> fail.
>
> Any thoughts?
>
> CFMX 6.1
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: MYOB as a datasource - has anyone done it?

2008-03-03 Thread Blair McKenzie
cfdbinfo give you anything?

Blair

On Tue, Mar 4, 2008 at 5:32 PM, Mike Kear <[EMAIL PROTECTED]> wrote:

>
> yes i have a ODBC DSN set up in the WinXPPro administration tools
> MYOB provide a connection test app, (click and it says "DSN OK" or
> "DSN Failed").  So i set up the ODBC DSN in WIndows, and checked it
> worked with the tool.   Yes it did.
>
> So i went to the CF8 administrator and set up a DSN there, linking
> using the ODBC Connector to the DSN mentioned in the previous
> paragraph.   Worked ok,  Clicked the "ok" button and got "OK" result.
>  Beauty! I thought - this is going great guns.
>
> Next step - go to the site and make a test page with a simple query in
> it,  and CFDUMP of the result - to check it all works that far.
> BUMMER!
>
> Back to the CFAdministrator - is the DSN still working?  Click the OK
> button - get "OK".So it looks to me like Coldfusion is connecting
> to the MYOB database, but running a query on it, even a simple select
> query not an insert or update breaks something, or alternatively it's
> not set up properly, somehow.   I've called the MYOB support area and
> they dont know anything about Coldfusion (surprise surprise) but they
> verified that I have the datasource configured correctly, at least
> as far as it gets to ColdFusion.   Once i got to talkilng about
> anything to do with ColdFusion they just went blank, 'sorry can't help
> you'..
>
> So that's why i'd really like to hear from anyone who has actually
> managed to make a CFQUERY work on a MYOB datacource.  I havent been
> able to confirm that if i set it up correctly it will indeed work.  I
> dont want to spend ages working on this if it's goign to end up that
> there's some imcompatibility between CF and MYOB or something and it's
> never going to work.
>
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
>
>
>
>
>
> On Tue, Mar 4, 2008 at 5:22 PM, Steve Onnis <[EMAIL PROTECTED]>
> wrote:
> >
> >  Have you tried using an ODBC Socket connection and connecting to that
> in CF?
> >
> >
> >
>
> >
>

--~--~-~--~~~---~--~~
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: Flex Builder as main CF IDE

2008-03-03 Thread Blair McKenzie
I think the plugin is just an option in the standard installer.

Blair

On Tue, Mar 4, 2008 at 11:03 AM, Bryce Hoffmann <[EMAIL PROTECTED]>
wrote:

>  I installed the released Flex Builder 3.
>
> Looks like the installed Eclipse Platform is 3.3.1
>
> That was the full Windows Stand-alone version. I can't find a plugin
> version? Has it not made it to release yet?
>
>
>
> Bryce Hoffmann
>
>
>
>
>  --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Joris de Beer
> *Sent:* Thursday, 28 February 2008 9:21 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flex Builder as main CF IDE
>
>
>
> No, I didn't install using Pulse, although I tried it out, I just
> installed FB3 separately. So far I'm liking FB3. I'm not getting any
> NullPointer errors in FB3 like my other Eclipse installations, and a lot of
> the Java/C++ stuff is not included so everything seems a bit neater and
> focused on WebDev which is what I was after?
>
>
>
>
>
> On 28/02/2008, at 8:56 PM, AJ Mercer wrote:
>
>
>
>  can FB3 (given that you have purchased a license), be installed using
> Pulse?
>
>  On Tue, Feb 26, 2008 at 6:06 PM, CyberAngel <[EMAIL PROTECTED]> wrote:
>
>
> Polished...
>
> That makes me laugh, as it is Eclipse...
>
> And removing what you don't need is easy, or adding what you do need is
> easy.
>
> From memory Flex Builder 3, is actually built on top of Eclipse 3.2..
>
> Now I can get the eclipse plugin, and run it in my current Eclipse 3.3
> version does that make my Eclipse just as polished now?
>
> Sorry I had to be sarcastic here;-)
>
>
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Brontojoris
> Sent: Tuesday, 26 February 2008 7:35 PM
> To: cfaussie
> Subject: [cfaussie] Flex Builder as main CF IDE
>
>
> Is anyone using Adobe Flex Builder as their main Coldfusion
> development environment?
>
> It seems to be quite a polished version of Eclipse, plus you get a lot
> of goodies for free (as in you don't need to sweat too much to make it
> work), a lot of the Java/C++ etc stuff has been junked, and there is
> some integration with the Adobe CS3 suite of apps.
>
> On the downside it is quite expensive, but compared to what the pretty
> boys in the design department have to shell out for their toys it is
> on par.
>
> Is it hard to use Flex Builder for CF only? Would be interested in
> hearing any experiences, tips, suggestions, warnings, on this topic.
>
>
>
>
>  *** Confidentiality and Disclaimer Statement *
> The information in this e-mail and any attachments are confidential and
> may be subject to legal professional privilege. It is intended solely for
> the attention and use of the named addressee(s). If you are not the intended
> recipient, or person responsible for delivering this information to the
> intended recipient, please notify the sender immediately. Unless you are the
> intended recipient or his/her representative you are not authorised to, and
> must not read, copy, distribute, use or retain this message or any part of
> it.
>
> Opinions, conclusions and other information expressed in this message are
> not given or endorsed by NCC unless otherwise indicated by an authorised
> officer independent of this message.
>
> NCC has implemented anti-virus software, and whilst all care is taken, it
> is the recipient's responsibility to ensure that the message and any
> attachments are scanned for viruses prior to use.
>
> This footnote also confirms this e-mail message has been read
> electronically by an e-mail content breakdown system.
>
> Newcastle City Council
> Web: http://www.newcastle.nsw.gov.au
> E-mail: [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] Re: removing extra spaces

2008-02-10 Thread Blair McKenzie
The 
docssay
that line feeds etc count as white space. You could use [ \t] instead
of
\s to explicitly say space or tab.

Blair

On Feb 11, 2008 3:36 PM, Taco Fleur <[EMAIL PROTECTED]> wrote:

> I'm trying to remove extra spaces in a text email with a regex
> *textString = reReplaceNoCase( textString, "\s{2,100}", "", "all" );*
>
> It works, except that it also removes new lines for some reason.
> Anyone any idea how make it so it does not remove the new lines?
>
> Thanks in advance.
>
> --
> Web Awards www.web-designers-australia.com
> Looking for a business, product or service? Try the new Australian search
> engine www.clickfind.com.au
> blog: http://australian-search-engine.blogspot.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: [cfaussie]

2008-01-22 Thread Blair McKenzie
It sounds like an error I've gotten when I've had spaces or comments before
the initial ?xml declaration. Try triming the filecontent.

Blair

On Jan 23, 2008 2:54 PM, Ian Marshall <[EMAIL PROTECTED]> wrote:

> Hi Everyone,
>
> I have an application that has been working quite nicely for over a year
> now that allows users to buy tickets for a music festival.
> But now I am getting an error when XML is returned from the payment
> gateway we use for processing credit card transactions.
>
> This is the error message: "An error occured while Parsing an XML
> document. Content is not allowed in prolog."
>
> This does not happen with every transaction only about one in five.
>
> The payment gateway hasn't changed anything, nor have I — it just started
> throwing this error.
>
> This is the code where the error occurs, specifically the line "XMLobj =
> XmlParse(cfhttp.fileContent);":
>
> 
> /* parse the response from eway (which is an XML document), this will
>convert it into an XML object for easy access to its values */
> XMLobj = XmlParse(cfhttp.fileContent);
>
> /* set eway vars from the response XML object */
> ewayTrxnStatus = XMLobj.ewayResponse.ewayTrxnStatus.XmlText;
> ewayTrxnNumber = XMLobj.ewayResponse.ewayTrxnNumber.XmlText;
> ewayTrxnReference = XMLobj.ewayResponse.ewayTrxnReference.XmlText;
> ewayTrxnOption1 = XMLobj.ewayResponse.ewayTrxnOption1.XmlText;
> ewayTrxnOption2 = XMLobj.ewayResponse.ewayTrxnOption2.XmlText;
> ewayTrxnOption3 = XMLobj.ewayResponse.ewayTrxnOption3.XmlText;
> ewayAuthCode = XMLobj.ewayResponse.ewayAuthCode.XmlText;
> ewayReturnAmount = XMLobj.ewayResponse.ewayReturnAmount.XmlText;
> ewayTrxnError = XMLobj.ewayResponse.ewayTrxnError.XmlText;
> 
>
> any ideas?
>
> cheers
> Ian
>
> >
>

--~--~-~--~~~---~--~~
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: customize "500 there is no web application configured to service your request" error

2008-01-20 Thread Blair McKenzie
It sounds like the error you get when CF isn't available. Most webservers
allow you to customise those pages.

If you want to customise CF 500 error pages, you can change the Site Wide
error page in CF admin. The only catch is that it has to be the same page
for every application on the server, so if you have more than one you need
to put in a switch. The amount of CF you can use in it depends on what kind
of error threw to the page, but I'm not really familiar with all that.

Blair

On Jan 21, 2008 8:44 AM, Taco Fleur <[EMAIL PROTECTED]> wrote:

> Hello all,
>
> I was wondering if anyone knew how to customize the 500 error "500 there
> is no web application configured to service your request"?
> I'm pretty confident I saw an article how to do it a while ago, and now I
> can't find it.
>
> --
> >>> http://www.tiggy.com.au
> Looking for a business, product or service? Try the new Australian search
> engine www.clickfind.com.au
> blog: http://australian-search-engine.blogspot.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: Cookie over SSL - vulnerability

2008-01-15 Thread Blair McKenzie
Reminds me of the "orange" captcha Jeff Atwood uses on his blog - you have
to type in orange to comment. That one absurd precaution apparently blocks
99.9% of his comment spam.

Blair

On Jan 16, 2008 12:04 PM, Taco Fleur <[EMAIL PROTECTED]> wrote:

> Hi Simon,
>
> You're probably right, and where there is a will there is always a way. In
> this case, I do see this as a SIMPLE extra step to make life more difficult
> for people looking to do harm. Any script kiddy would probably not go
> through the hassle of getting around this fix. In which case I've done my
> job ;-)
>
>
> On 1/16/08, Simon Haddon <[EMAIL PROTECTED]> wrote:
>
> > Hi Taco,
> >
> > Your probably right about receiving the response back but, then again,
> > once a tcp/ip connection is open then the ip address means nothing as a
> > packet response on the same connection would not be effected by duplicate ip
> > addresses.  As for changing your IP address. Yes, you just set it in your
> > network setting and maybe even tunneled through someone elses machine. This
> > is all theory to me as I am no tin the habit of doing this sort of thing
> > myself. The main thing to remember is that tcp/ip is not secure and can be
> > intercepted in many ways if required.  All tcp does is provide a reliable
> > network over ip.  Another method would be to use telnet even and send your
> > own custom cgi parameters or write modify your own version of a browser to
> > send the cgi parameters that you want.  Wouldn't even need to modify your
> > own IP address that way.  I am sure there are plenty more examples that ppl
> > in that field could give.
> >
> > When things are transmitted in clear text then you have to assume
> > acceptance of a certain level of risk.  The questions are probably along the
> > lines of.  How valuable is the persons data to someone else, how tempting is
> > your server for hackers for other reasons (ie, other web sites).
> >
> >
> > Cheers,
> >
> > Simon
> >
> > On 16/01/2008, Taco Fleur <[EMAIL PROTECTED] > wrote:
> > >
> > > Hi Simon,
> > >
> > > Thanks for your feedback.
> > > Really, is IP faking the easiest thing to do? I'm not being sarcastic
> > > here, just that I've been doing lot's of research into security for the 
> > > past
> > > years, and never come across something that would easily fake your IP,
> > > i.e. allowing you to make a request from IP 123.456.789.9 and make it
> > > looks like its 123.4.7.0 and still receive a response back on IP
> > > 123.456.789.9
> > >
> > > I think, yes, you can fake an IP, but can't make a request from a fake
> > > IP and also receive a response back...
> > >
> > > Please correct me if I'm wrong. Very interested to hear more about
> > > this.
> > >
> > > Cheers.
> > >
> > >
> > >  On 1/16/08, Simon Haddon < [EMAIL PROTECTED] > wrote:
> > >
> > > > IP Address faking is the easiest thing to do.  The only thing that
> > > > would be done is security by obscurity and sooner or later that would be
> > > > worked out.  You could say there are some very clever cookies out there
> > > > trying to steal your information.
> > > >
> > > > I understand that you can set a cookie in SSL but what I was
> > > > suggesting is that you don't refer to or use a cookie at all in SSL.  
> > > > Just
> > > > use your cookie for normal transaction once logged in. Might not be 
> > > > possible
> > > > cause you would probably have to change your cfapplication setting to 
> > > > switch
> > > > from no cookie to a cookie on the fly and that might reset your session.
> > > > Kinda gets complicated quickly when all you are trying to do is prevent 
> > > > the
> > > > SecureScan message.
> > > >
> > > > Another way would be to have a separate application for signon that
> > > > then passes information to your normal part of your web site with 
> > > > validated
> > > > credentials.
> > > >
> > > > Just a thought
> > > >
> > > > Simon
> > > >
> > > >
> > > >  On 16/01/2008, Taco Fleur < [EMAIL PROTECTED] > wrote:
> > > >
> > > > >  No, still looks sound to me ;-)
> > > > >
> > > > > Anyone see why this would *not* prevent a hacker stealing a cookie
> > > > > and using it?
> > > > >
> > > > >
> > > > >  On 1/15/08, Taco Fleur < [EMAIL PROTECTED] > wrote:
> > > > >
> > > > > >  Just thought of something, and this might sound stupid when I
> > > > > > wake up tomorrow
> > > > > >
> > > > > > 1. set a cookie cookie.securityHash = hash( cgi.remote_addr &
> > > > > > application.seed )
> > > > > > 2. upon each request check compareNoCase( hash( cgi.remote_addr&
> > > > > > application.seed ), cookie.securityHash ) neq 0 --> cookie
> > > > > > hijacked!
> > > > > >
> > > > > > hmmm...
> > > > > >
> > > > > >
> > > > > >  On 1/15/08, Taco Fleur < [EMAIL PROTECTED] > wrote:
> > > > > >
> > > > > > >  Thanks Simon,
> > > > > > >
> > > > > > > I realize its not unique to ColdFusion. But I had to mention
> > > > > > > it to stay on topic ;-)
> > > > > > >
> > > > > > > There are no transactions that we really need t

[cfaussie] Re: Small but large problem

2008-01-09 Thread Blair McKenzie
I'm not sure what you're doing with the LIKE comparisons in the field list.
Are you trying to return true for the matching records? It's not invalid
syntax, but my instinct says that just LocationName should be in the field
list (if at all) and the LIKE match should be in the where clause.

Blair

On Jan 10, 2008 4:31 PM, Andrew Scott <[EMAIL PROTECTED]> wrote:

>  I have spent a day on this, and I can see the potential problem but
> having one of those days where it is just not working out.
>
>
>
> I have an application that needed a bit of a tweak, and got so far before
> I ran into a problem. So here is a bit of history on this section of the
> application.
>
>
>
> I have a component that is to do with Car Hire, the Database structure is
> set in place that it is difficult to modify the database too much. It was
> all working fine until the client wanted to be able to filter results based
> on a pickup / drop off location. This then through the calculation of the
> Car Hire into total kaos.
>
>
>
> The query is as this to return the records.
>
>
>
> *Select* CarHire.CarHireId, CarHire.Location, CarHire.Inclusions,
> CarHire.CarSeats, CarHire.CarCode, CarHire.OperatorId, CarHire.CompanyId,
>
> CarHirePrices.CurrencyId, CarHire.CarGroup, CarHire.CarType,
> CarHire.RegionId, CarHire.IsActive, CarHire.GSTApplies,
>
> Currency.CU_Code, Currency.CU_Currency, Currency.CU_CountryName,
> Currency.CU_Symbol,
>
> Currency.CU_Position, Currency.CU_Rate, Currency.CU_DateEntered,
> Currency.CU_isActive,
>
> CarHireCompany.CC_Name, CarHireCompany.CC_Details,
>
> CarHirePrices.Markup, CarHirePrices.Tax, CarHirePrices.Commision,
> CarHirePrices.SellBy, CarHirePrices.CarHirePricesId,
>
> CarHireSeasonality.IsSeasonal, CarHireSeasonality.FromDate,
> CarHireSeasonality.ToDate, CarHirePrices.EnteredDate,
>
> *from*CarHire
>
> *inner* *join*  CarHirePrices *ON* CarHire.CarHireId =
> CarHirePrices.CarHireId
>
> *inner* *join*  CarHireCompany *ON* CarHire.CompanyId =
> CarHireCompany.CC_ID
>
> *inner* *join*  Currency *ON* CarHirePrices.CurrencyId = Currency.CU_ID
>
> *inner* *join*  CarHireSeasonality *ON* CarHirePrices.CarHirePricesId =
> CarHireSeasonality.CarHirePricesId
>
> *where*   CarHire.IsActive = 1
>
>
>
> Now that works, fine. I created two tables for pickup and dropoff, which
> are basic ID, CarHireId, LocationId and wanted to add it to the above code
> in a manner as.
>
>
>
> Select ...
>
> **
>
> * , PickupRegion.LocationName like '%LocationPickup%'*
>
> **
>
> **
>
> *, DropOffRegion.LocationName like '%LocationDropOff%'*
>
> **
>
> From carHire
>
> **
>
> *inner* *join*  regions as PickupRegion *ON* CarHire.CarHireId =
> CarHirePickup.CarHireId
>
> **
>
> **
>
> *inner* *join*  regions as DropOffRegion *ON* CarHire.CarHireId =
> CarHireDropOff.CarHireId
>
> **
>
> *inner* *join*  CarHirePrices *ON* CarHire.CarHireId =
> CarHirePrices.CarHireId
>
> *inner* *join*  CarHireCompany *ON* CarHire.CompanyId =
> CarHireCompany.CC_ID
>
> *inner* *join*  Currency *ON* CarHirePrices.CurrencyId = Currency.CU_ID
>
> *inner* *join*  CarHireSeasonality *ON* CarHirePrices.CarHirePricesId =
> CarHireSeasonality.CarHirePricesId
>
> *where*   CarHire.IsActive = 1
>
>
> But for some reason the query doesn't work and starts to complain, when
> there is either a Pickup or DropOff about error in syntax. Now the above was
> typed in a hurry so there maybe a problem. But when I run the query in SQL
> Manager it seems to reorganise the SQL Code so that it runs of one of the
> Location Tables, anyone have any ideas?
>
>
>
>
>
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613  9015 8628
> 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 Blair McKenzie
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:
>
>
>
> 
> 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: Derby Embeded Database (CF8) and Eclipse/FlexBuilder

2007-12-10 Thread Blair McKenzie
It is strange that such a basic feature isn't supported, but I wouldn't say
it makes Derby a toy DB. For years MySQL didn't support subqueries. It was
frustrating (and still is for those of us who still have to support those
versions) but practically every technology needs the odd workaround. e.g.
regex in coldfusion

Blair

On Dec 11, 2007 12:32 PM, Andrew Scott <[EMAIL PROTECTED]> wrote:

>  Blair,
>
>
>
> Here is the SQL to pagination code, this is a very simple example that can
> be found on most blogs including mine to be used with CFGrid.
>
>
>
> There is no way that Derby can run this code, and maxrows is not an answer
> to a problem like this.
>
>
>
> SELECT TOP #pagesize# ARTISTID, FIRSTNAME, LASTNAME, CITY, STATE
> FROM ARTISTS
> WHERE (ARTISTID NOT IN
> (SELECT TOP #page# ARTISTID
> FROM ARTISTS AS ARTISTS1 ORDER BY ARTISTID))
> ORDER BY ARTISTID
>
>
>
>
>
>
>
>
>
>
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
>
>
>
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Blair McKenzie
> *Sent:* Tuesday, 11 December 2007 12:27 PM
> *To:* cfaussie@googlegroups.com
>
> *Subject:* [cfaussie] Re: Derby Embeded Database (CF8) and
> Eclipse/FlexBuilder
>
>
>
> Um, is there a problem with using maxrows? I thought that it was included
> for just this kind of reason - variations in DB support.
>
> Blair
>
> On Dec 11, 2007 11:17 AM, Andrew Scott < [EMAIL PROTECTED]>
> wrote:
>
>
> Geoff,
>
> You can't be serious can you...
>
> In a real world example when pagination is needed, and the data is
> constantly changing it is not a good idea to cache the data and do a QoQ
> on
> the cached data.
>
> But then you knew that right?
>
> So if I am a buffoon, you must be my father.
>
>
>
>
>
> 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 Geoff Bowers
> Sent: Friday, 7 December 2007 8:07 PM
> To: cfaussie
> Subject: [cfaussie] Re: Derby Embeded Database (CF8) and
> Eclipse/FlexBuilder
>
>   On Dec 6, 1:22 am, "Andrew Scott" <[EMAIL PROTECTED]> wrote:
> > As for Geoff, I bawk at anyone who says to cache the query and do a
> > QoQ on that query. It might be a quick fix for now, but in the long
> > run it is not a quick fix and should be refactored to be the best
> > solution as quickly as possible. There is a good book that is out
> > there on Software maintenance, and why one should not look at a band
> > aid solution. Geoff's example, to me is a band aid solution and should
> > be avoided at all costs.
>
> Do I really need to respond to this sort of stuff?  I can only assume
> you go out of your way to misconstrue people's posts to make yourself
> feel important.  You are a buffoon.
>
> -- geoff
> http://www.daemon.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: Derby Embeded Database (CF8) and Eclipse/FlexBuilder

2007-12-10 Thread Blair McKenzie
Um, is there a problem with using maxrows? I thought that it was included
for just this kind of reason - variations in DB support.

Blair

On Dec 11, 2007 11:17 AM, Andrew Scott <[EMAIL PROTECTED]> wrote:

>
> Geoff,
>
> You can't be serious can you...
>
> In a real world example when pagination is needed, and the data is
> constantly changing it is not a good idea to cache the data and do a QoQ
> on
> the cached data.
>
> But then you knew that right?
>
> So if I am a buffoon, you must be my father.
>
>
>
>
>
> 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 Geoff Bowers
> Sent: Friday, 7 December 2007 8:07 PM
> To: cfaussie
> Subject: [cfaussie] Re: Derby Embeded Database (CF8) and
> Eclipse/FlexBuilder
>
>
> On Dec 6, 1:22 am, "Andrew Scott" <[EMAIL PROTECTED]> wrote:
> > As for Geoff, I bawk at anyone who says to cache the query and do a
> > QoQ on that query. It might be a quick fix for now, but in the long
> > run it is not a quick fix and should be refactored to be the best
> > solution as quickly as possible. There is a good book that is out
> > there on Software maintenance, and why one should not look at a band
> > aid solution. Geoff's example, to me is a band aid solution and should
> > be avoided at all costs.
>
> Do I really need to respond to this sort of stuff?  I can only assume
> you go out of your way to misconstrue people's posts to make yourself
> feel important.  You are a buffoon.
>
> -- geoff
> http://www.daemon.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: regex - replacing a string outside of 'tags'

2007-12-06 Thread Blair McKenzie
Glen, it look like your regex will match tag attributes. e.g. it would find
style in . Or am I missing something?

Blair

On Dec 7, 2007 7:47 AM, Adam Chapman <[EMAIL PROTECTED]> wrote:

>
> Hi Glen,
>
> Just what I was after, nice work.
>
> Thanks to all who put thought into it.
>
> Regards,
> Adam
>
> -Original Message-
> From: nkosi [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 6 December 2007 6:05 PM
> To: cfaussie
> Subject: [cfaussie] Re: regex - replacing a string outside of 'tags'
>
>
> Oops, was meant to include the output ...
>
> Look a spanner ... I am throwing the spanner span> in the works. Anyone seen my spanner?
>
> Becomes ...
>
> Look a spanner ... I am throwing the  style="color:red;">spanner in the works. Anyone seen my
> spanner?
>
> I must admit - my regex is pretty poor, I always have to refer to Mr.
> Forta's "Teach yourself Regular Expressions in 10 minutes" - ironic
> that I have probably spent well over 10 minutes referring to this
> book :|
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: regex - replacing a string outside of 'tags'

2007-12-05 Thread Blair McKenzie
Here's a stab
rereplace(mystring,"(>[^<]*)(#escapedsearchstring#)","\1\2","ALL")

Assumes the search is in an html fragment - will only find instances of the
string after a >.

Blair

On Dec 6, 2007 2:33 PM, Adam Chapman <[EMAIL PROTECTED]> wrote:

>
> Hi All,
>
> Wondering if regex wizards out there can help me with this..
>
> I want to replace a substring within a string, but ONLY if its is not a
> name/attribute of a html tag. (Between a matching pair of < > )
>
> Below is some code to illustrate the problem..
>
> 
> #myString#
> span","all") />
> #myString#
>
> This is for highlighting multiple search strings in search results.
>
> Thanks in advance for helping the regex impaired.
>
> Regards,
> Adam
>
> >
>

--~--~-~--~~~---~--~~
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: super.init( argumentsCollection = arguments ); Major dramas...!

2007-11-28 Thread Blair McKenzie
Don't know where I saw it. Maybe I was hallucinating :).

Blair

On Nov 28, 2007 10:01 PM, Adam Cameron <[EMAIL PROTECTED]>
wrote:

>
> > I think that's a bug in CF - super.xxx functions don't accept
> > argumentCollection.
>
> Which version of CF, Blair?
>
> Seems to work OK for me (7,0,2,142559, Enterprise, Windows XP).
>
> --
> Adam
> >
>

--~--~-~--~~~---~--~~
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: super.init( argumentsCollection = arguments ); Major dramas...!

2007-11-27 Thread Blair McKenzie
I think that's a bug in CF - super.xxx functions don't accept
argumentCollection. I sort of remember a work around where super was
assigned to a local variable, and then somehow argumentCollection worked on
that.

Blair

On Nov 27, 2007 9:57 PM, Taco Fleur <[EMAIL PROTECTED]> wrote:

> Hello all,
>
> We've just moved our application to the LIVE server. It was developed on
> CFMX7 Ent DevNet 7,0,1,116466
> and is now on CFMX7 Ent 7,0,2,142559
>
> super.init( argumentsCollection = arguments ); worked fine on the DEV box,
> now its moved to LIVE its giving me
> "The parameter TYPEIDENTITY to function init is required but was not
> passed in."
> I'm 100% sure the variable is passed in, its there when I dump it, so it
> can only be an issue with argumentsCollection, I remember this being an
> issue combines with super in previous versions of CF, so its probably back
> again.
>
> does anyone know anything more about this? I think I have the latest
> updates for it..
>
> Thanks in advance.
>
> >
>

--~--~-~--~~~---~--~~
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: regex not working in REFind

2007-11-13 Thread Blair McKenzie
The regex engine is CF is limited. If the CF docs on the subject don't
mention a feature then it doesn't have it. Stuff like \x7F is almost
certainly something CF doesn't support. The alternative is to use the Java's
regex. There are a few functions to do this around already.

Blair

On Nov 14, 2007 1:46 PM, theog <[EMAIL PROTECTED]> wrote:

>
> I cant seem to get this regex to work in coldfusion:
>
> [\x7F-\xFF]
>
> e.g. REFind("[\x7F-\xFF]",arguments.link)
>
> essentially I want to find if the string contains any ASCII characters
> between 127-255.
>
> This regex work fine in regexBuddy, however I assume cfusion is using
> a different regex engine.
>
> How can I get this to work in cf?
>
>
> >
>

--~--~-~--~~~---~--~~
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: JavaScript Libraries :: XML vs JSON

2007-10-29 Thread Blair McKenzie
jQuery can also process XML. Not sure of the exact syntax, but you basically
pass in XML as the response type when the request is made, and you can do
normal jQuery selections on the returned result. i.e. #id elementname

Blair

On 10/30/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
>
> What are people preferred methods of sending data to JavaScript libraries
> such as jQuery and Spry, XML or JSON?
>
> And when using ColdFusion, do you use CFCs?
>
>
> The problems I have been running into are:
>
> 1) Spry likes CF web services that return XML
> But .Net doesn't. Change the return type to String and it is happy -
> But Spry dies
>
> 2) When returning a JSON String to jQuery via a web services, it gets
> wrapped with WDDX tags and throws a spanner in the works.
>
>
> I believe CF8 has a new attribute for CFC that control the return type,
> but I am still on CF702.
>
>
> I would be very interested to see how people provide data for external
> consumption.
>
>
>
> --
>
> 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: Is there a delete version of queryAddRow()?

2007-10-10 Thread Blair McKenzie
select * from yourquery where primarykey not in (list,of,items,to,remove)

Blair

On 10/11/07, Seona Bellamy <[EMAIL PROTECTED]> wrote:
>
> Heya,
>
> Working with a large cached query here (it's used several different times
> on the page in several different ways, so we've cached the whole big query
> and then just perform QoQ's on it to get the various sub-sets we need). I've
> run into a situation where I want to be able to selectively remove certain
> records from the recordset under specific circumstances.
>
> Is this possible? I thought there might have been a function to do it,
> along the lines of queryAddRow(), but there doesn't seem to be. Anyone ever
> done this before?
>
> Any advice would be appreciated.
>
> Cheers,
>
> Seona.
>
> >
>

--~--~-~--~~~---~--~~
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: a FARCRY question: for use in Education?

2007-09-03 Thread Blair McKenzie
I'm sure other people have needed the rules like those, but that's not
saying much - you're describing very generic functionality. But developing a
rule that is both as flexible as you describe and straightforward to use is
... difficult. So usually we end up doing something more specific.

If you're looking at a new project use FC
4.
There were a lot of improvements that make it much easier to develop in. A
good place to start looking at what actual code might look like is this on
developing content
types.
Structurally rules are almost identical to content types.

Blair


On 9/3/07, Barry Beattie <[EMAIL PROTECTED]> wrote:
>
>
> many thanks Blair
>
>
> > I think you forgot to ask the actual question. :P It looks like you want
> to
> > know if FarCry can do that stuff.
>
> yep.
>
>
> > Out of the box it can't, mainly because you're describing functionality
> that
> > might only be used once.
>
> "Once" meaning only one madman would ever want such functionality? no
> one else has wanted to do this?
>
> > But FarCry is designed with extensibility in mind,
> > and you would find it trivial to develop what you want.
>
> Tapping into FarCry's API?
>
> Blair, can you suggest what part of the docs** I should look at to get
> a better picture?
>
> many thanks
> b
>
>
> ** http://docs.farcrycms.org:8080/confluence/display/FCDEV30/Home
>
> >
>

--~--~-~--~~~---~--~~
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: a FARCRY question: for use in Education?

2007-09-02 Thread Blair McKenzie
I think you forgot to ask the actual question. :P It looks like you want to
know if FarCry can do that stuff.

Out of the box it can't, mainly because you're describing functionality that
might only be used once. But FarCry is designed with extensibility in mind,
and you would find it trivial to develop what you want.

Cheers
Blair

On 9/3/07, Barry Beattie <[EMAIL PROTECTED]> wrote:
>
>
> I could sign-up and ask this on the FarCry list but, depending on the
> answer, could be the only post ever...
>
> ... so perhaps someone here might know.
>
> Sure, FarCry can be used as a CMS, but can it also work as an LMS
> (which is similar to a CMS but for Education)
>
> the main points:
>
> - conditional release (rules) of content depending on who they are:
> if you're a student but don't belong to XYZ group (and there could be
> hundreds of groups with people belonging to multiples of them) you
> don't get the content.
>
> - conditional release (rules) of content based on some arbitrary
> condition (a db call to get some value, ie: they passed their
> assignment, release the next section for them). I know it can make
> content available based on dates but I need more than that.
>
> - alternative release (rules) of content based on some arbitrary
> condition (a db call to get some value). This is different (branching)
> to conditional release (stopping).
>
>
> anyone know?
>
> thanx
> b
>
> >
>

--~--~-~--~~~---~--~~
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: CFHTTP - asynchronous?

2007-08-30 Thread Blair McKenzie
Sounds like your proxy is caching data. Caching definitely explains the 8sec
=> 0sec change.

Blair

On 8/30/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
>
> Hi Fusioneers,
>
> I am using cfhttp to download images from a remote website
> and I have a start end time around the tag and keep a running total of the
> cfhttp and a total for total execution time of the page.
>
> It is reporting that I have downloaded 391 images, totaling 26,593 KB
> (checks out with file system), in 8 seconds - total run time 173 seconds
>
> By my calculations that is 3325 KB/s
> Can that be right?
>
> Is cfhttp asynchronous?
>
> I have cfhttp connecting to a proxy server
> would that change things?
>
> I run the process a second time (images now in the proxy server)
> I get 391 images in 0 seconds (nice performance increase :-) total run
> time 67 seconds => was it it not just 8 seconds faster??
>
> I run it again without the proxy server
> the total processing time 193 seconds (increased by 10 seconds from the
> first run)
>
>
> Cheers
> Andrew
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: Query Help

2007-08-29 Thread Blair McKenzie
I agree with the others. Your problem is a text book example of what
normalising is for. Having tags represented in a separate table allows you
to find all the items with a specific tag or find all tags on a specific
item with one lightening quick select.

Blair

On 8/30/07, Haikal Saadh <[EMAIL PROTECTED]> wrote:
>
>
> I know you know it's not normalised, but why not normalise?
>
> That aside, SQL Server doesn't seem to like to do too many LIKE queries,
> in my experience. But as the others have suggested, you might want to
> look into it's full text indexing capabilities.
>
> Dale Fraser wrote:
> >
> > I have a database with a field that defines a space delimited list of
> > keywords or tags.
> >
> > For example
> >
> > Item 1
> >
> > cheese bread rice noodles
> >
> > Item 2
> >
> > cheese wine fruit rice
> >
> > There are tags against every record, and I know this isn't normalised
> > data but I need to do two things.
> >
> > 1. Generate a list of unique tags from all records
> > from about would get cheese bread wine fruit rice noodles
> >
> > 2. I also then need a query that can pull out the entries matching a tag
> >
> > For example
> >
> > Select * from table where tag like '%cheese%'
> >
> > That won't quite work as there could be a tag cheesey
> >
> > So I thought I could do
> >
> > Select * from table where ' ' + tag + ' ' like '% cheese %'
> >
> > Which would probably work, but not sure if there is a better way.
> >
> > MS SQL if that makes a difference. Was half wondering if I could setup
> > a word index to do these 2 things or similar.
> >
> > Regards
> >
> > Dale Fraser
> >
> > http://dalefraser.blogspot.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: Evaluating regular expression back references

2007-08-22 Thread Blair McKenzie
The method I've described is the only only way I know to process a regex
match with a function before replacing the string. Perl and maybe php
support that kind of functionality, but in most languages it takes a
work-around.

Blair

On 8/23/07, Steve Onnis <[EMAIL PROTECTED]> wrote:
>
>  Blair
>
> Not really what i was looking for because then i would have to escape and
> other hashes in the string because if i didnt the valuate would error
>
> for example if the string was
>
> my name is steve and my email address
> is [EMAIL PROTECTED] so if you want to email me go for it
>
> then as soon as i evaluated the string it would error because of the un
> escaped # in the font color, which would mean i would need to escape all the
> hashes rendering the cfoutput # useless.
>
> I need to be able to inject the new value directly into the REreplace so i
> am only updating what i need
>
>
>
>
>  --
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Blair McKenzie
> *Sent:* Thursday, 23 August 2007 12:34 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Evaluating regular expression back references
>
> Ooooh. I think there was a thread on this a while back - if you search the
> list for rereplace and eval it should come up.
>
> The gist is that instead of running the function (mask in your case)
> directly in the rereplace, you replace the found string with an embedded
> function, so the replacement string would be something like
> "##mask('[EMAIL PROTECTED]')##"
> and the result would be something like
> "my name is steve and my email address is #mask('[EMAIL PROTECTED]<[EMAIL 
> PROTECTED]>')#
> so if you want to email me go for it"
> Then you eval the result of the rereplace. There might be a DE in there
> somewhere too. I forget.
>
> Blair
>
> On 8/23/07, Steve Onnis <[EMAIL PROTECTED]> wrote:
> >
> >  yeah but i need to only replace the email address our of a string so
> > the string would be fore example
> >
> > "my name is steve and my email address is [EMAIL PROTECTED] so if you
> > want to email me go for it"
> >
> > I need to be able to extract the email address which is what the regular
> > expression does.  The email address could be anything so i want to be able
> > to pass the back references from the regular expression into another
> > function and be able to pass that back into the REReplace so i dont have to
> > loop over the string looking for email addresses.  Keep in mind that the
> > string would be an entire HTML page.
> >
> > Make sense?
> >
> >  --
> > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Blair McKenzie
> > *Sent:* Thursday, 23 August 2007 12:14 PM
> > *To:* cfaussie@googlegroups.com
> > *Subject:* [cfaussie] Re: Evaluating regular expression back references
> >
> >  You may be over thinking the problem. Replace already takes the whole
> > string. For that matter REReplace also takes the whole string and only
> > replaces the match - you could use
> > rereplace('[EMAIL PROTECTED]@als,'@','&123','ALL')
> > and it would still return the entire string.
> >
> > And I'm pretty sure replacelist replaces every occurrance. You just have
> > to watch out for recursive replacements.
> >
> > Blair
> >
> >
> > On 8/23/07, Steve Onnis <[EMAIL PROTECTED]> wrote:
> > >
> > >  I need to pass the whole string into the function as i want to
> > > replace every character in the email address with its&# value so i need to
> > > be able to evaluate the back references to the values of the back 
> > > references
> > > are passed into the function
> > >
> > >  --
> > > *From:* cfaussie@googlegroups.com [mailto: [EMAIL PROTECTED]
> > > *On Behalf Of *Blair McKenzie
> > > *Sent:* Thursday, 23 August 2007 10:10 AM
> > > *To:* cfaussie@googlegroups.com
> > > *Subject:* [cfaussie] Re: Evaluating regular expression back
> > > references
> > >
> > >  If you're only replacing symbols you don't really need regex.
> > > For most symbols, just replace them with their &## counterpart:
> > > replacelist(str, "@,%", "&#asc('@')#,&#asc('%')#")
> > >
> > > If you need to replace &s you need to make sure to do so before any
> > > other sym

[cfaussie] Re: Evaluating regular expression back references

2007-08-22 Thread Blair McKenzie
Ooooh. I think there was a thread on this a while back - if you search the
list for rereplace and eval it should come up.

The gist is that instead of running the function (mask in your case)
directly in the rereplace, you replace the found string with an embedded
function, so the replacement string would be something like
"##mask('[EMAIL PROTECTED]')##"
and the result would be something like
"my name is steve and my email address is
#mask('[EMAIL PROTECTED]<[EMAIL PROTECTED]>')#
so if you want to email me go for it"
Then you eval the result of the rereplace. There might be a DE in there
somewhere too. I forget.

Blair

On 8/23/07, Steve Onnis <[EMAIL PROTECTED]> wrote:
>
>  yeah but i need to only replace the email address our of a string so the
> string would be fore example
>
> "my name is steve and my email address is [EMAIL PROTECTED] so if you
> want to email me go for it"
>
> I need to be able to extract the email address which is what the regular
> expression does.  The email address could be anything so i want to be able
> to pass the back references from the regular expression into another
> function and be able to pass that back into the REReplace so i dont have to
> loop over the string looking for email addresses.  Keep in mind that the
> string would be an entire HTML page.
>
> Make sense?
>
>  ------
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Blair McKenzie
> *Sent:* Thursday, 23 August 2007 12:14 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Evaluating regular expression back references
>
> You may be over thinking the problem. Replace already takes the whole
> string. For that matter REReplace also takes the whole string and only
> replaces the match - you could use
> rereplace('[EMAIL PROTECTED]@als,'@','&123','ALL')
> and it would still return the entire string.
>
> And I'm pretty sure replacelist replaces every occurrance. You just have
> to watch out for recursive replacements.
>
> Blair
>
>
> On 8/23/07, Steve Onnis <[EMAIL PROTECTED]> wrote:
> >
> >  I need to pass the whole string into the function as i want to replace
> > every character in the email address with its&# value so i need to be able
> > to evaluate the back references to the values of the back references are
> > passed into the function
> >
> >  --
> > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Blair McKenzie
> > *Sent:* Thursday, 23 August 2007 10:10 AM
> > *To:* cfaussie@googlegroups.com
> > *Subject:* [cfaussie] Re: Evaluating regular expression back references
> >
> >  If you're only replacing symbols you don't really need regex.
> > For most symbols, just replace them with their &## counterpart:
> > replacelist(str, "@,%", "&#asc('@')#,&#asc('%')#")
> >
> > If you need to replace &s you need to make sure to do so before any
> > other symbols.
> >
> > Blair
> >
> > On 8/22/07, Steve Onnis < [EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > What I am trying to do is replace all values in a string with the &#
> > > value
> > > of the character.  This is what I have so far...
> > >
> > > ---
> > > 
> > > this is my email address  > > href="mailto: [EMAIL PROTECTED]"> [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > function mask() {
> > > var str = arguments[1];
> > > var i = 1;
> > > var length = LEN(str);
> > > var returnStr = "";
> > > for (i=1; i LTE length; i=i+1) {
> > > returnStr = returnStr & "&###ASC(MID(str, i,
> > > 1))#";
> > > }
> > > return returnStr;
> > > }
> > > 
> > > 
> > > #REReplaceNoCase(str, reg, mask("[EMAIL PROTECTED]"), "ALL")#
> > > 
> > > ---
> > >
> > > If I just return the "str" value it returns the email address but is I
> > > loop
> > > over the string I get "[EMAIL PROTECTED]" returned as the string.
> > >
> > > Is there a way around this?
> > >
> > > Steve
> > >
> > >
> > >
> >
> >
> >
>
> >
>

--~--~-~--~~~---~--~~
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: Evaluating regular expression back references

2007-08-22 Thread Blair McKenzie
You may be over thinking the problem. Replace already takes the whole
string. For that matter REReplace also takes the whole string and only
replaces the match - you could use
rereplace('[EMAIL PROTECTED]@als,'@','&123','ALL')
and it would still return the entire string.

And I'm pretty sure replacelist replaces every occurrance. You just have to
watch out for recursive replacements.

Blair


On 8/23/07, Steve Onnis <[EMAIL PROTECTED]> wrote:
>
>  I need to pass the whole string into the function as i want to replace
> every character in the email address with its&# value so i need to be able
> to evaluate the back references to the values of the back references are
> passed into the function
>
>  --
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Blair McKenzie
> *Sent:* Thursday, 23 August 2007 10:10 AM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Evaluating regular expression back references
>
> If you're only replacing symbols you don't really need regex.
> For most symbols, just replace them with their &## counterpart:
> replacelist(str, "@,%", "&#asc('@')#,&#asc('%')#")
>
> If you need to replace &s you need to make sure to do so before any other
> symbols.
>
> Blair
>
> On 8/22/07, Steve Onnis < [EMAIL PROTECTED]> wrote:
> >
> >
> >
> > What I am trying to do is replace all values in a string with the &#
> > value
> > of the character.  This is what I have so far...
> >
> > ---
> > 
> > this is my email address  > href="mailto: [EMAIL PROTECTED]">[EMAIL PROTECTED]
> > 
> > 
> > 
> > function mask() {
> > var str = arguments[1];
> > var i = 1;
> > var length = LEN(str);
> > var returnStr = "";
> > for (i=1; i LTE length; i=i+1) {
> > returnStr = returnStr & "&###ASC(MID(str, i,
> > 1))#";
> > }
> > return returnStr;
> > }
> > 
> > 
> > #REReplaceNoCase(str, reg, mask("[EMAIL PROTECTED]"), "ALL")#
> > 
> > ---
> >
> > If I just return the "str" value it returns the email address but is I
> > loop
> > over the string I get "[EMAIL PROTECTED]" returned as the string.
> >
> > Is there a way around this?
> >
> > Steve
> >
> >
> >
>
> >
>

--~--~-~--~~~---~--~~
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: Evaluating regular expression back references

2007-08-22 Thread Blair McKenzie
If you're only replacing symbols you don't really need regex.
For most symbols, just replace them with their &## counterpart:
replacelist(str, "@,%", "&#asc('@')#,&#asc('%')#")

If you need to replace &s you need to make sure to do so before any other
symbols.

Blair

On 8/22/07, Steve Onnis <[EMAIL PROTECTED]> wrote:
>
>
>
> What I am trying to do is replace all values in a string with the &# value
> of the character.  This is what I have so far...
>
> ---
> 
> this is my email address  href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]
> 
> 
> 
> function mask() {
> var str = arguments[1];
> var i = 1;
> var length = LEN(str);
> var returnStr = "";
> for (i=1; i LTE length; i=i+1) {
> returnStr = returnStr & "&###ASC(MID(str, i,
> 1))#";
> }
> return returnStr;
> }
> 
> 
> #REReplaceNoCase(str, reg, mask("[EMAIL PROTECTED]"), "ALL")#
> 
> ---
>
> If I just return the "str" value it returns the email address but is I
> loop
> over the string I get "[EMAIL PROTECTED]" returned as the string.
>
> Is there a way around this?
>
> Steve
>
>
> >
>

--~--~-~--~~~---~--~~
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: ajaxCFC Question

2007-08-20 Thread Blair McKenzie
I'm not familiar with ajaxCFC, but it sounds like you're talking about the
JS side? You could pass an empty, anonymous function, i.e. put function(){}
wherever you don't need a callback but the JS does.

Blair

On 8/20/07, jonny_noog <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
> For anyone who is familiar with Rob Gonda's ajaxCFC...
>
> I notice that in the documentation for ajaxCFC it says:
>
> Typically you will have an ajax calling function and a call-back
> function; however, none of them are mandatory, because depending on
> your needs you may not need to know the result of your call, or you
> may not need to enclose your ajax call in a function...
>
> So does this mean that I indeed do not need to have a callback
> function defined as an argument? Because I have a situation where I
> don't need a callback, but if I don't supply a callback function or if
> in place of a callback function I supply nothing or null or "", I get
> the error message "Missing callback function or metadata object."
> coming from line 331 of engine.js.
>
> I'm still pretty new to Javascript and AJAX in particular, so I'm sure
> this is probably a stupid question, but what do I pass or not pass to
> DWREngine._execute function if I don't want a callback?
>
> Any assistance much appreciated.
>
>
> >
>

--~--~-~--~~~---~--~~
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: Reg Epression help

2007-08-09 Thread Blair McKenzie
A java wrapper! Now that would be useful. Care to share Haikal?

Blair

On 8/10/07, Haikal Saadh <[EMAIL PROTECTED]> wrote:
>
>
> Java/Cf/Js isn't so bad... try vim/perl/java :)
>
> I switched to a java wrapper for regexes, so at least there's
> consistency between java and cf. And the java one's much richer.
>
> Incidentally, is reReplace in cf8 still using CF regexes or is it java
> regexes?
>
> (Break-nothing principal would say keep cf regexes?)
>
> Andrew Scott wrote:
> >
> > Thanks Blair,
> >
> >
> >
> > I hate switching between Javascript, Coldfusion, Java with that little
> > problemJ
> >
> >
> >
> >
> >
> > Andrew Scott
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au <http://www.aegeon.com.au>
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273
> >
> >
> >
> >
> >
> > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
> > *On Behalf Of *Blair McKenzie
> > *Sent:* Friday, 10 August 2007 11:02 AM
> > *To:* cfaussie@googlegroups.com
> > *Subject:* [cfaussie] Re: Reg Epression help
> >
> >
> >
> > I don't think the /.../ is supported by CF. Try removing that and the
> > gi. To do a case insensitive regex use rereplacenocase.
> >
> > Blair
> >
> > On 8/10/07, *Andrew Scott *<[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >
> >
> > This is driving me nuts anyone know why this isn't working.
> >
> >
> >
> >  > "/(<\/?META[^>]*>)/gi",'') />
> >
> >
> >
> > Andrew Scott
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au <http://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: Reg Epression help

2007-08-09 Thread Blair McKenzie
I don't think the /.../ is supported by CF. Try removing that and the gi. To
do a case insensitive regex use rereplacenocase.

Blair

On 8/10/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
>
>
> This is driving me nuts anyone know why this isn't working.
>
>
>
>  "/(<\/?META[^>]*>)/gi",'') />
>
>
>
> Andrew Scott
> 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: [OT] Javascript issue on MACs

2007-07-12 Thread Blair McKenzie
The body onLoad is triggered when the html is loaded, not when external
resources are loaded, but you should be able to attach an onLoad to the
image itself. I got more on this from another list:

load is triggered on a document, image, or frame when all of its contents
have fully loaded, we can observe the event to make sure that all of the
image has been loaded into memory.

Internet Explorer and Firefox have different interpretations of what to do
if the image is already in the browser cache. In this case, Firefox will
immediately send the load event to JavaScript, but Internet Explorer will
never send the event because no "load" actually occurred. To compensate for
this, we can use the complete property of the image element. This property
is set to true only if the image is fully loaded, so we test this value
first and start the animation if the image is ready. If the image is not yet
complete, then we wait for a load event to be triggered.

Possibly you could use the complete property when the body loads, and do
another check on image load.

Blair

On 7/4/07, Taco Fleur <[EMAIL PROTECTED]> wrote:
>
> live
>
> On 7/4/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
> >
> >  Maybe,
> >
> >
> >
> > Could be anything to do with browser patches, OS patches. Going to be a
> > tough one to fix I think.
> >
> >
> >
> > Btw is that a live site yet, or still in development?
> >
> >
> >
> >
> >
> > Andrew Scott
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273
> >
> >
> >
> >
> >
> > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Taco Fleur
> > *Sent: * Wednesday, 4 July 2007 2:41 PM
> > *To:* cfaussie@googlegroups.com
> > *Subject: * [cfaussie] Re: [OT] Javascript issue on MACs
> >
> >
> >
> > Thanks, but there are people who do have the issue, must be an outdated
> > browser or something. They've sent a screenshot, and I could see the images
> > were not there.
> >
> > On 7/4/07, *Andrew Scott* <[EMAIL PROTECTED]> wrote:
> >
> > Taco,
> >
> >
> >
> > One of the guys here tested it under Firefox on OSX10.4, as well as
> > Safari and we saw no difference to what we see on the PC running IE6/7.0 and
> > firefox.
> >
> >
> >
> >
> >
> > Andrew Scott
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.
> > www.aegeon.com.au
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273
> >
> >
> >
> >
> >
> > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Taco Fleur
> > *Sent: *Wednesday, 4 July 2007 1:05 PM
> > *To:* cfaussie@googlegroups.com
> > *Subject: *[cfaussie] Re: [OT] Javascript issue on MACs
> >
> >
> >
> > You can see images using OS9 but not OS10 using safara or explorer
> >
> > If onload would fire before the page is loaded it would cause this
> > issue, but I doubt thats teh case. But could be wrong, I don't have MACs to
> > test on.
> >
> >
> >
> >
> >
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date:
> > 3/07/2007 10:02 AM
> >
> >
> >
> >
> >
> >
> > --
> > *** { . } { . } 
> > http://www.clickfind.com.au
> > The new Australian search engine for businesses, products and services
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date:
> > 3/07/2007 10:02 AM
> >
> >
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.5.476 / Virus Database: 269.9.14/885 - Release Date:
> > 3/07/2007 10:02 AM
> >
> >
>
>
> --
> *** { . } { . } 
> http://www.clickfind.com.au
> The new Australian search engine for businesses, products and services
> >
>

--~--~-~--~~~---~--~~
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: Query Structure

2007-07-11 Thread Blair McKenzie
results.field[5]

Blair

On 7/12/07, KNOTT, Brian <[EMAIL PROTECTED]> wrote:
>
>  I'm having a slow mind afternoon
>
> How do I look at a particular record in a query using structure notation.
> E.g. results[5].field
>
>
> Brian Knott
> MIS Specialist
> Pricing and MIS CFO Banking
> Level 8 Suncorp Centre
> 36 Wickham Tce, Brisbane Q 4000
> *ext* 61984* ph* 07 3836 1984* fax* 07 3835 5455
>
> ---
>
>
> This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
> its related entities "Suncorp".
>
>  Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on
> 13 11 55 or at suncorp.com.au.
>
>  The content of this e-mail is the view of the sender or stated author and
> does not necessarily reflect the view of Suncorp. The content, including
> attachments, is a confidential communication between Suncorp and the
> intended recipient. If you are not the intended recipient, any use,
> interference with, disclosure or copying of this e-mail, including
> attachments, is unauthorised and expressly prohibited. If you have received
> this e-mail in error please contact the sender immediately and delete the
> e-mail and any attachments from your system.
>
>  If this e-mail constitutes a commercial message of a type that you no
> longer wish to receive please reply to this e-mail by typing Unsubscribe in
> the subject line.
>
>
> >
>

--~--~-~--~~~---~--~~
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: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Blair McKenzie
Reminds be of the bit Steven Colbert did - The Word -
Wikiality
.

Blair

On 7/10/07, M@ Bourke <[EMAIL PROTECTED]> wrote:
>
> "So ColdFusion is Object Oriented after all,"
>
> LOL democracy doesn't work this way.
> if democracy decided everything we'd be in a doomed world, the earth would
> still be flat, and the stars would be static in place to provide light for
> us
> and great minds would still be getting locked away for 20 years
>
> >
>

--~--~-~--~~~---~--~~
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: CF8 Bug with ReportBuilder

2007-07-10 Thread Blair McKenzie
A tutorial or two sounds good. I'd be interested in learning more about
what's involved in using the Report Builder, and what can be done with it.

Blair

On 7/11/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
>  I reported a bug with Report Builder, hope it's not too late :).
>
>
>
> But it was such an obvious thing, I never bothered reporting it as was
> sure someone would have seen it.
>
>
>
> As there were no Report Builder changes in the last release I got worried,
> so reported it and they had no idea about it by the response.
>
>
>
> Now, that leads me to wonder if hardly anyone uses the report builder?
>
>
>
> I think it's pretty cool, not Crystal that's for sure, but it does have
> some advantages, and it's very comfortable for a CF developer.
>
>
>
> Has anyone used it, if no why not?
>
>
>
> PS: Would you be interested if I did some tutorials or VIC UG preso on it?
>
>
>
> Regards
>
> Dale Fraser
>
>
>
> http://dalefraser.blogspot.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: Coldfuson is dead - why did no one tell me

2007-06-03 Thread Blair McKenzie
Unfortunately there are some key elements missing: createobject, cfimport,
custom tags, and query of queries.

Blair

On 6/4/07, Haikal Saadh <[EMAIL PROTECTED]> wrote:
>
>
> Don't forget http://smithproject.org/
>
> Open Source CF Implementation.
>
> It has most of the tags and functions CF has.
>
> Scott Barnes wrote:
>
> *snip*
> >
> > CF should be free to be honest. It's to late in the game to charge,
> > ASP is free, PHP/ROR free, JSP even Free? CF?
> >
> *snip*
>
> >
>

--~--~-~--~~~---~--~~
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-05-31 Thread Blair McKenzie
Ping

Blair

On 6/1/07, Matt Voerman <[EMAIL PROTECTED]> 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] Re: Objects in the application scope

2007-05-08 Thread Blair McKenzie
Simultaneous access mainly gets tricky if you're reading and writing the
same variables. If your functions are self-contained and only use local
function variables I wouldn't expect any problems.

Blair

On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> If i have objects of the type page, pageDAO, pageGateway.
>
> Now if i  put pageDAO and pageGateway in the application scope so that
> i don't have to re declare them .
>
> Can this cause issues, if for example two different requests try to
> access the function ( say getList() in pageGateway ) at the same
> time?
>
> I have all my variables inside each component function declared with
> var's and in the init() i declare all variables using the (variable
> scope) eg. 
>
> 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: What's it all mean for CF developers? [Flex now Open Source'd]

2007-04-26 Thread Blair McKenzie
Interesting.

Blair

On 4/27/07, Mike Chambers <[EMAIL PROTECTED]> wrote:
>
>
> fyi
>
> We will be allowing contributions. This is mentioned in the FAQ:
>
>
> http://labs.adobe.com/wiki/index.php/Flex:Open_Source:FAQ#Will_Adobe_be_allowing_external_developers_as_committers_to_the_project.3F
>
> mike chambers
>
> [EMAIL PROTECTED]
>
> Blair McKenzie wrote:
> > You shouldn't assume that open source = open contributions. Open source
> > means only one thing - the source code is publicly available. It does
> > NOT mean that Adobe is going to allow community contributions to the
> > core code base.
> >
> > In fact I would say that it is very unlikely that Flex will be opened
> > that much, if only because it would muddy the copyright/commercial
> > situation too much.
> >
>
> >
>

--~--~-~--~~~---~--~~
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's it all mean for CF developers? [Flex now Open Source'd]

2007-04-26 Thread Blair McKenzie
You shouldn't assume that open source = open contributions. Open source
means only one thing - the source code is publicly available. It does NOT
mean that Adobe is going to allow community contributions to the core code
base.

In fact I would say that it is very unlikely that Flex will be opened that
much, if only because it would muddy the copyright/commercial situation too
much.

Blair

On 4/27/07, KC Kuok <[EMAIL PROTECTED]> wrote:
>
>
> I agree with you Barry. As with the community aspect, I expect there
> will be Adobe staff assigned to help manage and push the project
> along, but there will need to be people who are not employed by Adobe
> to get fully involved. (and they have to be capable and impartial)
> Adobe will look after their own interest, and once you open source
> something, you can't un-opensource it, so i believe they would have a
> detailed plan which they would execute. Ted Patrick's Blog already put
> down a timeline for the immediate future, I hope for Flex and Adobe's
> sake they get it right.
>
> It is always good for the market to have 2 or more competiting
> technologies, as it keeps each other honest (in terms of pricing), and
> both have to constantly innovate. Means cheaper and better stuff
> faster :)
>
> On Apr 27, 11:34 am, "Barry Beattie" <[EMAIL PROTECTED]> wrote:
> > this thread didn't really go where I hoped... Angus Johnson and Andrew
> > Muller got closest (thanx guys)
> >
> > (and it looks like it's degraded into the typical off-topic slanging
> > match that [many people] are well and truly over)
> >
> > so before it collapses into a steaming pile of poo... Getting back to
> > Flex and CF (especially since Flex is for front-end UI's and CF is a
> > server technology)
> >
> >  - HTML is as good as dead! well, not really but if you're working on
> > a webapp using far too much DHTML (if it's got tabs and child windows)
> > it'll be as good as redundant and old fashioned in 12 months time. If
> > the company you're working for has no strategy for Flex and will
> > persevere with the same tired old HTML, beat the rush and get out now
> > (IMHO)
> >
> >  - AJAX is dead (as above). Except in particular situations why bother
> > when Flex will do it all? (http://developerdispatch.com/?p=253"Why
> > ActionScript 3.0 Changes Everything")
> >
> > - Accessibility enhancements (especially with screenreaders like JAWS)
> > has just taken a back-seat. MACR were making good in-roads in this
> > area but still had a way to go. If it's left to the community to
> > drive, it won't get any further. it's just not sexy enough or bring in
> > the revenue to justify continued development. It's like rural
> > pay-phones: needs subsidy from other profitable areas. (Lets face it,
> > AJAX is NOT accessible anyway)
> >
> > - The best IDE we can ever hope for will be no better than
> > FlexBuilder. I was heaps more productive with VB6 than I will ever be
> > with an Eclipse-based IDE. I'd rather have one tool that did it all
> > 100% well than have to juggle a bunch of plug-ins, each working 80%
> > well and each having their own quirks (mark this down to personal
> > preference, I suppose).
> >
> > two more points:
> >
> > I've mentioned this at CFUG's but it's worth repeating:
> >  - it's now time for CF'ers to step up to the mark on application
> > design (and this means upskilling from their HTML-based
> > request/response mindset). Who understands more about  application
> > development, networking, security, robustness and load, et al: a CF
> > programmer or a Flash designer?
> >
> > finally:
> >  - one aspect of the community involvement that worries me is the
> > dividing line on who does what - buck passing. An example - CFEclipse:
> > you'd think that the CF dictionary definitions for it would come from
> > Adobe, but no, it's expected that that the community will provide.
> > Why? And CF is a cash cow for Adobe?
> >
> > eh, my 2c only. your mileage may vary.
> > barry.b
> >
> > PS:
> > Mike Chambers a cfaussie member? that's news to me.
> > I'm not knocking this, just surprised he's at all interested in a
> > bunch of CF'ers on the other side of the world...
>
>
> >
>

--~--~-~--~~~---~--~~
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: URLs without ? - Search engine friendly URLs

2007-04-26 Thread Blair McKenzie
Have a look at url rewrites. ISAPI rewrite for IIS, Apache has it built in.
This functionality allows you to use regular expressions to alias 'pretty'
urls to url that contains a query string.

Blair

On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> I was reading something about building search engine friendly URL's
> and would like to implement this for our current site rebuild project.
>
> I read this:
> http://www.thenetprofits.co.uk/coldfusion/faq/topic.cfm?TopicID=3#answer87
>
> I like the idea, but would like to get some input into better /
> other  methods for doing this.
>
> Currently we use "  index.cfm?id=123&show=1&preview=1 " URL style.
>
> I would like to move away from 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: Version Controlling a Database

2007-04-16 Thread Blair McKenzie
Have you looks at full transaction log backups? I know that for MS SQL
Server, if you have full transaction logs it is possible to restore the
database to a particular point in time. Not exactly sure what role the
schema plays in this, but I suspect that ALTER statements are handled
exactly the same way as INSERT, UPDATE and DELETE.

Blair

On 4/16/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
>
> Btw thinking about this more, this method will not work and the reason
> being
> is how would you roll back to a previous version?
>
> You can't, without writing more scripts to do this for you... Which is
> defeating the purpose.
>
>
> 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 Haikal Saadh
> Sent: Monday, 16 April 2007 4:54 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Version Controlling a Database
>
>
> I presume you mean versioning the schema rather than the actual data?
>
> One way would be to only modify your schema using scripts (CF, or SQL).
> Then you can shove these into SVN.
>
> If you have scripts for each revision, you can then roll forward from
> versions in a fairly arbitrary manner.
>
> Andrew Scott wrote:
> > Has anyone thought about this, or is there anyone out there doing this?
> >
> > Pros and Cons woud be good please, and we use SVN so would prefer to
> > integrate into that and need be a non DB specific as well.
> >
> >
> > Andrew Scott
> > 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: [OT] Dynamic order by

2007-04-15 Thread Blair McKenzie
The order by value doesn't get returned, only the values defined in the
select list do. As far as I know the data type of your dynamic order by
shouldn't matter.

Blair

On 4/14/07, Taco Fleur <[EMAIL PROTECTED]> wrote:
>
> Its a stored procedure, and the INTEGER values need to be casted to a
> string as all values need to have the same data type.
>
> I've found the solution; I am padding the string with zeros. I think it is
> affecting the execution time drastically though (talking about 500,000
> records). Will do some more reseach, any better suggestions would be
> appreciated.
>
>
> On 4/14/07, Simon Haddon <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > Why do you have to cast at all.  This is only in your order by clause.
> > If you have to do it this way then can you build you SQL dynamically using
> > coldfusion or whatever you are using to add in the order by rather than
> > using a case statement?
> >
> > On 14/04/07, Taco Fleur <[EMAIL PROTECTED] > wrote:
> > >
> > > Hi all,
> > >
> > > I am using a dynamic order by statement;
> > >
> > > ORDER BY CASE @sort
> > >  WHEN 0 THEN CAST( COALESCE( t2.RANK, 0 ) + COALESCE( t3.RANK,
> > > 0 ) AS CHAR( 5 ) )
> > >  WHEN 1 THEN C.title
> > >  WHEN 2 THEN CAST( CEILING( [dbo].[fn_calculateDistance] (
> > > @fromLatitude, @fromLongitude, L.latitude, L.longitude ) ) AS CHAR( 9
> > > ) )
> > >  WHEN 3 THEN ( C.locality + ' ' + C.state )
> > >  WHEN 4 THEN CAST( C.price AS CHAR( 10 ) ) END ASC
> > >
> > > The problem is with the numeric values, I have to cast them as a
> > > string (to make the dynamic order by work), but in the results 114km
> > > obviously is not between 1137km and 1144km.
> > >
> > > Anyone any ideas on this?
> > > Thanks in advance.
> > > --
> > > Taco Fleur - http://www.pacificfox.com.au
> > > Web Design, Web development, Graphic Design and Complete Internet
> > > Solutions
> > > an industry leader with commercial IT experience since 1994 …
> > >
> > >
> > >
> >
> >
> > --
> > Cheers
> > Simon Haddon
> >
> > an industry leader with commercial IT experience since 1994 …
> > > >
> >

--~--~-~--~~~---~--~~
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: Looking For Programming Job?

2007-04-09 Thread Blair McKenzie
Anyone looking at this shouldn't bother. The website is just google ads and
a google search box.

Blair

On 4/9/07, John <[EMAIL PROTECTED]> wrote:
>
>
> Find Your Programming Job Vacancy and resources here -->
> http://www.jobbankdata.com/job-programming.htm
>
>
> >
>

--~--~-~--~~~---~--~~
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: Affordable Flex Training

2007-04-04 Thread Blair McKenzie
I'm interested.

Blair

On 4/5/07, Haikal Saadh <[EMAIL PROTECTED]> wrote:
>
>
> I put my hands up for Brisbane... a lovely city ; )
>
> (That's an 'interested' hand, though, not a 'commited' hand).
>
> Allan Browning wrote:
> > Getting away from the certificate discussion, is there any show of
> > hands from Brisbane that would be interested in the flex training. My
> > hand is up.
> > Having come from primarily an ASP background with  some self taught
> > coldfusion I am interested in learning a framework that will help me
> > deliver clear reuseable code.
> > The learning curve is steep and I need some help.
> >
> > Allan
> >
> > On Apr 4, 11:29 pm, "M@ Bourke" <[EMAIL PROTECTED]>
> > wrote:
> >
> >>> No offense and it sounds anti-Adobe but Certifications aren't that
> exciting
> >>>
> >> these days, Macromedia ones were kind of worthwhile but bit >fragmented
> >> nowdays (sorry).
> >>
> >> I'd disagree strongly.
> >> every job I've gotten since my certification, my certification has been
> >> brought up by the employer.
> >> they *many* do notice it.
> >> I personally wouldn't think just cos someone has a cert they are good,
> but I
> >> would see it as an example of there initiative.
> >> Also if your resume goes to a recruiter who knows nothing about CF and
> the
> >> recruiter gets 10 resumes and 2 of them are MM/Adobe CF certified, odds
> are
> >> those 2 will get placed to the top of the list.
> >> I remember when I sat the brain bench exam (cost me $20) a few other
> devs I
> >> knew laughed at me and said it was worthless, it was that certificate
> and
> >> that certificate solely that enabled my employer to find me and
> relocate me
> >> to the other side of the world all expenses paid, so that $20USD paid
> for
> >> it's self quite quick.
> >>
> >> certs are just pieces of paper but different employers view them in
> >> different ways, so you can never have to much paper if ya ask me.
> >> well to be technical there should be no paper involved all evidence of
> >> certification should be stored on solar powered servers :P
> >>
> >> 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] Re: Web Version Control

2007-03-30 Thread Blair McKenzie
I've set up Subversion to run as a service on the svn:// port and that works
very well for me. I figured out how to automatically deploy checkins to a
test server too which makes using svn a lot simpler.

Blair

On 3/30/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
>
> here is a neat article on setting up subversion with apache web server
>
> http://www.trajiklyhip.com/blog/index.cfm/2007/3/12/Configuring-a-Development-Environment-with-Apache-Subversion-TortoiseSVN-and-Subclipse
>
>
> On 3/30/07, Haikal Saadh <[EMAIL PROTECTED]> wrote:
> >
> >
> > So yeah, if you deploy subversion, what you do is deploy a web server
> > module (mod_svn on *nix, I believe there's a IIS module in the
> > distribution as well), and that will let you use subversion over HTTP.
> >
> > Note that this doesn't mean you will be able to do everything with a
> > browser. It uses the http protocol, but you'll need other bits if you
> > want to do more than just read source code with a browser.
> >
> > That said, you probably don't want to do everything with a browser; I
> > use subclipse, with eclipse, and that works quite well. You could use
> > any other svn client you wanted, though.
> >
> > Anyway, my key point is, if you need something you can transport over
> > http, subversion is it.
> >
> > Happy to answer any extra questions you may have.
> >
> >
> >
> > Scott Thornton wrote:
> > > that's what I mean.
> > >
> > >
> >  Haikal Saadh < [EMAIL PROTECTED]> 30/03/2007 4:16 pm >>>
> > 
> > >
> > > Subversion works over http, if that's what you mean.
> > >
> > > Scott Thornton wrote:
> > >
> > >> Hi,
> > >>
> > >> A colleague and I work at two different locations.. his
> > user-created version control is a bit clunky but it gets us by (well not
> > really, it is shite and does not work at all when he is off site), but what
> > I really want is a version control system that we can use over the web to
> > check in \ get files? Is there such a thing?
> > >>
> > >> I have been looking around a bit but am getting more and more
> > confused about CVS vs subversion and actually finding a product that will
> > come close to meeting out needs.
> > >>
> > >> Does anyone know of something that has web access as well as can
> > handle non text type files (such as crystal report files etc)?
> > >>
> > >> Some considerations:
> > >> We are a windows site (if we host application etc eg windows 2003, MS
> > SQL).
> > >> Dreamweaver and homesite is used.
> > >>
> > >> Thanks,
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > >
> >
> >
> >
>
>
> --
> If you are not living on the edge,
> You are taking up too much space.
> >
>

--~--~-~--~~~---~--~~
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: The "variant" data type is not supported.

2007-03-19 Thread Blair McKenzie
Doesn't ring a bell. What is the context?

Blair

On 3/19/07, Taco Fleur <[EMAIL PROTECTED]> wrote:
>
> I am getting the following in CFMX7 and MS SQL 2005
>
> The "variant" data type is not supported.
>
> Is this known, and is there a work-around?
>
> Thanks in advance.
>
> --
> Taco Fleur - http://www.pacificfox.com.au
> Web Design, Web development, Graphic Design and Complete Internet
> Solutions
> an industry leader with commercial IT experience since 1994 …
>
> >
>

--~--~-~--~~~---~--~~
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: REMINDER: QLD CFUG March meeting tonight

2007-03-13 Thread Blair McKenzie
Can't remember if I RSVP's so here it is again.

Blair

On 3/14/07, Barry Beattie <[EMAIL PROTECTED]> wrote:
>
>
> just a gentle reminder that if you're coming tonight and you haven't
> RSVP'd yet, please let us know somehow* ... and real soon, yes? thanx
>
> we're just about to organise the catering (don't want anyone missing out)
>
> and those people who RSVP'd last week: many thanx for being so prompt.(you
> don't have to RSVP again for tonight ** )
>
> cheers
> the QLD.CFUG crew
>
> ( * email off-list, txt to the mobile, ICQ, carrier pidgeon, smoke
> signals, heck at this late stage I don't care how! We've got a good
> crowd coming tonight and I bet they'll be hungry! be warned...)
>
> ( ** you know who you are!)
>
>
> > WOW! this looks like a big meeting for this months Queensland CFUG
> > and is bound to be a "not to be missed" event.
> >
> > Why? Because we're all gearing up for the next version of ColdFusion:
> > CF8, which is currently known (or so we're told) as "Scorpio".
> >
> > "but it's in beta!" you say "and none can say what's in it for fear of
> > Saurons spies finding  out"
> >
> > there's lots to find out, believe it or not, if you know where to
> > look. We have our
> > super-sleuth detectives hard at work, reading between the lines in
> > press releases, unraveling the red herrings, leaving no unturned
> > stone... er, unturned (wha-tever!)
> >
> > to prove the point, we've even tracked down a date it'll be released
> >
> http://www.numtopia.com/terry/blog/archives/2007/03/scorpio_in_august.cfm
> > (and there's other reasons of the suggested date that didn't make it
> > to the comments - come along and find out why)
> >
> > So join us this Wednesday's CFUG and discover the secrets to Dan
> > Brown's unwritten mystery thriller... "The Scorpio Code"
> > [any references to actual deities or prophets, living or dead, is
> > purely coincidental...]
> >
> >
> > Also this month, we'll be giving the subject of Flex and Coldfusion
> > Data-typing a darn good shake with full demonstrations and seeing
> > what's happening behind the scenes. What works? what's doesn't? and is
> > wishful thinking? guaranteed to save you time putting a Flex front end
> > to your ColdFusion server code.
> >
> > And, as this will be the CFUG's pre-WebDU meeting for this year, we'll
> > be looking at what's on offer at WebDU, how to try and survive wanting
> > to be in three WebDU sessions at the same time - and how to still get
> > something out of it if the boss still refuses to let you go.
> >
> >
> > so, if you're not already a member, sign up to the QLD CFUG usergroup
> > http://groups.google.com/group/qldcfug/
> >
> > and that will give us your RSVP so you can go into the prize draw (and
> > ensure we do a good job on catering)  - we hope to see you there
> >
> >
> > cheers
> > The QLD CFUG crew.
> >
> > Meeting Details: 6:30 pm - ?, Wednesday, 14th March 2007
> > If doors are locked, call 0414 328 902 for entry
> >
> > QANTM Auditorium
> > QANTM House
> > Level 9, 138 Albert St
> > Brisbane City
> > (Opposite the "Coffee Club")
> >
> > Find it on WHEREIS:
> >
> http://www.whereis.com/whereis/retrieveEmailMap.do?linkId=-;7243212240990709884
> >
> > Find it on Google Maps:
> >
> http://maps.google.com/maps?f=q&hl=en&q=138+Albert+St,+City+QLD+4000,+Australia&ie=UTF8&sll=37.0625,-95.677068&sspn=28.168051,68.90625&z=17&om=1&iwloc=addr
> >
>
> >
>

--~--~-~--~~~---~--~~
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: Another CFQUERYPARAM peculiarity

2007-03-03 Thread Blair McKenzie
Your database may accept an empty string as a date, but that doesn't mean
that cfqueryparam does.

Blair

On 3/4/07, Mike Kear <[EMAIL PROTECTED]> wrote:
>
>
> Something that's been bugging me for a while but i never got around to
> finding the reason/fix for the problem.  I figured out a workaround and
> never got back to the fix.  Here's the problem ..
>
> i have a date field in a table thats (for example) specced as follows:
>
> DateApproved (datetime) Null
>
> If i insert into that field,  I can use this in my cfquery insert
> statement no problem:
>
> 
>
> But if there's no value yet, (e.g if this record isnt approved yet)  I get
> an error.   I'd have thought if the value for DateApproved (in this example)
> is 'no value' then just having the following in the insert statement would
> work.  No?
>
> 
>
> The workaround I've been using isnt really satisfactory because it defeats
> the purpose of  the following in the insert:
>
> #createODBCDateTime(now())#   or nothing if there isn't a date yet.   I
> suppose i could ensure there is always a date, and (to use this example)
> where the recod isnt approved, set the date to 1/1/1901 or something but
> that would seem to defeat the purpose too.
>
> Anyone see what i i'm doing wrong?
>
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
>
> >
>

--~--~-~--~~~---~--~~
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: Dreamweaver regular expressions

2007-02-12 Thread Blair McKenzie
Sorry, it looks like Dreamweaver doesn't use the standard RE /.../
bracketing. Try the expressions without the slashes on the ends.

On 2/13/07, Scott Thornton <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Both searches return no results.
>
> Do underscores in table names effect that pattern? eg MY_TABLE_NAME ?
>
>
>
> >>> "Blair McKenzie" <[EMAIL PROTECTED]> 13/02/2007 2:10 pm >>>
> Assuming your table names do not include spaces:
> /INSERT INTO [^ ]* WITH (NOLOCK)/
>
> If you have indenting etc in the sql then:
> /INSERT\s*INTO\s*[^\s]*\s*WITH\s*(NOLOCK)/
>
> Blair
>
> On 2/13/07, Scott Thornton <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >
> > I need to look through my code for the INSERT INTO * WITH (NOLOCK) where
> > the * can be any table name.
> >
> > Can anyone advise what the correct syntax may be?
> >
> > ta,
> >
> > Scott Thornton, Programmer
> > Application Development
> > Information Services and Telecommunications
> > Hunter-New England Area Health Service
> > p: +61 02 49213589
> > m: 0413800242
> >
> >
> >
> > >
> >
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: Dreamweaver regular expressions

2007-02-12 Thread Blair McKenzie
Assuming your table names do not include spaces:
/INSERT INTO [^ ]* WITH (NOLOCK)/

If you have indenting etc in the sql then:
/INSERT\s*INTO\s*[^\s]*\s*WITH\s*(NOLOCK)/

Blair

On 2/13/07, Scott Thornton <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I need to look through my code for the INSERT INTO * WITH (NOLOCK) where
> the * can be any table name.
>
> Can anyone advise what the correct syntax may be?
>
> ta,
>
> Scott Thornton, Programmer
> Application Development
> Information Services and Telecommunications
> Hunter-New England Area Health Service
> p: +61 02 49213589
> m: 0413800242
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: Javascript: Enter key form submit

2007-02-04 Thread Blair McKenzie
Instead of submitting the form via code, trigger the click event on the
button. That should cause the form to submit in the same state as if the
user used the mouse instead of the keyboard.

Blair

On 2/5/07, Adam Chapman <[EMAIL PROTECTED]> wrote:
>
>
> Hi Scott,
>
> How about giving your button an id attribute.. then:
>
> document.getElementById("BTN_FIND").focus();
>
> Cheers,
> Adam
>
> PS.. untested..
>
> -Original Message-
> From: Scott Thornton [mailto:[EMAIL PROTECTED]
> Sent: Monday, 5 February 2007 9:49 AM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] OT: Javascript: Enter key form submit
>
>
> Hi,
>
> User presses enter key, I want the form to submit with the correct
> button focused.
>
> My attempt does not seem to properly focus so on the action page, the
> button BTN_FIND is not defined.
>
> 
> function trapEnterKey() {
>
> Key = window.event.keyCode;
>
> if (Key == 13)
> {
>window.event.returnValue=false;
>document.sbmt234.BTN_FIND.focus();
>document.sbmt234.submit();
> }
>
> }
> document.sbmt234.SB_CLAIM_NUMBER.onkeypress = trapEnterKey;
> 
>
> Can anyone offer a suggestion?
>
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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 - recommendations for managing my contract

2007-02-03 Thread Blair McKenzie
Talk to an accountant. Seriously. You shouldn't risk your income on second
hand advice when there are professionals available.

Blair

On 2/3/07, mercury <[EMAIL PROTECTED]> wrote:
>
>
> It looks like I'm going to have to invoice my employer on my next
> contract.  I suppose that means invoicing, PAYG, get an ABN,
> and...ummm.what else?
>
> Can anyone recommend a good open-source freebie that is built to deal
> with that kind of stuff?  Something that can keep records that
> accountants and the tax office will be happy with?
>
>
> >
>

--~--~-~--~~~---~--~~
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: Acrobat

2007-01-30 Thread Blair McKenzie
THE RULES [Ponder Stibbons' observations of the early days of Roundworld]
1. Things fall apart, but centres hold.
2. Everything moves in curves.
3. You get balls.
4. Big balls tell space to bend.
5. There are no turtles anywhere.
6. ...It's so depressing.

FYI

Blair

On 1/31/07,  <[EMAIL PROTECTED]> wrote:
>
>
> Heya!
>
> I got an interesting question for you guys. Why is the earth round.?
> That has confused me for years. Okay now the real question. I'm about
> to start a new project which is going to require us to send a "excel"
> spread sheet or an Adobe "Acrobat" file in which it has a form so they
> can fill out.
>
> I would like to go down the path of acrobat for the obvious reasons,
> but has anyone actually created a form in acrobat that posts to a
> coldfusion site to insert data?
>
> If so can you point me to the right documentation to read about how to
> do this. Also if anyone knows does acrobat allow calculations of the
> form fields? I think it would but again I'm assuming at the moment.
>
> Jeremy
>
>
> >
>

--~--~-~--~~~---~--~~
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: Google suggest functionality/spellcheck

2007-01-26 Thread Blair McKenzie
One way to get better results might be to restrict the set of potential
corrections to words that actually appear in the same document.

i.e. if the user searches for "coldfusion cfuery" the search would find
documents containing coldfusion, then try to correct cfuery by matching with
other words those documents contain instead of the entire dictionary. It
would require constant indexing of the documents though.

Blair

On 1/26/07, Pacific Fox <[EMAIL PROTECTED]> wrote:
>
>
> PS. I can pay for advice and or help on this
>
>
> >
>

--~--~-~--~~~---~--~~
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: A Big Year For QLDCFUG in 2007! (announce: first meeting Jan 31st)

2007-01-25 Thread Blair McKenzie
I'll be there too.

I'll be waiting on the roof with a large safe.

Blair

On 1/25/07, Scott Barnes <[EMAIL PROTECTED]> wrote:
>
> Look forward to it! :)
>
> (I'll come in a trench coat and dark glasses)
>
>
> On 1/25/07, Barry Beattie <[EMAIL PROTECTED]> wrote:
>
> >
> > (please forgive the x-posting with the qldcfug.googlegroups of you're
> > also a member)
> > =
> >
> > the QldCFUG team would like to welcome everyone back for what is
> > likely to be a bumper year. Lots of news and new stuff, new schwag to
> > give away, a new venue and a new meeting date.
> >
> > So full this coming year will be that we've jumped the gun with an
> > extra special CFUG to kick us into 2007 - and to keep us up to speed
> > with all the new Adobe Technology in what will be an interesting race
> > to the future. Keep ahead of the pack with your local usergroup!
> >
> > First up is a special Apollo Presentation on Wednesday 31st
> > at QANTM College in downtown Brisbane (see address details below)
> >
> > In a nutshell, Apollo is a new desktop environment with webserver
> > backend connectivity - the newist forms of RIA's that will have a
> > profound effect on the web and applications from now on.
> >
> > This special meet will introduce and give an overview of the Adobe
> > Apollo Runtime as well as what Apollo means for Coldfusion Developers.
> > There will also be a demonstration on how to build a _Desktop_ (!!!)
> > Application using Coldfusion and Flex Builder (and Apollo, of course).
> >
> > as well as heaps of news and announcements - exciting stuff!
> >
> > And in addition to a new venue, we've got a change of dates. Except
> > for this special CFUG on the 31st, the CFUG meeting dates have been
> > changed to the second Wednesday of every month (the second meeting of
> > the year will be on Wednesday 14th Feb) and held at QANTM College.
> >
> > So RSVP now so you can go into the lucky prize draw.
> >
> > =
> > RSVP Details: It's real simple: just sign up to the low traffic
> > http://groups.google.com/group/qldcfug list and in addition to being
> > in the "in" crowd, you'll go into the lucky draw for the great prizes
> > when
> > you reply to the email.
> >
> > Meeting Details:  6:30 pm - ?, Wednesday, 31st January 2007
> >If doors are locked, call 0414 328 902 for entry
> >
> > QANTM Auditorium
> > QANTM House
> > Level 9, 138 Albert St
> > Brisbane City
> > (Opposite the "Coffee Club")
> >
> > Find it on WHEREIS:
> >
> > http://www.whereis.com/whereis/retrieveEmailMap.do?linkId=-;7243212240990709884
> >
> > Find it on Google Maps:
> >
> > http://maps.google.com/maps?f=q&hl=en&q=138+Albert+St,+City+QLD+4000,+Australia&ie=UTF8&sll=37.0625,-95.677068&sspn=28.168051,68.90625&z=17&om=1&iwloc=addr
> >
> > http://www.mossyblog.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
-~--~~~~--~~--~--~---



  1   2   >