[cfaussie] Re: how to alter senders buddy when sending IM via XMPP gateway

2007-05-28 Thread Lucas
Hi Duncan, last time I looked this was near on impossible with the inbuilt gateway as it pretends to be a user - I have gotten around this in the past by using a Java XMPP implementation and using that to talk to the IM server. I know, this is not what you wanted to hear but it does work :)

[cfaussie] Re: how to alter senders buddy when sending IM via XMPP gateway

2007-05-28 Thread Duncan
So a work around would be to simply put the username in as the first part of the message I suppose. I am also thinking about how to allow a staff member to keep more than one session going - currently the chat sessions are held in the app scope, and routed back that way, but that allows only one

[cfaussie] Re: how to alter senders buddy when sending IM via XMPP gateway

2007-05-28 Thread Duncan
Have you used Smack http://www.igniterealtime.org/projects/smack/index.jsp ? or do you have another recommendation for a library? On 5/28/07, Lucas [EMAIL PROTECTED] wrote: Hi Duncan, last time I looked this was near on impossible with the inbuilt gateway as it pretends to be a user - I have

[cfaussie] Re: how to alter senders buddy when sending IM via XMPP gateway

2007-05-28 Thread Andrew Scott
Duncan, That is actually a good question, and to date I haven't done any work on the eventgateway with IM's. However, from what I do understand the gateway can't know unless you tell the server certain credentials as to who the IM came from. So if you are asking for say yourself to send an IM

[cfaussie] Re: how to alter senders buddy when sending IM via XMPP gateway

2007-05-28 Thread Duncan
Nice one David - i am doing this for some not-so-savvy users (read sales marketing) so this may be too easy to give a client the wrong answer or get confused. I dont think its fool proof enough. Tommorrow I will look at Smack. On 5/28/07, dsirr [EMAIL PROTECTED] wrote: Hi Duncan In regard

[cfaussie] Re: Coldfuson is dead - why did no one tell me

2007-05-28 Thread Peter Tilbrook
I have had a crush on Mel for years now lol! Just do not let her know!!! --~--~-~--~~~---~--~~ 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

[cfaussie] Re: Cool contest.

2007-05-28 Thread Simon Haddon
As far as I understand it is exposed in the CFIDE of you run CF7 Enterprise. Just not in standard. This is how you build your WAR / EAR files On 28/05/07, MrBuzzy [EMAIL PROTECTED] wrote: Who is we? Maybe it's not documented because it can be used to do admin tasks but it's not secured. Ie.

[cfaussie] Re: Cool contest.

2007-05-28 Thread MrBuzzy
Simon, yeah (I think) that's what I was getting at. And good point, maybe CFANT isn't usable in the Standard edition...? I used CFANT to rebuild an existing WAR defined in the CF Administrator (CFIDE). Using CFANT doesn't require the user to be authorised. Most of the other administrator

[cfaussie] JavaMail and CF

2007-05-28 Thread Taco Fleur
Hi all, I'm looking for someone able to help with building some Java classes that can be called through CF. I'm wanting to make a CF tag that can send mail over a secure (SSL) port. Happy to share the fame and glory if someone wants to help for free, *but also MORE than happy to pay for this

[cfaussie] Re: JavaMail and CF

2007-05-28 Thread Dale Fraser
Hey, Taco, can I ask why you need to do this. Email is not that secure, even when being sent SSL. But there are other ways to skin the cat, can you describe what you want to achieve. Regards Dale Fraser http://dalefraser.blogspot.com http://dalefraser.blogspot.com From:

[cfaussie] cfc - cfargument best practice

2007-05-28 Thread Adam Chapman
Hi All, I have the need to create a cfc method which will update a large number of db fields.. (50+). Here are 2 options I'm considering: 1. Accept an argument for each field 2. Accept a single argument containing a structure with all the data required for each field Thoughts? Cheers, Adam

[cfaussie] Re: cfc - cfargument best practice

2007-05-28 Thread Dale Fraser
I think it depends on the cfc and it's purpose. You could write one generic class, lets say called Database.cfc Which could have methods such as select, update, insert etc. Then they could take paramaters such as you described in 2. This class is then generic and can be smart enough to update

[cfaussie] Re: cfc - cfargument best practice

2007-05-28 Thread Adam Chapman
Hi Dale, Thanks for the reply.. I think I must have been a bit vague with my question, I already have the cfc set up using the DOA/Gateway model.. I guess I'm asking which of the 2 options for accepting a large amount of data is prettier.. or whether there are pros and cons of either which will

[cfaussie] Re: cfc - cfargument best practice

2007-05-28 Thread Dale Fraser
In that case I like Option 1. As you get some validation when passing in fields with incorrect names etc. Where as if you define a struct and pass it in, the error is in execution rather than matching the function signature. Mind you, 50 columns is a lot and I wonder if your DB is structured

[cfaussie] Re: cfc - cfargument best practice

2007-05-28 Thread Andrew Scott
I will agree with Mike, a Bean with setters and getters for your object can be added to a collection of beans and you get your validation with the setter. And the beauty is that you can override you DAO object to then take the collection and iterate over the object. Andrew Scott Senior

[cfaussie] cffunction access=Package

2007-05-28 Thread Dale Fraser
Anyone explain what this is and when you would us it? Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email

[cfaussie] Re: cffunction access=Package

2007-05-28 Thread Andrew Scott
Dale, Same as java, the idea I believe never used it myself. Is to make the method private except to the package it belongs to. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com

[cfaussie] Re: cffunction access=Package

2007-05-28 Thread David Harris
in CF a package is a folder... ...so any CFC's in the same folder will be able to access that function. [cfdocs] package: available only to the component that declares the method, components that extend the component, or any other components in the package. [/cfdocs] when you would use it is to

[cfaussie] Re: cffunction access=Package

2007-05-28 Thread Adam Chapman
Hi Dale, I use it with the DAO/Gateway model.. mProduct (dir) productManager.cfc productDAO.cfc productGateway.cfc Only the productManager cfc is called by the application code.. the manager calls the relevant DAO/Gateway cfc depending on the function.. in this scenario

[cfaussie] Re: cffunction access=Package

2007-05-28 Thread Dale Fraser
Yeah, Me too only use public, private and remote. I'll have to play with it. Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Harris Sent: Tuesday, 29 May 2007 12:35 PM To: cfaussie

[cfaussie] CS3 Dreamweaver CF Help

2007-05-28 Thread Dale Fraser
Anyone located the CS3 version of Coldfusion Help file for CTRL F1. Regards Dale Fraser http://dalefraser.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this

[cfaussie] Re: CS3 Dreamweaver CF Help

2007-05-28 Thread Peter Tilbrook
I get http://livedocs.adobe.com/coldfusion/7/index.html if using CTRL+F1 or the in-built help if using SHIFT+F1 within a CFML tag or function. On 29/05/07, Dale Fraser [EMAIL PROTECTED] wrote: Anyone located the CS3 version of Coldfusion Help file for CTRL F1. Regards Dale Fraser

[cfaussie] Re: CS3 Dreamweaver CF Help

2007-05-28 Thread Dale Fraser
Peter, Yeah the Shift F1 is not the best, I used to have in DW8. Ctrl F1 going to Compiled Help. Regards Dale Fraser http://dalefraser.blogspot.com http://dalefraser.blogspot.com From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Tilbrook Sent:

[cfaussie] Re: CS3 Dreamweaver CF Help

2007-05-28 Thread Dale Fraser
I found this http://www.tom-muck.com/extensions/help/contexthelptoolbar/ Which isn't too bad, gives you context sensitive from Live Docs. Still the Compiled help was local and fast. Regards Dale Fraser http://dalefraser.blogspot.com http://dalefraser.blogspot.com From: