[cfaussie] Re: cfform flash : close window

2006-10-12 Thread Patrick Branley
I havent tested this, but the window object isnt available to you via flash. the quick n dirty way to get _javascript_ firing from a flash movie is to do thisgetURL("_javascript_: window.close()")so
hthPatOn 10/13/06, 
AJ Mercer <[EMAIL PROTECTED]> wrote:
I am after a way to close a pop-up window from a button in a cfform/flash.This is throwing a spanner in the wors   thx





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


[cfaussie] Re: Fullasagoog a waste of time.

2006-08-17 Thread Patrick Branley
oooh wait!then i find this: http://blogs.law.harvard.edu/tech/rss#ltcategorygtSubelementOfLtitemgtthe rss 2.0 spec does support categories
seems it just needs to be a case of getting bloggers to be more specific about what categories their posts relate to.. or maybe to goog aggregator more picky about what posts it includes into its blended feeds ?
PatOn 8/18/06, Patrick Branley <[EMAIL PROTECTED]> wrote:
seems like the RSS 2.0 spec doesnt quite cut it anymore.
 
ive been recently working with some podcasting apps and the iTunes music store. They have a nice little  tag u can add to items / channels
 
maybe a  tag (or some other well known rss category tag syntax ?) would help make the identification process a little easier if a few willing bloggers to update their feeds.
 
im sure ray camden could put it into his next release of blogCFC if there was enough call for it.
 
Pat 
On 8/18/06, Mark Ireland <[EMAIL PROTECTED]
> wrote:




Could the heaviest users of Goog start tagging over at del.icio.us?
Then go with the top 100 tags, maybe?




From:  "Dale Fraser" <[EMAIL PROTECTED]>Reply-To:  

cfaussie@googlegroups.comTo:  <cfaussie@googlegroups.com>


Subject:  [cfaussie] Re: Fullasagoog a waste of time.
Date:  Fri, 18 Aug 2006 09:01:26 +1000
>>Geoff,>>Thanks for the response; I'm glad you didn't take this the wrong way.>>I with most people here would like to see Goog prosper. Is there somewhere
>where people who think blogs you are aggregating are off topic can report>them.>>This way the general community can help you make Goog even better.>>PS: Robin seemed to suggest it costs a lot to host an aggregator, is this
>the case I would imagine that there wouldn't be a huge amount of traffic>since you just send the links to the source blog. But I'd be interested to>know.>>Regards>Dale Fraser

>>http://dale.fraser.id.au>>-Original Message->From: 

cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf>Of Geoff Bowers>Sent: Friday, 18 August 2006 8:31 AM
>To: cfaussie>Subject: [cfaussie] Re: Fullasagoog a waste of time.>>>Dale et al,>>Dale Fraser wrote:> > I recently dropped all my favourite feeds in Google and put in Fullasagoog
> > Coldfusion Blend instead.> >> > Wow, am I disappointed. I'm not sure what's going on, but I'm wasting my> > time here. I think someone at Fullasagoog should do something about it.
> > Here's the current top 9 Coldfusion Blend Entries>>First thing to say is generally I agree.  I'm not a great fan of "off>topic" posts myself but they clearly don't annoy me as much as they
>annoy some.>>There needs to be a bit of a reality check:>1) anecdotally -- about an equal proportion of people *want* to see>non-technical posts from CF insiders.  They feel it humanises the
>community and so on.>2) its not computationally trivial to work out what is a good and not>so good post>3) not everyone has a category that is relevant -- if i only take CF>posts from a blogger do I miss the posts they might have on JS, Flash,
>Flex, SQL etc?  Many bloggers have many technical interests.  CF itself>has many satellite subjects that should be of interest to CF>developers.>>I have plans for the next generation Goog to provide some degree of
>social interaction to widen the scope for users to be editors and hone>the relevance of posts.  I also have a variety of ideas on how to do>this computationally.>>There are some 500 hand picked blogs on Fullasagoog.  And a waiting
>list of about half that.  I review each blog before adding it.  I even>remove some blogs I find to be reliably bad.  This is a very subjective>and time consuming process.  Bloggers tools change, their posting
>habits change, there are a multitude of human variables associated with>maintaining a good feed.>>I will endeavour to find more time to address the concerns you have>raised. But in the end, Fullasagoog is not cash flow positive and is
>heavily subsidised by Daemon [1].  It's a bit of a hobby that was built>to scatch an itch of *mine* several years ago and at the moment I've>got some sort of St. Vitus dance going on trying to reach all the other
>itches.>>-- geoff>http://www.fullasagoog.com/>>[1]: 

http://www.daemon.com.au/>>>>>
>local singles online @ Lavalife - Click here 





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


[cfaussie] Re: Fullasagoog a waste of time.

2006-08-17 Thread Patrick Branley
seems like the RSS 2.0 spec doesnt quite cut it anymore.
 
ive been recently working with some podcasting apps and the iTunes music store. They have a nice little  tag u can add to items / channels
 
maybe a  tag (or some other well known rss category tag syntax ?) would help make the identification process a little easier if a few willing bloggers to update their feeds.
 
im sure ray camden could put it into his next release of blogCFC if there was enough call for it.
 
Pat 
On 8/18/06, Mark Ireland <[EMAIL PROTECTED]> wrote:




Could the heaviest users of Goog start tagging over at del.icio.us?
Then go with the top 100 tags, maybe?




From:  "Dale Fraser" <[EMAIL PROTECTED]>Reply-To:  
cfaussie@googlegroups.comTo:  

Subject:  [cfaussie] Re: Fullasagoog a waste of time.
Date:  Fri, 18 Aug 2006 09:01:26 +1000
>>Geoff,>>Thanks for the response; I'm glad you didn't take this the wrong way.>>I with most people here would like to see Goog prosper. Is there somewhere
>where people who think blogs you are aggregating are off topic can report>them.>>This way the general community can help you make Goog even better.>>PS: Robin seemed to suggest it costs a lot to host an aggregator, is this
>the case I would imagine that there wouldn't be a huge amount of traffic>since you just send the links to the source blog. But I'd be interested to>know.>>Regards>Dale Fraser
>>http://dale.fraser.id.au>>-Original Message->From: 
cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf>Of Geoff Bowers>Sent: Friday, 18 August 2006 8:31 AM
>To: cfaussie>Subject: [cfaussie] Re: Fullasagoog a waste of time.>>>Dale et al,>>Dale Fraser wrote:> > I recently dropped all my favourite feeds in Google and put in Fullasagoog
> > Coldfusion Blend instead.> >> > Wow, am I disappointed. I'm not sure what's going on, but I'm wasting my> > time here. I think someone at Fullasagoog should do something about it.
> > Here's the current top 9 Coldfusion Blend Entries>>First thing to say is generally I agree.  I'm not a great fan of "off>topic" posts myself but they clearly don't annoy me as much as they
>annoy some.>>There needs to be a bit of a reality check:>1) anecdotally -- about an equal proportion of people *want* to see>non-technical posts from CF insiders.  They feel it humanises the
>community and so on.>2) its not computationally trivial to work out what is a good and not>so good post>3) not everyone has a category that is relevant -- if i only take CF>posts from a blogger do I miss the posts they might have on JS, Flash,
>Flex, SQL etc?  Many bloggers have many technical interests.  CF itself>has many satellite subjects that should be of interest to CF>developers.>>I have plans for the next generation Goog to provide some degree of
>social interaction to widen the scope for users to be editors and hone>the relevance of posts.  I also have a variety of ideas on how to do>this computationally.>>There are some 500 hand picked blogs on Fullasagoog.  And a waiting
>list of about half that.  I review each blog before adding it.  I even>remove some blogs I find to be reliably bad.  This is a very subjective>and time consuming process.  Bloggers tools change, their posting
>habits change, there are a multitude of human variables associated with>maintaining a good feed.>>I will endeavour to find more time to address the concerns you have>raised. But in the end, Fullasagoog is not cash flow positive and is
>heavily subsidised by Daemon [1].  It's a bit of a hobby that was built>to scatch an itch of *mine* several years ago and at the moment I've>got some sort of St. Vitus dance going on trying to reach all the other
>itches.>>-- geoff>http://www.fullasagoog.com/>>[1]: 
http://www.daemon.com.au/>
>local singles online @ Lavalife - Click here 



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


[cfaussie] Re: OT: UML for eclipse

2006-08-16 Thread Patrick Branley
http://www.umlet.com/good for drawing UML diagrams in eclipse, its not a full CASE environment tho.PatOn 8/15/06, 
darryl lyons <[EMAIL PROTECTED]> wrote:
I can vouch for Visual Paradigm - haven't used it recently in Eclipse,but it is good. Comes as a standalone program as well.On 15/08/06, Chris Velevitch <[EMAIL PROTECTED]
> wrote:>> On 8/15/06, Joel Cass <[EMAIL PROTECTED]> wrote:> > Does anyone know of a really good UML IDE for eclipse? I've tried a few but> > am still leaning towards using the offerings from MS in their visual studio
> > package.. It would be good to find a good IDE that fits better with the UML> > standards..>> http://www.visual-paradigm.com/product/sde/ec/
> http://www.myeclipseide.com/> http://www.borland.com/us/products/together/index.html#eclipse
> http://www.omondo.com/>> Also, EA from Sparx Systems have an eclipse plugin> (http://www.sparxsystems.com.au/products/mdg_eclipse.html
)>> If you don't like any of these, try searching>> http://www.eclipseplugincentral.com> 
http://eclipse-plugins.2y.net/eclipse/index.jsp> http://www.eclipsezone.com/>>> Chris> --> Chris Velevitch> Manager - Sydney Flash Platform Developers Group
> www.flashdev.org.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  -~--~~~~--~~--~--~---


[cfaussie] Re: ot: db architecture question

2006-07-06 Thread Patrick Branley
To my understanding. (Please someone point out to me if they know of any special magic that SQL linked servers can do that other SQL Clients cannot)Using a 2nd SQL server instance with linked views to a 1st sql server is no more secure than having a data source directly to the 1st server.
In terms of the 1st (the secure) SQL instance - its data is being queried under a given user account that the 2nd instance has been given say (non_secure_user)so when im configuring my secure server im giving select only permissions to views X, Y, Z to non_secure_user
So as far as the 1st server is concerned if its another linked server or Coldfusion conneting via JDBC its just another client.I know *some* sysadmins are a bit thick (someone does a 6 week mcse course and they think they know everything) , but hopefully they can understand this logic and just let you query the DB directly.
PatOn 7/6/06, grant <[EMAIL PROTECTED]> wrote:
ok thanks guys - i resent the impilication it's a dailywtf though scott!anyway, you've basically clarified the issue for me. I am now armed togo back to my boss and say, we can do it this way...as for passing in parameters, yes you can query against a view with
parameters (as per dale's example above), but you can't actually calla view like you do with a stored proc where you actually *pass* theparameters to the proc. that's all i meant.it may seem a little stupid (why not just use stored procs) but it all
comes down to linked views - you can't link stored procs from oneserver to another, but you can with views. we have a view on thesecure server that gets all data relevant to my site, and that view islinked to a view on a non secure server that cf has access to. the cf
query pares back the initial dataset with parameters, but what i amafter is an abstracted way to query the secure db with thoseparameters initally. did that make sense?it looks a little like this:
secure sql server view (which is linked to the non-secure server):SELECT *FROM db1.tblclients...which returns a huge resultset.non-secure sql server view:SELECT *FROM db1.the_secure_view_above
and the coldfusion query:SELECT *FROM db2.the_non_secure_view_aboveWHERE clientid = '666'and ultimately what i'd like to be doing in CF is:SELECT *FROM db1.the_secure_view_aboveWHERE clientid = '666'
but unfortunately the ppl in control here don't want me accessingdb1(secure) directly. which let me to the initial question. and thisfollowing clarifaction.anyway, whatever, we'll get it sorted. i'm off to get my dose of
thedailywtf..
--~--~-~--~~~---~--~~
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  -~--~~~~--~~--~--~---


[cfaussie] Re: creating .doc files in Coldfusion

2006-07-05 Thread Patrick Branley
I remember looking into the use of the COM object approach in the past and somehow i think it breaks liscencing rules ?at the very least it requires a copy of office installed on th server.Pat
On 7/5/06,  <[EMAIL PROTECTED]> wrote:
Hey guys,Yeah I agree with most of what you guys have saidTurns out theywant to use com objects*sigh* no one ever listens to me.Thanks everyoneJeremy
--~--~-~--~~~---~--~~
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  -~--~~~~--~~--~--~---


[cfaussie] Re: [OT] Caching of AJAX calls.

2006-07-04 Thread Patrick Branley
Taco, what kind of content is being returned ? is it HTML you are loading on the fly or a JS file you are loading at run time ?IIS was giving us all sorts of nightmares with this problem of content not expiring, so on my dev box i serve up CSS / JS files from a .cfm page with this a the top
#myCSSContent#hthPat
On 7/3/06, darryl lyons <[EMAIL PROTECTED]> wrote:
That's what I'd do, or append a timestamp on the end.DarrylOn 03/07/06, Taco Fleur <[EMAIL PROTECTED]> wrote:>> Anybody got any tips on what to do about AJAX calls that are being cached?
> On the webserver I have set the page to expiry immediately, I also include> the required headers, the content from the AJAX calls is still being cached,> it's annoying... I guess I could include a UUID in each call.
>>> --> 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  -~--~~~~--~~--~--~---


[cfaussie] Re: dynamic cfimport

2006-07-04 Thread Patrick Branley
On thing about mappings to remember thats also kind of handy.mappings dont have to be cf-mappings it will just as happily use the webroot. so if you need to change the mapping per siteie. staging and production environments then just assume all your codebase is sitting off the webroot.
trade off = you need to put any CFC's and taglibs you need underneath your wwwroot for each siteChris, nice idea about the application.cfc - if that works COOL! but i think you need it defined on every template from memory :( this may have changed for CF7.
I just stick with the slighlty more ugly CFMODULE as you can pass a dynamic template name as an agument.PatOn 7/4/06, Chris Velevitch
 <[EMAIL PROTECTED]> wrote:
> (Slightly) longer answer:  is interpreted at 'compile time' ie.> when the CFML is converted to Java classes, so any CF variables like> Application/Request/Session aren't available to it.
That makes sense if it's done at compile time.How about if I were to create an Applicaiton.cfc and define anonRequest function and do a cfimport before I cfincluded#Arguments.Targetpage#? This would allow me to make the taglib global
to every cfm page, that way I'd have only one place to change.How does Application.cfc work with cfc's?Chris--Chris VelevitchManager - Sydney Flash Platform Developers Group
www.flashdev.org.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  -~--~~~~--~~--~--~---


[cfaussie] Re: creating .doc files in Coldfusion

2006-07-04 Thread Patrick Branley
The other option that works is just to serve up HTML and set the content type to msword/document and set the extension to *.doc in the content-disposition header.eg.
#htmlContent#Im pretty sure any version of word past about 97 will open up html files.
You can get the formatting you need by creating the doc in word then saving it as HTML. then just output all the embedded CSS that word puts into the document. Its bascially the same technique as RTF but gives you a bit nice source code to work with to apply formatting to.
hthPatps. it works with excel documents too.On 7/5/06, Mark Ireland <[EMAIL PROTECTED]
> wrote:

There is always the BLOB.




From:  "Rod Higgins" <
[EMAIL PROTECTED]>Reply-To:  cfaussie@googlegroups.comTo:  <
cfaussie@googlegroups.com>Subject:  [cfaussie] Re: creating .doc files in ColdfusionDate:  Tue, 4 Jul 2006 16:03:42 +1000
>>I've used POI successfully before. The other option is too create the word>document save it as html then use CF to create the same html and save as a
>.doc file. If the application's users have Office 2003, xml might be an>option as well.>>All options work it just depends on your needs.>>- Original Message ->From: "" <
[EMAIL PROTECTED]>>To: "cfaussie" <
cfaussie@googlegroups.com>>Sent: Tuesday, July 04, 2006 3:56 PM>Subject: 
[cfaussie] creating .doc files in Coldfusion>>> >> > Hey guys,> >> > I have a need to create word documents on the file based on data. Has> > anyone done this and if so can they point me in the right direction. I
> > had a look at lots of examples on the web using COM objects but they> > all seem to be having issues.> >> > 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  -~--~~~~--~~--~--~---


[cfaussie] Re: Tim Buntel back with Adobe!

2006-07-02 Thread Patrick Branley
True that barry.While you guys were all feeling hard-core working with these v1 products i was in year 10 :P Now i bet that makes u feel old.PatOn 7/3/06, 
Barry Beattie <[EMAIL PROTECTED]> wrote:
why does the news of Tim Buntel returning to the ColdFusion Team atAdobe degenerate into yet another testosterone-driven pissing contexton who'se used ColdFusion the longest?who cares?isn't the hear and now more important? while you guys were busy with
dbml/cfml, et all, I was VB-scripting away with ASP (classic)... andlook at how relevant that is now-a-days...simple message: Tim Buntel + CF @ Adobe = A Friendly Face and strongCF community advocate...again.
sheesh!On 7/3/06, Scott Barnes <[EMAIL PROTECTED]> wrote:>> I was sitting inside a cave one night, when it occured to me that maybe
> there is more to HTML then meets the eye. I then proceeded to Yahoo! (all> the kids were using it then) and see if i could unearth something more..> something.. DYNAMIC!.>> It didn't take me long before I settled on two languages. ASP which is all
> the hype, the next VB for microsoft apparently. Coldfusion, was the other,> little obscure but gaining momentum fast.>> So I used it and from there I was able to bring live footage online, of how
> my other cave-folk were able to conjure live flickering spirit walkers> before our eyes, thus bringing forth a great glow and warmth - which would> later be called "fire" to the kids of today.
>> Good times. On 7/3/06, M@ Bourke <[EMAIL PROTECTED]>> wrote:> >> > Didn't ASP come out in December 1996??
> >> >> >> > On 7/2/06, Peter Tilbrook <[EMAIL PROTECTED] > wrote:> > >> > > I took it up as the webmaster for Dynamite Internet (then Canberra's
> largest ISP) when the ASP powered site broke for no reason.> > >> > > That was when I heard about Cold Fusion 1.0.> > >> > > Haven't looked back since!> > >
> > >> > >> > >> > >> >> >> >> >> > > >> >>
--~--~-~--~~~---~--~~
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  -~--~~~~--~~--~--~---


[cfaussie] Re: Includes

2006-06-27 Thread Patrick Branley
Another point to rememberIf you use custom tags called via CFMODULE or their own variables scope!soApplication.cfmindex.cfmmytag.cfm#tr("test")#wont work since the cfmodule creates a unquie variables scope. The solution is to use either
1. Request Scope2. Application Scopeor 3. a CFC instance / struct or function reference itself that you pass as an attribute to the tag.hthPat
On 6/27/06, Dale Fraser <[EMAIL PROTECTED]> wrote:















How do you include a function to be available on
every page.

 

We have a translate function that needs to be
available every page, and cant get this to work without putting the


 

I thought we could have just put the function in
application.cfm

 

And it would have been available, but this
doesn't work.

Regards
Dale Fraser

 

 












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


[cfaussie] Re: Eclipse vs Dreamweaver

2006-06-09 Thread Patrick Branley
Cool stuff cfeclipse/eclipse has the DW/Homesite Doesnt
 
1. UTF-8 . Homesite has a dodgy issue with utf-8 and can break xml files and multi-lingual pages because of its automatic insertion of the BOM marker. Admittedly DW does support UTF8
 
2. Tasks/bookmarks. Theres a neat little feature in CFEclipse with  notes you can put into your CFM/CFC files that gives you a runnign task list of things that require completion. very handy for team development or just rmemebering what you were doing at days/weeks end when you come back to your code.

 
3. methods view. For the life of me i cant work out why DW doesnt have a methods view that doesnt require RDS
 
4. Eclipse Web Tools Project WTP. This set of plugins give you XML,CSS & Javscript edting fuctionality. Used in combination with the 'outline' view of eclipse and they let you easily navigate though long files right the the section you are after.

 
5. another feature of WTP is a DB Exprlorer that you can use similar to sql query analyser. i use it to keep a record of all the db updates and manual sql hacks i do so then i dont forget about them when i put the site into production.

 
6. Regular _expression_ Find / Replace - once you get a handle on regex's they are very handy.
 
7. Adobe RDS plugin and wizards. Although DW and HS both have the rds support the eclipse plugin also as wizards so you can create your own CFC's on the fly.
 
8. File Compare. Side by side comparision of two versions of the same file is very handy when you want to compare DEV v Production versions of files (because some naughty developer changed something in one version an not another!)

 
 
9. Local History. Eclipse stores cvs-style the changes to your files in its local history. very handy if you want to restore back to an old version of a file.
 
 
10. ANT support. Ant scripts are cool xml files you can write to produce builds of your codebase and even FTP them up to your sever.
 
 
Those would be my top 10 features of eclipse. + the billions of plugins you can get make it far superior to DW and HS.
 
Pat
  
On 6/10/06, Chad Renando <[EMAIL PROTECTED]> wrote:
Used both CFEclipse and DW for single-developer environment, severalyears on DW, about 12 months on Eclipse.  From discussions in the
past, it seems to be personal preference.  DW has a bad stigma frombeing a resource hog, but now that I have a faster 'puter, I'm back toDW.  I don;t use design view and frequently bounce back and forthbetween coding and ftp in the same app, which is good.
ChadOn 6/9/06, Chris Velevitch <[EMAIL PROTECTED]> wrote:>> I use eclipse because of it's intergration with version control. I use
> cvs and vss and plan to use subversion or Darcs. Plus it has local> history as well.>>> Chris> --> Chris Velevitch> Manager - Sydney Flash Platform Developers Group
> www.flashdev.org.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  -~--~~~~--~~--~--~---


[cfaussie] Re: calling COM on a remote server.

2006-05-31 Thread Patrick Branley
We need this because we run 10 loadbalanced CF machines,what the ? thats huge!
the biggest ive heard about in aus is 4 machines  ? anyone running any bigger installs than that ? On 6/1/06, 
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
We are looking to make the move to CF7.1 from 6.1 and the followingcode is proving to be a problem.
192.168.0.101"type="COM" name="talker" class={C89B6335-B690-11D5-8A14-00D0B790C084}>In 6.1 CF connects to the com correctly on the other machine and we areable to carry out the actions. We need this because we run 10 load
balanced CF machines, and the COM program is quite heavy so we cantinstall it on all the machines.On running this code on a cf 7 box I get the folowing: An exception occurred when instantiating a Com object.
The cause of this exception was that: AutomationException: 0x80040154 -Class not registered.The error occurred in C:\inetpub\wwwroot\testai.cfm: line 21 :2 : 192.168.0.101"type="COM" name="talker" class={C89B6335-B690-11D5-8A14-00D0B790C084}>3 :Why does this work in 6 and not in 7?Any healp GREATLY appreciated
RegardsDuncan
--~--~-~--~~~---~--~~
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  -~--~~~~--~~--~--~---


[cfaussie] Re: How do myQuery["columnName"] ?

2006-05-21 Thread Patrick Branley
dunno. 

but it doesnt really matter, either way you hav access to publich method 'getString(columnName)'

and whatever it is internally you can convert back n forth to a jdbc.sql.recordset

http://www.petefreitag.com/item/73.cfm

PatOn 5/22/06, Barry Beattie <[EMAIL PROTECTED]> wrote:
>>  works because you actually have a java object of type jdbc.recordsetare you *sure* it's a recordset, not a hashtable?

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


[cfaussie] Re: How do myQuery["columnName"] ?

2006-05-21 Thread Patrick Branley
MyQuery.getString("columnName") works because you actually have a java object of type jdbc.recordsetor evaluate("myquery.columnName") works too.Pat
On 5/22/06, Mark Mandel <[EMAIL PROTECTED]> wrote:
Hey all,This seems like a stupid question, but I can't seem to figure itIf I have a query, called 'myQuery' I can do:(1)   myQuery.column
and it will output fine.I can do:(2)   myQuery[column][myQuery.currentRow]and it will output fine
But if I do:(3)   myQuery[column]I get the error:Complex object types cannot be converted to simple values.
Is option (2) the only way to handle dynamic column names?I had thought option 3 would work.. but it doesn't seem to...Help?Mark--E: [EMAIL PROTECTED]
W: www.compoundtheory.comICQ: 3094740


[cfaussie] Re: External XML Entities with CF 7...

2006-05-14 Thread Patrick Branley
Hi KaiIve noticed the same thing with DTD's it seems whatever you do, it only goes 1 level deep with the validation.if you try to do for example XHTML validation and point it to:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtdwhich contains references to other DTD files that define the symbols like   etc.   "-//W3C//ENTITIES Symbols for XHTML//EN"
   "xhtml-symbol.ent">it wont pick them up.the only solution ive found is to manually create a DTD file, either via hard-coding included content or building the DTD via CF and using CFINCLUDES to get the included entity references.
If you find a solution, i would love to hear about it!PatOn 5/15/06, Kai Koenig ( ZeroOne ) <[EMAIL PROTECTED]
> wrote:Hi folks,I'm just trying to break down a large XML document into several
smaller pieces using . For some reason CF 7's XMLengine doesn't like the way I'm doing it:a.xml:
]>&configuration;b.xml:abca.xml and b.xml are in the same folder.Given the concept of entities, that should work (and it actually
does work with IE's built-in XML parser). If I read a.xml by usingCFFILE and do an XMLParse(), it doesn't even dump the result ofXMLParse, only display is "unkown object type".It actually makes a huge difference, when I use a full URL
in my ENTITY tag:http://server/path/to/b.xml">or even
works fine and a dump of the XML object after XMLParse deliversexactly what I want.The issue is that I need to be able to just provide thefilename, there's no way of puttin a complete path.
I'm just wondering if that is some issue with particularlythe XML parser in CF? Any ideas?CheersKai__Kai KoenigDigital solutions architect
Macromedia Certified Master Instructor (CF, Flex)Macromedia Certified Professional (CF, Flash)ZeroOne (NZ) LimitedLevel 4, United Building,107 Customhouse QuayP.O Box 9918, Marion SquareWellington, New Zealand
Office: +64   4 471 4448Mobile: +64  27 567 1007Fax:+64   4 499 0019e-mail: [EMAIL PROTECTED]URL:www.zeroone.co.nz

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


[cfaussie] Re: Whats so bad about the tag syntax?

2006-05-11 Thread Patrick Branley
On 5/11/06, Scott Barnes <[EMAIL PROTECTED]> wrote:
On 5/10/06, Dale Fraser <[EMAIL PROTECTED]> wrote:>> Two things wrong with Tag based code.>> 1. Other developers when they see ColdFusion code hate it and immediately
> dismiss it as not a real languageI hate those clowns, not because I am a Coldfusion Disciple but simplybecause they appear to be Techno-Religious fanatics who spend moretime stroking their own egos and worth because they know some
"higher-level" language rather then focusing on the problem at hand.There are no such things as an "un-real" language, a language does amultititude of things for various contexts, so anyone who rants that
trash are simply techno-cowards who are only two evolution cyclesabove being classed as a monkey.True that. These are the same clowns that come up with products like C++ server pages. 
http://www.micronovae.com/default_csp.htmlI have a hard enough time trying to get pages to work cross browser let alone worring about pointer referencing and memory managment.
 > 2. You need to write about double the amount of code every time
>> >> >> for (i=1; i<=10; i++) {>> }>> See the differences in the amount of characters typed in this simple
> example.Depends on your context of use and more importantly your IDE. At timesthe cfloop does seem verbose, but i actually prefer the cfloop viaeditors like Dreamweaver as they appear to be faster. I used to sit in
the ecma space quite a lot so fingers to keyboard, i'd pump out thefor() approach faster... yet when in Dreamweaver it would seem fastervia tag based. I say that as my mindset was so used to rightclick,tabbing and data entry in a monkey see monkey do type mode of attack -
ie it's pretty much the same concept of how "Green Screen" terminalusers process day to day tasks yet in such a rapid manner.I've read a research paper on the power of macros and keyboardinteraction, i'll see if i can google it and resurrect it, as it was
quite an interesting read.On a side note, I do appreciate the schema approach to definingmachine instructions on various workflows of different types. In FLEXyou can flip in and out of the Tag based approach aswell as the ECMA
approach. This is somewhat useful as while the ECMA approach is stillmy preferred for component development (feels more controllable) - yet- the tag based approach is also equally more suited to structure and
high level layout approach.Furthermore, having tag based approach also feels natural in terms ofdefining ones own language. At times we live in a semantic-u-topiawhereby we have tags that have a fairly defined universal meaning to
appease the die-hard verb geeks. Yet at times they don't make sense tothe average person.If you will, you have a CFLOOP approach to looping over and index from1 to X. Now typically the motions of setting this up seems
traditionally 1 to #variable#. So it could be argued that in order tohave a more defined and "happy" approach one could simply go CFITERATEto="#variable#" then on the off chance you do want to mix things up or
adjust the defaults (index=i or from=1) you can have that option.. butthey basically become "optional" attributes.Thats the power you have with the tag based approach in coldfusion andflex, you can extend them and make your own language.
Point: They are just tools, use them to suite your needs not live anddie by them and feel they are simply yet another constraint on yourdevelopment cycle(s).>> Regards> Dale Fraser
> > From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
> Of Patrick Branley> Sent: Wednesday, 10 May 2006 09:10 AM> To: cfaussie@googlegroups.com> Subject: [cfaussie] Whats so bad about the tag syntax ? was: where have all
> the cf developers gone ?>> I have to say i dont mind using the tag-based syntax for writing code. I> would argue rather than making CF script ECMA compliant they should make the> tag-based syntax XML valid! Who wants to write in the ugly Perl-like syntax
> of Php ? And its not so much writing it as it is reading other people's code> who dont know how to comment correctly.>> CF is not the only tag-based language out there. .NET has custom tags & java
> has taglibs. They are a good way of writing simple logic as part of a> tag-based page.>> What i think is missing from CF (and can someone confirm this is possible> with JRun / CF Enterprise ) is a way of writing java objects and deploying
> them to the server on the fly just as you would write a CFC ? If so, then> its just a matter of providing some Java APIs to the existing CF> functions/tags in a java syntax (which would already exist id say, but just
> arent documented)>> If all of that was available then the workflow would be like this:>

[cfaussie] Whats so bad about the tag syntax ? was: where have all the cf developers gone ?

2006-05-09 Thread Patrick Branley
I have to say i dont mind using the tag-based syntax for writing code. I would argue rather than making CF script ECMA compliant they should make the tag-based syntax XML valid! Who wants to write in the ugly Perl-like syntax of Php ? And its not so much writing it as it is reading other people's code who dont know how to comment correctly.
CF is not the only tag-based language out there. .NET has custom tags & java has taglibs. They are a good way of writing simple logic as part of a tag-based page.What i think is missing from CF (and can someone confirm this is possible with JRun / CF Enterprise ) is a way of writing java objects and deploying them to the server on the fly just as you would write a CFC ? If so, then its just a matter of providing some Java APIs to the existing CF functions/tags in a java syntax (which would already exist id say, but just arent documented)
If all of that was available then the workflow would be like this:1. CFM pages with tag-based syntax for presenting HTML content.2. POJO's for where you would currently use CFC's (but with the advantage of them being instantly deployable, rather than code-complie-deploy)
Pat

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


[cfaussie] Re: Flavours of Linux and Coldfusion.

2006-05-06 Thread Patrick Branley
Ive have had a cf7 ent install going on a fedora core 4 box - but it was a bit of a hassle to install. Steven Erat has a some awsome blog posts if you are going down this path
http://www.talkingtree.com/blog/as for monitors, i dont have one set up on that box and i just use a product called webmin. It lets you administer most of the server options (start/stop services etc) as well as apache settings.
anything else i juse use ssh.hthpatOn 5/6/06, David Heacock <[EMAIL PROTECTED]
> wrote:CF will also run well under SUSE Linux. We have it running on SUSE with
JRun, MySQL, Flash Media Sever 2 and vertiry Spider. No problems.

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


[cfaussie] Re: Slightly OT - I hate inherited queries

2006-05-04 Thread Patrick Branley
get rid of the brackets on the inner join, from what i can tell they are doing sweet FA.inner joins are eqivalent to a WHERE join , dont use join unless you are doing OUTERs .you should also consider creating a VIEW in the db so you dont have to do all the joins for every query.
PatOn 5/5/06, Seona Bellamy <[EMAIL PROTECTED]> wrote:
Hi guys,

I've inherited an extremely complex query for our site's classified
listings. I've managed to make it slightly less complicated since I've
changed the table structure in the database somewhat - I felt it
somewhat unnecessary to have the data divided into quite as many tables
as they had.

Sadly, however, the query is now giving me errors. This is the query in all its ghastly glory:

---
           
    
           
        SELECT DISTINCT cl.ID,
cl.TradingAs, "groupA" as ordertype, "Outside your area:" as area
           
        FROM (category c INNER JOIN
(classifieds cl INNER JOIN c_classifiedHasCategory chc ON cl.ID =
chc.classifiedID) ON c.categoryID = chc.categoryID) INNER JOIN
c_classifiedStatus cs ON cl.statusID = cs.statusID) INNER JOIN
c_classifiedType ct ON cl.classifiedTypeID = ct.classifiedTypeID) INNER
JOIN c_classifiedHasRegion chr ON cl.ID = chr.classifiedID) INNER JOIN
c_classifiedRegion cr ON chr.regionID = cr.regionID) INNER JOIN
c_classifiedRegionHasBSP r2b ON cr.regionID = r2b.regionID) INNER JOIN
postcoderaw pcr ON r2b.BSPName = pcr.BSPName
           
        WHERE cl.expiryDate >=

           
        AND cs.statusID=
           
        AND c.categoryID in
(#listqualify(form.category,"'",",","all")#)
                    
           
        AND pcr.Pcode <>

           
        AND
cl.ID not in (#listqualify(inThisArea,"'",",","all")#)
                    
           
        AND ct.classifiedTypeID in
(#listqualify("#application.uuid.classifiedtype.platinum#","'",",","all")#)
                    UNION
           
        SELECT DISTINCT cl.classifiedID,
cl.TradingAs, "groupB" as ordertype, "Outside your area:" as area
           
        FROM (category c INNER JOIN
(classifieds cl INNER JOIN c_classifiedHasCategory chc ON cl.ID =
chc.classifiedID) ON c.categoryID = chc.categoryID) INNER JOIN
c_classifiedStatus cs ON cl.statusID = cs.statusID) INNER JOIN
c_classifiedType ct ON cl.classifiedTypeID = ct.classifiedTypeID) INNER
JOIN c_classifiedHasRegion chr ON cl.ID = chr.classifiedID) INNER JOIN
c_classifiedRegion cr ON chr.regionID = cr.regionID) INNER JOIN
c_classifiedRegionHasBSP r2b ON cr.regionID = r2b.regionID) INNER JOIN
postcoderaw pcr ON r2b.BSPName = pcr.BSPName
           
        WHERE cl.expiryDate >=

           
        AND cs.statusID=
           
        AND c.categoryID in
(#listqualify(form.category,"'",",","all")#)
                    
           
        AND pcr.Pcode <>

           
        AND
cl.ID not in (#listqualify(inThisArea,"'",",","all")#)
                    
           
        AND ct.classifiedTypeID in
(#listqualify("#application.uuid.classifiedtype.premium#,#application.uuid.classifiedtype.standard#","'",",","all")#)
           
        order by area, ordertype,
tradingas
                
-

I'm getting the following error from it:

Error Executing Database Query. Syntax error or access violation: You have an 
error in your SQL syntax. Check the manual that corresponds to your MySQL server 
version for the right syntax to use near ') INNER JOIN postcoderaw pcr ON 
r2b.BSPName = pcr.BSPName The error occurred on line 59. 


Now, line 59 is actually not the line with all the joins on it. Line 59
is the final "AND ct.classifiedTypeID in" and so is several lines
further on. This has me completely stumped. I can't find anything wrong
with either the line that they call by number or the line that they
call by content.

Can anyone else suggest what may be the problem here?

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


[cfaussie] Re: Where have all the CF developers gone?

2006-05-04 Thread Patrick Branley
My 2cps. i have no idea what your job is paying, just commenting in general here.You kinda have to wonder why someone with CS degree would bother with a less than 50k CF postion in Sydney. If im a recent grad i can get pretty much that in an grad program for any big corporate with a nice big company name to put on my cv instead of a webshop nobody has heard of + they are more willing to pay for training. (hands up those who work for a webshop and had to beg to get to webDU ? - small companies dont have resources of the big corporates )
having said that personally ive allways worked in small shops and they do have their advantages when you have a good team of specialist staff.What some people have said eariler about some of the best programmers not having a 'piece of paper' - this can go either way ive found. Sometimes you get people who have 5 yrs CF experience and they know every tag back-to-front, but they dont have a clue about data structures, design patterns, orders of complexity, db normalisation etc  - core parts you learn in a CS degree that teach you why its a bad idea to do certain things in code and why indexes on tables are actually faster etc. and then again you get people with CS degrees who have never seen the inside of an IDE! - so yeh, it goes both ways.
I think it depends on what you define as a good 'programmer' vs a good 'developer'just cos you can cut good code doesnt mean you can1. get it done on time and within budget2. communicate well with management to make the job run smoothly
speaking of which, must get back to 'work' :)Pat On 5/5/06, Barry Beattie <[EMAIL PROTECTED]
> wrote:> They don't exactly walk out of uni with any knowledge of CF
man, I tried, y'know. gave it a really good shake in 2003 teaching CFto about 120 students. only 2 that I know of ever took it further(g'day RobS).but then I was gone and they switched to PHP, claiming market
relivance or some bull. it was a *multimedia* training college too -what with remoting, etc it's come full circle...this has all been touched on before:
http://groups.google.com/group/cfjobs/browse_frm/thread/d4338bf71cc2915fhttp://groups.google.com/group/cfjobs/browse_frm/thread/6d3e15d9baad3458
http://groups.google.com/group/cfjobs/browse_frm/thread/dc2e85f4ef609064if you've got some great ideas that are easy to do (we're all busy
working our own jobs, yes?)etc.On 5/5/06, Dale Fraser <[EMAIL PROTECTED]> wrote: Wow,>>>
> So The jobs went to India>> The dot com companies closed So there should be more people than jobs. I actually think
 The CF people have re skilled in something else like .NET>> They no longer look for CF positions cause there are heaps of .NET ones And I agree with the point about uni's. There's only 2 ways that I see to
> get a CF developer skilled. You teach them> They teach themselves They don't exactly walk out of uni with any knowledge of CF, but this goes
> for lots of languages. RMIT teach C, C++, Java, PHP Regards>> Dale Fraser>  >>> From: 
cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf> Of M@ Bourke>  Sent: Thursday, 4 May 2006 8:38 PM
>>  To: cfaussie@googlegroups.com>  Subject: [cfaussie] Re: Where have all the CF developers gone?>>>
> >Where are all the good CF developers these days?>>  Well it all started back  in Nineteen-dickety-two. We had to say "dickety"> because the Kaiser had stolen the wold "twenty". I chased that rascal to get
> it back, but gave up after dickety-six miles.>  what happened was everyone seemed to think computers were gunna take> peoples jobs and these computers were going to create them self and manage> them self, then media seemed to show every tom dick and harry were making
> several hundred million $'s so all these kids thought "I'll go to uni and> then get a job at a company that simply has rolls of stock on the wall and> ya simply go up and grab as much stock as ya want"
>>  then all these companies with rolls of stock on the wall went kaboom and> people were laid off all over the place, so then all these people were like> "dam, S$%# this is whacked!! I'm not going to become a millionaire overnight
> dam" and stopped enrolling in uni all over the world, but some still> enrolled but the qty of enrolling students declined every year.>>  Then some bright spark said every job is going to India cos India is this
> high tech hub with 1billion + people, so then less and less students> enrolled in uni and continues today.>  Most didn't look at the stats and realise most of India is poor, less then> 5% even have access to a computer and out of the 5% that do, less then 1%
> would even have heard of the term HTML, and with all these new jobs that> were supposedly going to India no1 stopped to think "hey how did India> happen to get millions of highly skilled highly *experienced* developers?
> were they all just sitting there the last 10 years doing nothing? or were> there all these massive 

[cfaussie] Re: How to speed up a Related Select Query?

2006-04-20 Thread Patrick Branley
Yeh, just as big a query as building a JS Array on load would handle.The advantage is that this time each request will return a smaller JSArray that the original. the trade off is that you *potentially* have more requests to the server to get all the data. This is assuming that all the data is returned at some point, but in reality this is not the case.
PatOn 4/18/06, Jonas H <[EMAIL PROTECTED]> wrote:
Can CFAJAX handle big queries?? Are there any limits of how "much" itcan handle??The examples only show a few records.ThanksJonas
--~--~-~--~~~---~--~~
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  -~--~~~~--~~--~--~---


[cfaussie] Re: Directory watcher for standard edition

2006-04-20 Thread Patrick Branley
the best you will do is cfschedule on a 1min schedule to continuously poll for the existance of a file.ORcfhttp to a script with a massive timeout once you start the process that creates the file you are waiting for, then just have the file loop until the file you are after exists OR the page times out.
the problem here is that you will pretty much permanantly hog a thread until the fie you want gets created. This is a big problem if you want a 24x7 directory watcher. However its not too bad if your doing something like sending a text file to some other process to pickup and your just waiting for the file to be removed from the folder.
On 4/19/06, Chris Velevitch <[EMAIL PROTECTED]> wrote:
Where can I find the equivalent of the directory watcher gateway forcf standard edition? I want to be able to use my existing directorywatcher code without change.Chris--Chris Velevitch
Manager - Sydney Flash Platform Developers Groupwww.flashdev.org.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  -~--~~~~--~~--~--~---


[cfaussie] Re: How to speed up a Related Select Query?

2006-04-17 Thread Patrick Branley
Two options.1. dont use that tag and write you own. Its using a JS Array that its caching on the client to do the related load. This is allways going to make the page load slower. as its loading up n*m number of records each time the page loads.
The alternative is to use AJAX or an IFrame to return the related query data.http://www.indiankey.com/cfajax/examples/list.htm2. Add an ID index if it doesnt already have one to your table.
hthPatOn 4/17/06, Jonas H <[EMAIL PROTECTED]> wrote:
Hi,I have been working on a related select i.e. 2 dropdowns where thesecond one is depended of the first one.I have been using this customtag http://tutorial218.easycfm.com/
 and itis all working OK.I am using the related select when choosing locality and postcode. Ihave used the csv file that you can download from Australia postswebsite and imported it to my MySQL database. The problem I have is
that it is REALLY slow. I am using cachedWithin in the query but itdoesn't seem to help much. Anyone have any ideas how to speed it up.ThanksJonas
--~--~-~--~~~---~--~~
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  -~--~~~~--~~--~--~---


[cfaussie] Re: Select Boxes

2006-03-27 Thread Patrick Branley
what about pre-loading the set of data into a JS Array then adding onchange event to the select to populate the 2nd value into a div aligned to the right of the select ?On 3/27/06, 
grant <[EMAIL PROTECTED]> wrote:
yeah, what steve said. maybe even a div with it's overflow set to scroll.On 3/27/06, Steve Onnis <[EMAIL PROTECTED]> wrote:>> ok>
> No its not possible>> look at some custom DHTML dropdown box>> Steve>> -Original Message-> From: cfaussie@googlegroups.com
 [mailto:cfaussie@googlegroups.com]On> Behalf Of KNOTT, Brian> Sent: Monday, March 27, 2006 10:39 AM> To: 
cfaussie@googlegroups.com> Subject: [cfaussie] Re: Select Boxes I first want to see if it is not possible.  That's why I'm asking this> group, before look at what else can be done.
>> Brian>> -Original Message-> From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com
]> Sent: Monday, 27 March 2006 9:37 AM> To: cfaussie@googlegroups.com> Subject: [cfaussie] Re: Select Boxes>>> When the solution the client recommends is not possible, go back to
> the objectives.  The client is asking for the second piece to be right> aligned, but their objective is likely to differentiate 2 types of> information for selection.>> Take a step back and see if there is a different way to achieve this
> objective, including not having the information in the same dropdown> or even in a drop down at all, or some other way to identify the> second set of data as different, such as prepending characters.
>> Chad> who thinks outside the box... even if the box he started with was pretty> small>> On 3/27/06, KNOTT, Brian <[EMAIL PROTECTED]
> wrote:> >> >> >> > Is there any way to have to items in a select box, one left aligned> and one> > right aligned.  I have a customer who want to display 2 pieces of
> > information in the dropdown box, but have the second piece right> aligned.> >> >> >> > Brian Knott> >> >> 
> ---> >> > 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

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


[cfaussie] Re: [OT] Re: Commonwealth Games warps the space time continuum

2006-03-19 Thread Patrick Branley
it does have a webcam in it tho. not sure how good an open flame and webcams play nicely together!On 3/20/06, Haikal Saadh <
[EMAIL PROTECTED]> wrote:Darren Tracey wrote:> My question from all this is this:
> Why wasn't the Queen's batton on fire? What's the point of running a> stick all around the place if its not burning?!>Yeah... what's with that? It's like a cheap version of the chaser onKITT... but not red... and doesn't make whooshwhoosh sounds...
--Haikal Saadh, Applications ProgrammerTeaching and Learning Support ServicesK405, Queensland University of Technology, Kelvin Grove Campus[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  -~--~~~~--~~--~--~---


[cfaussie] Re: Weird Error

2006-03-12 Thread Patrick Branley
#returnedCode# is ur problem. whatever sets that variable is setting it to 'connection failure' sounds like a variable clash to me.check the logic of ur page and see if returnedCode is being used in more than 1 spot.
ps using a cfquery name as 'response' is very dodgy. Response usually would refer to the http request response, not a query.even qResponse would be better. but id suggest qResponseCodes. or even qresponseCodes.
readability or 'intrinsic documentation' is the most important type of code documentation in my opinion.My 2c + rantPatOn 3/12/06, 
Carl Vanderpal <[EMAIL PROTECTED]> wrote:
I am looking at the other code before and after this code is called, to check to see if there is anything triggering it..Stored Proceedure Table Namesp_get_ResponseCodes_Details
Stored Proceedure:CREATE PROCEDURE sp_get_ResponseCodes_Details
 @Code intASSELECT *FROM ResponseCodesWHERE Code = @CodeGOHere is what called it..
        sp_get_ResponseCodes_Details #returnedCode#On 3/12/06, Patrick Branley
 <[EMAIL PROTECTED]> wrote:

how is that sql being generated ? is it just a cfstoredproc call ? or is there content comming from somewhere else to generate the cfquery call ?
'Connection Failure' can come from CFHTTP or cfschedules when cf cant make a connection. or u have some weired variable clashing problem going on.
my 2c patOn 3/12/06, darryl lyons <

[EMAIL PROTECTED]> wrote:


Is the stored procedure actually called "sp_get_ResponseCodes_DetailsConnection Failure" ? If not, then that is even more weird.DarrylOn 3/12/06, Carl Vanderpal <


[EMAIL PROTECTED]> wrote:> can anyone explain what is going on here, as things were working a few weeks> back but not now..>> It is running on CF 4.5 and like the guys the other day saying they are
> updating a CFModuled spaghetti nightmare (I know how you feel).> I have checked the stored proceedure and all looks in working order.>>> :)>> ===> Error Occurred While Processing Request
> Error Diagnostic Information>> ODBC Error Code = 37000 (Syntax error or access violation)>>  [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax> near 'Failure'.
>> SQL = "sp_get_ResponseCodes_Details Connection Failure">> Data Source = "--Removed--">> The error occurred while processing an element with a general identifier of
> (CFQUERY), occupying document position (173:2) to (173:121).>> Date/Time: 03/12/06 14:45:16> Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:

1.8.0.1)
> Gecko/20060111 Firefox/1.5.0.1> Remote Address: 60.240.64.217> HTTP Referer:> 


https://mysite/ssl/checkout/checkout5.cfm?CFID=9323407&CFTOKEN=13768207>> ===>>>> > Postal: Po Box 3462 Dural, NSW 2158> Email: mailto:




-- 
Postal: Po Box 3462 Dural, NSW 2158Email: mailto:
[EMAIL PROTECTED] FireFly Internet Phone: 80011777





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


[cfaussie] Re: Weird Error

2006-03-12 Thread Patrick Branley
how is that sql being generated ? is it just a cfstoredproc call ? or is there content comming from somewhere else to generate the cfquery call ?'Connection Failure' can come from CFHTTP or cfschedules when cf cant make a connection. or u have some weired variable clashing problem going on.
my 2c patOn 3/12/06, darryl lyons <[EMAIL PROTECTED]> wrote:
Is the stored procedure actually called "sp_get_ResponseCodes_DetailsConnection Failure" ? If not, then that is even more weird.DarrylOn 3/12/06, Carl Vanderpal <
[EMAIL PROTECTED]> wrote:> can anyone explain what is going on here, as things were working a few weeks> back but not now..>> It is running on CF 4.5 and like the guys the other day saying they are
> updating a CFModuled spaghetti nightmare (I know how you feel).> I have checked the stored proceedure and all looks in working order.>>> :)>> ===> Error Occurred While Processing Request
> Error Diagnostic Information>> ODBC Error Code = 37000 (Syntax error or access violation)>>  [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax> near 'Failure'.
>> SQL = "sp_get_ResponseCodes_Details Connection Failure">> Data Source = "--Removed--">> The error occurred while processing an element with a general identifier of
> (CFQUERY), occupying document position (173:2) to (173:121).>> Date/Time: 03/12/06 14:45:16> Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1)
> Gecko/20060111 Firefox/1.5.0.1> Remote Address: 60.240.64.217> HTTP Referer:> 
https://mysite/ssl/checkout/checkout5.cfm?CFID=9323407&CFTOKEN=13768207>> === > Postal: Po Box 3462 Dural, NSW 2158> Email: mailto:


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


[cfaussie] Re: Flash remoting

2006-03-09 Thread Patrick Branley
im not sure but i would imagine each method call makes a separate http request of the server. as you need to specify onStatus and onResult handlers for the remote call.
 
i think this is the point of frameworks like tartan implementing the command design pattern. this way you save up all your method calls and then fire them off to the server in one go.
 
Pat
 
 
On 3/10/06, Steve Onnis <[EMAIL PROTECTED]> wrote:


when you call a service in flash remoting, does it work within the same instance of the service or does it create a new instance each time you call a method of the service?

 

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


[cfaussie] Re: Cleaning up spaghetti

2006-03-09 Thread Patrick Branley
Hey Haikal
 
I feel your pain about sphagetti code hell. Just a thought tho, theres nothing specifically wrong with CFMODULE as a way of encapsulating code.
 
if its a bandaid solution you are after i would suggest using cfmodule over converting things to functions/cfcs. ie. convert some of the cfincludes to cfmodules to reduce the collision problems in variables scope.

 
here are some guidlines to untangle things.
 
avoid using caller scope from cfmodule as much as possible! (you might as well cfinclude if you do this )
with one exception. you can make a cfmodule act like a cffunction by using caller scope. eg.
 

 
#myReturnVar# 
 
inside your cfmodule:

 
just make sure you a consistent about what you name you return param otherwise it gets confusing about what params are in-params and what ones are out-params.

 
now all your modules are nice little encapsulated blocks of code with their own variables scope.
 
Hope this helps
 
