(ot) Eclipse/CFEclipse Snippet question

2011-10-03 Thread DURETTE, STEVEN J

Hi all,

I thought I'd ask this here because I know a lot of you are probably using 
CFEclipse. In CFEclipse, I use snippets for a lot of stuff, and in those 
snippets a lot of the time I use the $${DATE} variable. The problem is that the 
variable returns the date in M/D/ format. I need it to be in MM/DD/ 
format. Can anyone tell me what file I can change to make it the proper format. 
I figure it has to be changeable somewhere otherwise it wouldn't be useful in 
other countries where they don't use the same date format.

Thanks,
Steve



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347872
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SMS Apps

2011-10-03 Thread Bryan Stevenson

Hi All,

I'm having a  bit of  a disconnect and wondering if anyone can help??

The SMS Gateway sample app that comes in CF Admin is a menu based app
where the user enters a key and hits Send...then the next level of the
menu is shown and the user can once again enter the letter that
corresponds with the menu item they want to select.

What I'm hoping I can do is bypass all of that and simply start the
session by texting Please enter your name and then when the user types
something and hits send, I take what they entered and perform some
action against it and then send a text back asking another question (or
telling them their entry was invalid).

I just can't seem to find a way to call a method in a CFC other than
using the menu framework and defining the key the user should press to
perform the next actionI don't want them to navigate  a menu by
pressing keysjust enter requested text and hit send.

I feel like I'm missing something horribly obviousso I've come to
the list for some wisdom and smackdown ;-)

TIA

Cheers

On Thu, 2011-09-29 at 11:26 -0700, Bryan Stevenson wrote:

 Thanks again Pauland yes it is time I RTFM ;-) (no offence
 takenI know I should)
 
 Diving into the code today...so it's time!!
 
 Cheers
 
 On Thu, 2011-09-29 at 08:36 +0700, Paul Hastings wrote:
 
  On 9/29/2011 1:28 AM, Bryan Stevenson wrote:
   So I suppose I could just re-point the existing SMS Gateway (the runs
   the demo app) to point at my CFCs?
  
  yes.
  
   Which leads me to ask about how to interact with a specific Gateway if
   more than one is entered into CF Admin?  I assume by some sort of
   Gateway identifier?
  
  different types (SMS, messaging, asynch, etc.) with instances of each type, 
  each 
  instance uniquely named.
  
  your cfdocs should have ColdFusion Event Gateway Reference section as 
  well as 
  Using the SMS Event Gateway in the developing cf apps section. read 
  those, 
  it's not all that hard (like everything else in cf).
  
  
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347873
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Reading and writing text document sdvice

2011-10-03 Thread Dave Watts

 hi, unfortunately am unable to go down the Google Docs route as some of the 
 data will be sensitive information and, due to regulations, needs to remain
 on our servers

Your organization could use Google Apps for Business, which is often
allowed under those sorts of regulations. We have many clients -
federal, state and local government agencies for example - using
Google Apps for Business. Normally, organizations purchase this for
mail and calendar primarily, but if all your organization wanted was
Docs you could have that.

Feel free to email me off-list if you think this is a possibility for
your organization. I won't be able to sell you Apps, but will be happy
to answer your questions.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347874
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SMS Apps

2011-10-03 Thread Paul Hastings

On 10/4/2011 2:26 AM, Bryan Stevenson wrote:
 What I'm hoping I can do is bypass all of that and simply start the
 session by texting Please enter your name and then when the user types

to send Please enter your name to the test handset, use the global 
sendgateway() method. provide it the name of the gateway  a structure holding 
the properties the SMS gateway requires (to/from phone, message, etc.).

for incoming SMS, the driver is the onIncomingMessage method. it takes one 
argument, a CFEvent struct. all this is tied to the SMS gateway (where you 
specified the CFC w/this method). other than that this is just like any other 
CFC. you can create  use other methods in that CFC, call other CFC's methods, 
etc.

the text sent by the user's handset is in arguments.CFEvent.data.message 
(assuming the you named the onIncomingMessage argument CFEvent).


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347875
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm