[cfaussie] Random image inside cfmodule start and end tag

2007-08-28 Thread Carl Vanderpal
Hello all, Just having one of those moments when brain wont kick into gear..!! I have a random image that is being called for a header graphic and a side bar background, which are called by css id's One is part of the start tag in the cfmodule and the other is at the end, how do I get them to

[cfaussie] Re: Random image inside cfmodule start and end tag

2007-08-28 Thread Andrew Scott
BTW, This is pedantic, but I would prefer to do something like. cfswitch expression=#thisTag.executionMode# cfcase value eq start cfset doStartTag() / cfbreak /cfcase cfcase value eq end cfset doEndTag() / cfbreak /cfcase /cfswitch cffunction name=doStartTag /cffunction

[cfaussie] Re: Random image inside cfmodule start and end tag

2007-08-28 Thread Steve Onnis
cfif thisTag.executionMode is start cfset myRandomImage = RandRange(1,5) cfset thisTag.imageName = myRandomImage / div id=headerImage_#thisTag.imageName#header image/div cfelse div id=sideImage_#thisTag.imageName#side image/div /cfif Try that Steve _ From:

[cfaussie] Re: Random image inside cfmodule start and end tag

2007-08-28 Thread Haikal Saadh
I'd be inclined to agree, but then, I think if your tag is that complex, you'd need to rethink what your tags doing, maybe use nested tags. I think. Plus, cfif thisTag.executionMode is start is idiomatic CF. (That said, I'm a firm believer in 'tags for presentation, CFCs for logic'). Andrew

[cfaussie] Re: learncf.com is Coming!

2007-08-28 Thread Raymond Camden
To be anal - the function returns a structure. It also contains the total # of rows I believe. I'm just warning folks in case they try to use it w/ returntype=query. On 8/27/07, Dale Fraser [EMAIL PROTECTED] wrote: Andrew, I think perhaps you don't understand the following line cfreturn

[cfaussie] Re: learncf.com is Coming!

2007-08-28 Thread Dale Fraser
Thanks Ray, I can imagine it could have other handy uses to split up a query. I must admit that I'm quite a fan of the new grid, it's very sexy, the paging is cool and I'm sure it will only get better. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From:

[cfaussie] Re: Any way to get a list of all cftags?

2007-08-28 Thread Charlie Arehart \(lists account\)
Easier than CFInclude? Or easier than the OO solution? I'll assume you mean the latter, and will bow out of that debate, as I have nothing more to add. And to Steve, who wondered how I could assert OO could ever be overkill, since I don't know your stance, I don't know if you're being

[cfaussie] Re: Any way to get a list of all cftags?

2007-08-28 Thread Andrew Scott
Charlie, No easier than Marks original problem, if it was a case of being able to catch the runtime exception then that would be great, problem solved. As for cfincludes, they are great as for OO in CF can make refactoring code extremely easy if you approach it right. As for bowing out, no

[cfaussie] Strange behaviour for non-english content in Eclipse

2007-08-28 Thread michael sharman
Apologies if this is off topic, I've also posted to the cfeclipse group == Hi guys, I have some Arabic content in a Word document (font is Arabic Transparent) which I need to paste into an HTML page for sending as an email. I've set my

[cfaussie] Australian postcode database

2007-08-28 Thread michael sharman
Hi guys, I need to create some store locator functionality, does anyone know where I can find an up to date copy of all postcodes with long/lat coordinates for Australia? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[cfaussie] Re: Australian postcode database

2007-08-28 Thread Duncan
you can take a look at my implementation at http://www.sixfive.co.uk/index.cfm/2007/3/25/Geocoding-Australian-Postcodes This was done back in March, and AusPost only update once every qurater or so. hope that helps! Duncan On 8/29/07, michael sharman [EMAIL PROTECTED] wrote: Hi guys, I

[cfaussie] Re: Australian postcode database

2007-08-28 Thread Andrew Scott
I suppose you tried Australia Post? 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 michael sharman Sent: Wednesday, 29

[cfaussie] Re: Australian postcode database

2007-08-28 Thread michael sharman
Hi Duncan, Thank you for that, just what I needed! @Andrew, Australia Post has a downloadable list of postcodes/suburbs freely available...but not with lat/long coords Thanks again guys, Michael On Aug 29, 10:02 am, Duncan [EMAIL PROTECTED] wrote: you can take a look at my implementation

[cfaussie] Re: Australian postcode database

2007-08-28 Thread skateboard.com.au
Hi Duncan Thats great. I have always wanted a way to plot on a map the sales locations for my online store. Now I can. thanks Drew -Original Message- From: Duncan [EMAIL PROTECTED] To: cfaussie@googlegroups.com Date: Wed, 29 Aug 2007 10:02:38 +1000 Subject: [cfaussie] Re:

[cfaussie] Re: Strange behaviour for non-english content in Eclipse

2007-08-28 Thread michael sharman
Hi Haikal, My bad...I'm actually using Aptana version 0.2.8.15637 On Aug 29, 10:34 am, Haikal Saadh [EMAIL PROTECTED] wrote: Which version of eclipse do you have? http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform Says you need at least 3.1. michael sharman wrote:

[cfaussie] Re: Any way to get a list of all cftags?

2007-08-28 Thread Charlie Arehart \(lists account\)
Well, maybe, but really, I took no offense (and meant none). I really do just mean that I have no more to offer in the thread. All said with a smile on my face. :-) /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent:

[cfaussie] changing data source in an application

2007-08-28 Thread Scott Thornton
Hi, Apologies for this question. I am attempting to fix a problem written by someone else. (truly!) The scenario is the user needs to be able to select which database to connect to from a drop down box on the password screen In Application.cfm I have: cfinclude

[cfaussie] Re: changing data source in an application

2007-08-28 Thread Steve Onnis
Cant you set it in the application scope? Select it from the srop down, pass it to the login process and if it passes set the datasource in the application scope as part of the login process. -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[cfaussie] changing data source in an application

2007-08-28 Thread Scott Thornton
Hi Steve, I am not sure what you mean. Application scope? that would effect all users of the application? Throughout the system the data source is referred to as #DSN#. without any scope at all if that helps. ( I realise this is bad, but I am stuck with it). Steve Onnis [EMAIL PROTECTED]

[cfaussie] Re: changing data source in an application

2007-08-28 Thread Steve Onnis
If its just DSN it will be a local scoped var set in the application file already so you wont be able to scope and share the var easily. You need to be able to set it as part of your application or session scope. As your using the value as part of the login I would imagine that it's a session