Pat
 
 
 
 
On 3/9/06, Haikal Saadh <[EMAIL PROTECTED]> wrote:
How about PlasterCast? Oh wait, but CF is "typeless"... so no castingfor you!*rimshot*
Barry Beattie wrote:> 1) the names' been taken. Geldof will have a piece of you>> 2) support? how? I suggest alcohol>> 3) you're going to limit this to CF code, aren't you
> On 3/9/06, Steve Onnis <[EMAIL PROTECTED]> wrote:>>> How about next year instead of webDU we have a BandAid conference where we
>> can raise money to support those hard working developers that have to>> continmually fix up peoples old crappy applications>>>
>--Haikal Saadh, Applications ProgrammerTeaching and Learning Support ServicesK405, Queensland University of Technology, Kelvin Grove Campus[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  -~--~~~~--~~--~--~---


[cfaussie] Re: Controlling output in word format

2006-03-05 Thread Patrick Branley
Hi MikeDepends on how you creating the word doc ?If its via HTML and switching the content type then just edit the doc to your desired format and do a 'save as...html' from word.same goes with if you are building via RTF or xml via word 2003
If you are using apache POI see: http://jakarta.apache.org/poi/apidocs/index.html hthPat
On 3/6/06, Mike Kear <[EMAIL PROTECTED]> wrote:
I'm outputting the results of a CF6.1 job in word format, and can domost things except the following  - can anyone either tell me how orpoint me to a resource where I can learn how to make the output dothese things?
I need to learn how to:change font stylesnew paragraph,new linenew page.CheersMike KearWindsor, NSW, AustraliaCertified Advanced ColdFusion DeveloperAFP Webworks


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


[cfaussie] Re: cfdocument fonts

2006-02-27 Thread Patrick Branley
I have found that installing the TTF or PFM font file into control panel on the server is the most fool proof way of getting fonts to work with CFDOCUMENT regardless if you want the fonts embedded or not.there is also a catch with TTFs font files that have an 'Installable Embedding' flag set on them. this little program will reset that flag for you:
http://www.andrew.cmu.edu/~twm/embed/This is a assuming you have permission to re-distribute the font. There is also a setting in Macromedia/Adobe Fontographer that will change this flag for you and you can re-export to a new font.
hthPatOn 2/28/06, Steve Onnis <[EMAIL PROTECTED]> wrote:





I have to generate a 
lot of reports and was looking at CFDOCUMENT as a solution, until I discovered 
that CFDOCUMENT does not handle all types of fonts.
 
What else can I use 
or can I get CFDOCUMENT to use the fonts I require?
 
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  -~--~~~~--~~--~--~---


[cfaussie] Re: UUID as a product key

2006-02-23 Thread Patrick Branley
Hey barry.the app involves FTPing files to a server, so having an internet connection is a given :)Spike: Compiling dll on the fly sounds like a cool idea. im not sure how well a swf exported to an exe would achieve this. Like you said its all a trade off against how secure it needs to be and the time / resources / budget to acheive the security.
CheersPatOn 2/24/06, Barry Beattie <[EMAIL PROTECTED]> wrote:
can I add a quick 2 cents?>> I make a web-service call back the to the CF Server to validate the
UUID is a paid customer in the DB.sometimes the computer that the exe is installed on has no (and may*never* have) internet connection.sure it can be downloaded onto *some* machine that has internet access
but there's no guarentee that's the same machine that the app is goingto be installed on.how are you going to cater for that?if you say "bad luck" then *please* make this  totally clear on your
website before a customer downloads your app. better to loosecustomers at the start than dissapoint them later.just my 2cbarry.bOn 2/24/06, Patrick Branley <
[EMAIL PROTECTED]> wrote:> Thanks for you help guys.>> I think it looks like im on the right track using the GUID.>> cheers>> Pat>>> On 2/23/06, Gary Menzel < 
[EMAIL PROTECTED]> wrote:> >> > Just taking a few other layers in your idea (of getting the server to> validate the licence key).> >> > * Just returning "true" is not "safe" - someone could circumvent your call
> to the server through a proxy and just return "true" anyway.  You really> need to have the server return a reciprocal hash of the GUID that the EXE> can validate (but even this could be circumvented if someone could work out
> your hash algorithm ( e.g. if you just used standard MD5 hashing).> >> > * Alternatively, you send them the GUID - this is an activation code.  It> is sent to the server - which returns the REAL GUID as part of the process -
> which they then type into the EXE.  This is simple to do - just generate 2> GUID's and store them together (the first is the key to the other).> >> > * Most applications that do a registration like this online ask for some
> information to be entered into a web page (Name and Company - for example)> and then provide a GUID that is hashed from those things.  You type exactly> the same thing into the application, along with the GUID/HASH - which uses
> the same hash algorithm - and compares the result it gets to the one typed> in and unlocks if it is OK.> >> > BUT - it really depends on how secure you want the application to be.> >
> > We use a GUID activation method for password resets.  The user is NEVER> emailed their login details.  They get a ONE SHOT link with a GUID in it.> This page provides them the login details.  If they try the link again - it
> dies.  This is done to prevent email hijacking trojans from mailing your> login details to everyone on your address book.  The same concept could work> as a one shot for the application (but you would have to store the GUID and
> continue to verify it each time you ran the application).> >> > Lots of solutions MIGHT work - but not all will be suitable.> >> >> >> >> > On 2/23/06, darryl lyons <
[EMAIL PROTECTED] > wrote:> > > Well, given that a UUID or GUID is meant to be a "globally" unique> value, then it is a pretty good thing to use a hard to guess string.
> However, depending on what you are using, you may get a sequential GUID,> which in theory is able to be guessed You could always just hash some> values and use that.> > >> > > Darryl
> > >> > >> > > On 2/23/06, Patrick Branley < [EMAIL PROTECTED] > wrote:> > > > Hi Guys> > > >> > > > Just wondering how secure using a CF UUID or SQL GUID as product
> activation key would be ?> > > >> > > > Heres my idea for the scenario> > > >> > > > 1. user purchases software, write a record to the DB on payment and
> email them the UUID thats generated.> > > >> > > > 2. when they launch the application (an EXE) they must enter the UUID> to have it activated. I make a web-service call back the to the CF Server to
> validate the UUID is a paid customer in the DB. if they web service returns> true the application becomes active.> > > >> > > > 3. I store the UUID in either the registry or an XML file in the
> installation folder and re-check each time they launch the app.> > > >> > > > The only other thing i can think of doing is actually storing the> hashed version of the UUID in the db and doing a compare to make the db more


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


[cfaussie] Re: [OT] Hosting Brisbane

2006-02-23 Thread Patrick Branley
I see this thread alot where people are looking for hosting options.It would be cool if there was a site something like broadband choice on whirlpool for hosting providers ?pat
On 2/24/06, Gavin Cooney <[EMAIL PROTECTED]> wrote:
> You NEVER said in your email that the company had to know Coldfusion and -> for a co-location agreement - one would expect you would look after the> server (not the hosting company).Yeah, surely if you do a co-lo hosting agreement, the ISP would
basically provide bandwidth and a few IP addresses for you and not alot else? Why would they know anything about CF? Sure they'll not belogging in to your server. That's for you to do.As for DNS, if you have your own server, why not host your own DNS.


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


[cfaussie] Re: UUID as a product key

2006-02-23 Thread Patrick Branley
Thanks for you help guys.I think it looks like im on the right track using the GUID.cheersPatOn 2/23/06, Gary Menzel <
[EMAIL PROTECTED]> wrote:Just taking a few other layers in your idea (of getting the server to validate the licence key).

 
* Just returning "true" is not "safe" - someone could circumvent your call to the server through a proxy and just return "true" anyway.  You really need to have the server return a reciprocal hash of the GUID that the EXE can validate (but even this could be circumvented if someone could work out your hash algorithm (
e.g. if you just used standard MD5 hashing).
 
* Alternatively, you send them the GUID - this is an activation code.  It is sent to the server - which returns the REAL GUID as part of the process - which they then type into the EXE.  This is simple to do - just generate 2 GUID's and store them together (the first is the key to the other).
 
* Most applications that do a registration like this online ask for some information to be entered into a web page (Name and Company - for example) and then provide a GUID that is hashed from those things.  You type exactly the same thing into the application, along with the GUID/HASH - which uses the same hash algorithm - and compares the result it gets to the one typed in and unlocks if it is OK.

 
BUT - it really depends on how secure you want the application to be.
 
We use a GUID activation method for password resets.  The user is NEVER emailed their login details.  They get a ONE SHOT link with a GUID in it.  This page provides them the login details.  If they try the link again - it dies.  This is done to prevent email hijacking trojans from mailing your login details to everyone on your address book.  The same concept could work as a one shot for the application (but you would have to store the GUID and continue to verify it each time you ran the application).

 
Lots of solutions MIGHT work - but not all will be suitable.
 
 
 
On 2/23/06, darryl lyons <[EMAIL PROTECTED]
> wrote:
Well, given that a UUID or GUID is meant to be a "globally" unique value, then it is a pretty good thing to use a hard to guess string. However, depending on what you are using, you may get a sequential GUID, which in theory is able to be guessed You could always just hash some values and use that. 
Darryl 
On 2/23/06, Patrick Branley <
[EMAIL PROTECTED]
> wrote: 
Hi GuysJust wondering how secure using a CF UUID or SQL GUID as product activation key would be ?
Heres my idea for the scenario1. user purchases software, write a record to the DB on payment and email them the UUID thats generated. 2. when they launch the application (an EXE) they must enter the UUID to have it activated. I make a web-service call back the to the CF Server to validate the UUID is a paid customer in the DB. if they web service returns true the application becomes active. 
3. I store the UUID in either the registry or an XML file in the installation folder and re-check each time they launch the app.The only other thing i can think of doing is actually storing the hashed version of the UUID in the db and doing a compare to make the db more secure. 





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


[cfaussie] UUID as a product key

2006-02-22 Thread Patrick Branley
Hi GuysJust wondering how secure using a CF UUID or SQL GUID as product activation key would be ?Heres my idea for the scenario1. user purchases software, write a record to the DB on payment and email them the UUID thats generated.
2. when they launch the application (an EXE) they must enter the UUID to have it activated. I make a web-service call back the to the CF Server to validate the UUID is a paid customer in the DB. if they web service returns true the application becomes active.
3. I store the UUID in either the registry or an XML file in the installation folder and re-check each time they launch the app.The only other thing i can think of doing is actually storing the hashed version of the UUID in the db and doing a compare to make the db more secure.
does this seem like a resonably secure way to protect my app ?Pat

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


[cfaussie] Re: WebDu Who's going ?

2006-02-22 Thread Patrick Branley
Its quite a trek from Kent st. across darling harbour to star city but there be a few of us from Redsquare attending :)On 2/22/06, Lucas <
[EMAIL PROTECTED]> wrote:The team from RedBalloon (Andy,Mark Duncan and myself) will be there!
On 2/22/06, darryl lyons <
[EMAIL PROTECTED]
> wrote:Vaughan and myself are going from ABN AMRO Morgans.. See you there.

On 2/22/06, M@ Bourke <

[EMAIL PROTECTED]
> wrote:It's one week till day zero, so who from the list is going this year?
\m/(-_-)\m/







-- --Lucashttp://www.thebitbucket.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  -~--~~~~--~~--~--~---


[cfaussie] Re: Dealing with the ® symbol

2006-02-03 Thread Patrick Branley
> 4.set the encoding of your scopes with > 5.specify your page encoding >arent these the default settings for cfmx and cfmx7 ?
On 2/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Matthew Walker wrote:> I'd recommend not trying to solve it on a case by case basis as there'll always be another character that isn't working. Generally, the trick is to ensure everything is Unicode.>
> 1.use nvarchar fields instead of varchar (if it's SQL Server)> 2.use cfqueryparam> 3.ensure Unicode is enabled in your datasource> 4.set the encoding of your scopes with 
> 5.specify your page encoding >> Um... anything else?Nice summary.. I think HTML encoding needs to be UTF-8 as well.
if xhtml ifhtmlAlso if you're running Apache you can force a specific encoding.-- geoff
http://www.daemon.com.au/Don't miss webDU: 2-Days of CF magic2-3 March 2006, Sydneyhttp://www.webdu.com.au/


[cfaussie] Re: Whats the trick to using SCRIPTSRC in a CFFORM tag?

2006-02-03 Thread Patrick Branley
Hi Mikethe only way ive ever got this working is by copying the scripts folder and making a dummy structure of /CFIDE/scripts/ under my webroot for that particular site. You shouldnt need to supply a scriptsrc doing it this way.
PatOn 2/4/06, Mike Kear <[EMAIL PROTECTED]> wrote:
I've tried every combination and permutation i can think of to using SCRIPTSRC in  a CFFORM tag, but it's defeating me.(It's format=xml if that makes a difference)> 
 
I'm in a shared hosting environment and I have tinkered a bit with the css file and the xsl flie so the form styles match up with the rest of the site, so it cant be added to the CFIDE or it would change everyone else's forms on the machine.  I thought, reading the docs, that I could simply copy the scripts folder from the CFIDE folder, and include the modified files and use SCRPTSRC to have the form draw its stuff from there instead of the default folder.   

 
But no matter what I put in the SCRIPTSRC attribute, it doesnt work on the production server.I get the desired effect on my dev machine so I know the mods I made to the css and xsl files are ok but I cant figure out why it wont work on the production machine. I've tried the following in the SCRIPTSRC="" :

 
 absolute url,  relative url,  relative url using a CF mapping  - I even tried dot notation in desperation.
 
Has anyone else got this to work? Here's my structure, if i can represent it with text: 
 
root 
  folder1
      formfile.cfm    
  scripts
 css
 xsl
 
I've put a revised xsl file called greenish.xsl in the xsl folder, and that contains the line css/greenish_style.css 

 
My CFFORM tag looks like this  in its latest version . can anyone tell me whats the matter with it? 
 

 
Or perhaps this one: 
 

 
The variable #request.approot# contains the value http://localhost/hgsa  on my dev machine, and 

http://hgsa.afpwebworks.com on the production machine which is a valid and working url, pointing to the root of the site. -- 
 
Cheers 
Mike Kear 
Windsor, NSW, Australia 
Certified Advanced ColdFusion Developer 
AFP Webworks 
http://afpwebworks.com




[cfaussie] Re: [OT] select

2006-01-30 Thread Patrick Branley
Hi Dalejust wanted to say cheers for you post. We were having this same problem and didnt realise there was a better way to hiding all the selects on a page. Seems that its not really common knowledge on how to overcome this.
it proly shouldnt be an issue anyways if it went for buggy browsers!PatOn 7/29/05, Dale Fraser <
[EMAIL PROTECTED]> wrote:I get things wrong all the time.I don't ever say something is not possible, unless I'm 100% sure, which is
generally never as almost anything is possible.RegardsDale Fraser> -Original Message-> From: cfaussie@googlegroups.com [mailto:
cfaussie@googlegroups.com] On> Behalf Of Matthew Walker> Sent: Tuesday, 31 January 2006 2:53 PM> To: cfaussie@googlegroups.com> Subject: [cfaussie] Re: [OT] select
>> Well gosh it's just lucky there's a way here for people to correct me when> I say things that are incorrect, which I do regularly. Don't you?>> -Original Message-> From: 
cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On> Behalf Of Dale Fraser> Sent: Tuesday, 31 January 2006 4:45 
p.m.> To: cfaussie@googlegroups.com> Subject: [cfaussie] Re: [OT] select>>> Gee I hate it when people say something isn't possible that is.
>> Leads people down the garden path.>> Regards> Dale Fraser>>> > -Original Message-> > From: cfaussie@googlegroups.com
 [mailto:cfaussie@googlegroups.com] On> > Behalf Of Taco Fleur> > Sent: Tuesday, 31 January 2006 2:01 PM> > To: 
cfaussie@googlegroups.com> > Subject: [cfaussie] Re: [OT] select> >> > Thats easy enough to do, but surely thats not the option. It would> > look a bit weird having to hide all the selects on the page, and I
> > have seem it work where the select was still on the page, i.e. not> > hidden.> >> > On 1/31/06, Matthew Walker <[EMAIL PROTECTED]
> wrote:> > > There's nothing that simple. You can write some JS to magically hide> the> > select (or all selects on the page) whenever you display a menu or> > whatever it is you're doing (loop across
> > document.getElementsByTagName('select')). It's fixed in MSIE7 finally.> > >> > > > > >> > > Cabbage Tree Creative Ltd.> > > Matthew Walker | web programmer
> > > Phone+64 3 377 7544> > > Email [EMAIL PROTECTED]> > > Web  www.cabbagetree.co.nz
> > >> > >> > > manage your own web site with Thrive - contact us to learn how!> > >> > >> > >> > > -Original Message-
> > > From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On> > Behalf Of Dale Fraser
> > > Sent: Tuesday, 31 January 2006 3:46 p.m.> > > To: cfaussie@googlegroups.com> > > Subject: [cfaussie] Re: [OT] select> > >
> > >> > > I believe the solution is to put them into a div.> > >> > > Regards> > > Dale Fraser> > >> > > > -Original Message-
> > > > From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com]> On> > > > Behalf Of Taco Fleur
> > > > Sent: Tuesday, 31 January 2006 1:34 PM> > > > To: cfaussie@googlegroups.com> > > > Subject: [cfaussie] [OT] select
> > > >> > > > I remember there being a solution to select boxes being infront of> all> > > > other layers, just don't remember what the solutions was, not sure> how
> > > > to search for it in Google either. Anyone know where I can find more> > > > info on this?> > > >> > > > --> > > > 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 .
> > >> > >> > >> > >> > >> >> >> > --> > 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 .>>>