Re: submit one big form post of all tabs

2009-08-28 Thread Glyn Jackson

yes that would work but not with using includes with the tabs or source. the 
issue is that when you do it with an include it does not work due to CF 
thinking you dont have a completed form

Sorry I meant wrapping the whole set of tabs in 'form tags'  ... I
didn't mean to confuse you :)

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

Glyn,

I have done this using cflayout and wrapping the whole set of tabs in from
tabs. What problems are you experiencing?

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

someone must have done this before? using tab layout in CF8 had tabs with
just one form post submitting all data in all tabs at once? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325817
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Tomcat Server

2009-08-28 Thread Kevin Roche

Hi,

I am trying to set up an apache tomcat server to run CF7, CF8 and railo on the 
same machine. The idea came from last week's Online CF User group presentation.

I want to start and stop tomcat from eclipse for flexibility but am getting 
stuck with configuring it so that eclipse can see it. i have wated the 
presentation 3 times now but can't see what I am missing.

Anyone know what needs to be done so that the servers panel can see the Tomcat 
servers? There is probably some config file but I can find it.

Kevin 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325818
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Tomcat Server

2009-08-28 Thread Larry Lyons

 If you're using Eclipse you'll need to install the Webtools plugin,
 http://www.eclipse.org/webtools/. As an alternative you can also use 
 the MyEclipse plugin, it makes the controlling J2EE servers a lot 
 easier, http://www.myeclipseide.com/htmlpages-func-display-pid-55.
 html

Forgot to give the link for the instructions on installing Tomcat in Eclipse 
with the WTP plugin:

http://www.eclipse.org/webtools/jst/components/ws/1.0/tutorials/InstallTomcat/InstallTomcat.html
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325821
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion Threads

2009-08-28 Thread Byte Me

How about when you create the thread, you add it's name to an 
application-scoped variable. Then you can attempt to join each one later ?

Thanks for the input, I went ahead and tried it, but CF only joins threads that 
are created in the same template. Ideally, a listener needs to be set up that 
will perform some action if a specific thread is aborted/no longer running. 
Perhaps CF 10 will add this functionality. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325822
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Tomcat Server

2009-08-28 Thread Larry Lyons

 Hi,
 
 I am trying to set up an apache tomcat server to run CF7, CF8 and 
 railo on the same machine. The idea came from last week's Online CF 
 User group presentation.
 
 I want to start and stop tomcat from eclipse for flexibility but am 
 getting stuck with configuring it so that eclipse can see it. i have 
 wated the presentation 3 times now but can't see what I am missing.
 
 Anyone know what needs to be done so that the servers panel can see 
 the Tomcat servers? There is probably some config file but I can find 
 it.
 
 Kevin 


Hi Kevin,

If you're using Eclipse you'll need to install the Webtools 
plugin,http://www.eclipse.org/webtools/. As an alternative you can also use the 
MyEclipse plugin, it makes the controlling J2EE servers a lot easier, 
http://www.myeclipseide.com/htmlpages-func-display-pid-55.html

regards,
larry 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325820
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: submit one big form post of all tabs

2009-08-28 Thread Mark Kruger

Ah... Right ... Actually I think it treats those includes more like
frames or ajaxian innerHTML elements.  You would likely have to write some
JS to extract the form elements prior to submission.


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk] 
Sent: Friday, August 28, 2009 5:16 AM
To: cf-talk
Subject: Re: submit one big form post of all tabs


yes that would work but not with using includes with the tabs or source. the
issue is that when you do it with an include it does not work due to CF
thinking you dont have a completed form

Sorry I meant wrapping the whole set of tabs in 'form tags'  ... 
I didn't mean to confuse you :)

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

Glyn,

I have done this using cflayout and wrapping the whole set of tabs in 
from tabs. What problems are you experiencing?

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

someone must have done this before? using tab layout in CF8 had tabs 
with just one form post submitting all data in all tabs at once?



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325819
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: submit one big form post of all tabs

2009-08-28 Thread Glyn Jackson

I see, never mind back to the drawing board. thanks. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325823
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How to make ODBC Connection to Access DB with MDW Connection

2009-08-28 Thread I. Addoum.

you have to use JDBC-ODBC.

simply select Microsoft Access driver NOT ODBC Socket 
when you create your data source.

and the trick is to supply the following 
Database File = c:\test\x.mdb 
System Database File = c:\test\Security.mdw
Use Default User name = true (checked)

open show advanced settings :
Default User name = a valid user
Default password = a valid user password

done .


Regards
Bob








From: Jeanmarie Richardson jean...@tdai.net
To: cf-talk cf-talk@houseoffusion.com
Sent: Friday, August 28, 2009 3:20:43 AM
Subject: How to make ODBC Connection to Access DB with MDW Connection


Hi --
I need to make an ODBC connection to an access database that utilizes an MBW 
file for security.  How can this be done?  Could I use a connection string?  Or 
does the ODBC manager allow this.

Thanks in advance! 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325824
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfinput type=datefield

2009-08-28 Thread Glyn Jackson

I am using CF8 and want to use  cfinput type=datefield but without cfinput 
does that make sense? ok I want to use ext popup calender for a input box but 
not via cfinput tag 

i.e.

input type=datefield

can I still use the library without cfinput? if so can soneone give me an 
example? 

Thanks 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325825
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfinput type=datefield

2009-08-28 Thread James Holmes

You're best off getting ExtJS and using it directly (especially since
ExtJS is now up to version 3.0 while CF8 bundles version 1.1).

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


2009/8/28 Glyn Jackson glyn.jack...@newebia.co.uk:

 I am using CF8 and want to use  cfinput type=datefield but without 
 cfinput does that make sense? ok I want to use ext popup calender for a 
 input box but not via cfinput tag

 i.e.

 input type=datefield

 can I still use the library without cfinput? if so can soneone give me an 
 example?

 Thanks

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325826
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


jvm.config and Mac OS X

2009-08-28 Thread Scott Stroz

This has been driving me batty for quite a while

A few months back, Appel released an update to Java.  After installing
this update, I was unable to use cfhttp or hit web services that
used SSL.  Typically this would not be a huge deal, but the main
project I am on right now needs to make calls to SkipJack for payment
processing - which uses SSL (big surprise, huh).

Anyway, it was a pretty simple fix to get this resolved, I simply set
the 'default' java version to Java 5 in the 'Java Preferences' 'app'
in OS X and all was right with the world.

Fast forward a few months and now I want to play with CF9 (which I
have deployed as a WAR file to my JRun instance).  I want CF9 to use
Java 6 (I am not sure why...I just do). I thought this would be a
quick fix:

Copy jvm.config to cf9jvm.config
Set the java.home
(java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home)
Make other changes to point to right CF instance
Change debugging port (so I can run CF9 and CF8 at the same time)

Then, I simply start CF9 using /Applications/JRun4/bin/jrun -config
/Applications/JRun4/bin/cf9jvm.config start cf9

When I fire up CF9 cf admin, it shows that it is still using Java 5.
No matter what I have tried, it still starts with Java 5.

can anyone shed some light on this?  Am I pointing to the wrong
directory in java.home?

-- 
Scott Stroz
---
The democracy will cease to exist when you take away from those who
are willing to work and give to those who would not. - Thomas
Jefferson

http://xkcd.com/386/

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325827
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfinput type=datefield

2009-08-28 Thread Glyn Jackson

I did try that but because I am using cflayout on the same page it all goes 
wrong coldfusion gets confused to which ext its using or should I sat the JS 
does. wondering it we can just yap into the ext1 JS bot use the paths or URL's 
that CF uses. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325828
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfinput type=datefield

2009-08-28 Thread Azadi Saryev

personally, i have found various jquery date-related plugins a lot
easier to use and a lot more customizable.
and you can easily use them together with cf's built-in Extjs-based
features.

http://jqueryui.com/demos/datepicker/
http://www.filamentgroup.com/lab/date_range_picker_using_jquery_ui_16_and_jquery_ui_css_framework/

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/


On 28/08/2009 23:36, Glyn Jackson wrote:
 I did try that but because I am using cflayout on the same page it all goes 
 wrong coldfusion gets confused to which ext its using or should I sat the JS 
 does. wondering it we can just yap into the ext1 JS bot use the paths or 
 URL's that CF uses. 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325829
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Tomcat Server

2009-08-28 Thread Kevin Roche

Thanks Larry,

I will try that next week.

Kevin

On Fri, Aug 28, 2009 at 1:55 PM, Larry Lyons larrycly...@gmail.com wrote:


  If you're using Eclipse you'll need to install the Webtools plugin,
  http://www.eclipse.org/webtools/. As an alternative you can also use
  the MyEclipse plugin, it makes the controlling J2EE servers a lot
  easier, http://www.myeclipseide.com/htmlpages-func-display-pid-55.
  html

 Forgot to give the link for the instructions on installing Tomcat in
 Eclipse with the WTP plugin:


 http://www.eclipse.org/webtools/jst/components/ws/1.0/tutorials/InstallTomcat/InstallTomcat.html

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325830
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Using CFReport in a Websphere (linux) environment

2009-08-28 Thread Dave Phillips

Ain't that the truth - I guess I'm just lucky...

Okay, I saw that post, and I don't have the ability to change the
application environment by installing anything, but I do have the ability to
modify the JVM configuration.  It seems to me that the problem is that the
system cannot find the class that is needed, and that if I were to locate
that class within the CF installation (or the websphere installation) and
add that path to the classpath option in the JVM config that this would
solve my problem.  The issue is I'm not sure where to look for this class or
even how to find it easily (if that is even a possibility).

Any thoughts?  I'm copying the DFW CFUG group on this so sorry for anyone
who gets it twice.

Oh, and yes, the environment is headless - it is a 'websphere server farm'.

I'll copy Dave on this e-mail as well.

Thanks!

Dave Phillips

-Original Message-
From: b...@bradwood.com [mailto:b...@bradwood.com] 
Sent: Thursday, August 27, 2009 1:06 PM
To: cf-talk
Subject: RE: Using CFReport in a Websphere (linux) environment


You always find the weird ones Dave.  :)

I don't have an answer, but it appears you aren't the first with the
problem:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:29706

You could try Barney's suggestion of installing X11, or perhaps you can
get a hold of Dave Carabetta and see how he fixed his problem.
http://www.cbetta.com

I assume your Linux install is running headless?

~Brad

 Original Message 
 Subject: Using CFReport in a Websphere (linux) environment
 From: Dave Phillips experiencedcfdevelo...@gmail.com
 Date: Thu, August 27, 2009 11:40 am
 To: cf-talk cf-talk@houseoffusion.com
 
 
 Hi all,
 
 I'm trying to create a simple report with CFReport (CF 8) and am
getting the
 following error:
 Error 500: Could not find class:
com.gp.java2d.ExHeadlessGraphicsEnvironment




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325831
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFPDF can not flatten liveCycle Forms - so how do you?

2009-08-28 Thread Brook Davies

CFPDF can only flatten forms created with Acrobat , the docs say flatten:
applies to forms created in Acrobat only (not forms created in LiveCycle);.


 

So how do you flatten a liveCycle form and is it even possible at all?

 

Brook




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325832
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfinput type=datefield

2009-08-28 Thread Glyn Jackson

Thanks Think I will try the jquery 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325833
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: submit one big form post of all tabs

2009-08-28 Thread Cutter (ColdFusion)

I can't see why you wouldn't be able to. The tabs are an implementation 
of ExtJs 1.1, and I've done it with that. As long as the tab container 
is wrapped in your opening and closing form tags, and you aren't 
remotely populating the tab contents (via an ajax load) then it should 
be possible.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/28/2009 7:57 AM, Glyn Jackson wrote:
  I see, never mind back to the drawing board. thanks.

  

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFPDF can not flatten liveCycle Forms - so how do you?

2009-08-28 Thread Dave Watts

 CFPDF can only flatten forms created with Acrobat , the docs say flatten:
 applies to forms created in Acrobat only (not forms created in LiveCycle);.

 So how do you flatten a liveCycle form and is it even possible at all?

It's not possible using CFPDF or DDX directly from ColdFusion. To the
best of my knowledge, you'd have to buy LiveCycle Output ES to flatten
LiveCycle forms.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: submit one big form post of all tabs

2009-08-28 Thread Glyn Jackson

When you are using tabs with source it treats it as a page on its own so even 
if you include the form around the whole cflayout if you dont include the start 
and end cffrom tags again you will get a CF error, its the same with any thing 
you include in a tab layout using source or a bind 

i.e. the docs say If a file specified in the source attribute includes tags 
that use AJAX features, such as cfform, cfgrid, and cfpod, you must use the 
cfajaximport tag on the page that includes the cflayoutarea tag. For more 
information

this apply's the cffrom also. the error is simply because cf checks the 
included source pages see's that it missing the start and end CFFORM tags and 
errors.

 

I can't see why you wouldn't be able to. The tabs are an implementation 
of ExtJs 1.1, and I've done it with that. As long as the tab container 
is wrapped in your opening and closing form tags, and you aren't 
remotely populating the tab contents (via an ajax load) then it should 
be possible.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/28/2009 7:57 AM, Glyn Jackson wrote:
  I see, never mind back to the drawing board. thanks.

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325836
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFPDF can not flatten liveCycle Forms - so how do you?

2009-08-28 Thread Jochem van Dieten

On Fri, Aug 28, 2009 at 7:37 PM, Brook Davies wrote:
 CFPDF can only flatten forms created with Acrobat , the docs say flatten:
 applies to forms created in Acrobat only (not forms created in LiveCycle);.

 So how do you flatten a liveCycle form and is it even possible at all?

cfprint them to a pdf printer driver.

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325837
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


adding a deciamal point in front of a number

2009-08-28 Thread j s

What would be the best way to add a decimal point in front of number, say 20 to 
.20?

cfset myNum = 20
cfset newNum = .  myNum
cfoutput#newNum#/cfoutput

Is this ok?  If I need to do calculations will I have issues with newNum 
because it's a string?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325838
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFPDF can not flatten liveCycle Forms - so how do you?

2009-08-28 Thread Brook Davies

Thanks, I'll try that...

-Original Message-
From: Jochem van Dieten [mailto:joch...@gmail.com] 
Sent: August-28-09 1:31 PM
To: cf-talk
Subject: Re: CFPDF can not flatten liveCycle Forms - so how do you?


On Fri, Aug 28, 2009 at 7:37 PM, Brook Davies wrote:
 CFPDF can only flatten forms created with Acrobat , the docs say flatten:
 applies to forms created in Acrobat only (not forms created in
LiveCycle);.

 So how do you flatten a liveCycle form and is it even possible at all?

cfprint them to a pdf printer driver.

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325839
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: adding a deciamal point in front of a number

2009-08-28 Thread brad

Ready for it?  ColdFusion is a typeless language!  This means you don't
have worry about whether it is a string or not.  In fact both numbers
and strings (among others) are all stored as a java.lang.String on the
back end.  When you go to perform a numeric operation on a variable,
ColdFusion casts it for you.

Your code below will work fine.

~Brad

 Original Message 
 Subject: adding a deciamal point in front of a number
 From: j s jsegur...@gmail.com
 Date: Fri, August 28, 2009 4:05 pm
 To: cf-talk cf-talk@houseoffusion.com
 
 
 What would be the best way to add a decimal point in front of number,
say 20 to .20?
 
 cfset myNum = 20
 cfset newNum = .  myNum
 cfoutput#newNum#/cfoutput
 
 Is this ok? If I need to do calculations will I have issues with newNum
because it's a string?
 
 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325840
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: adding a deciamal point in front of a number

2009-08-28 Thread Jason Fisher

Or if you want a 'real' number, if you're more comfortable with that, 
then just divide by 100:

 cfset myNum = 20
 cfset newNum = myNum / 100
 cfoutput#newNum#/cfoutput



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325841
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ipn, sample code from paypal, and the sandbox, oh my!

2009-08-28 Thread Matthew Smith

I am using the test ipn message to send to my .cfm file.  I am logging the 
incoming attributes, the resulting str varible from the sample code, and the 
cfhttp response.
 
This is a fusebox 3 application, so incoming url and form variables are copied 
to the attributes scope.  Hope that makes sense.
 
First of all, here is my slightly modified script from the example code 
provided by paypal:
 -
cfparam name=attribute_values default= type=string
cfloop collection=#attributes# item=name
cfset attribute_values = attribute_values  #name# = 
#StructFind(attributes,name)#;
/cfloop
!-- read post from PayPal system and add 'cmd' --
CFSET str=cmd=_notify-validate
cfif isdefined(form.fieldnames)
CFLOOP INDEX=TheField list=#Form.FieldNames#
CFSET str = str  
#LCase(TheField)#=#URLEncodedFormat(Form[TheField])#
/CFLOOP
CFIF IsDefined(FORM.payment_date)
CFSET str = str  
payment_date=#URLEncodedFormat(Form.payment_date)#
/CFIF
CFIF IsDefined(FORM.subscr_date)
CFSET str = str  
subscr_date=#URLEncodedFormat(Form.subscr_date)#
/CFIF
CFIF IsDefined(FORM.auction_closing_date)
CFSET str = str  
subscr_date=#URLEncodedFormat(Form.auction_closing_date)#
/CFIF
/cfif
!-- post back to PayPal system to validate --
CFHTTP URL=https://www.sandbox.paypal.com/cgi-bin/webscr#str#; METHOD=GET 
RESOLVEURL=false/CFHTTP
!-- assign posted variables to local variables --
!--- CFSET item_name=FORM.item_name
CFSET payment_status=FORM.payment_status
CFSET payment_amount=FORM.mc_gross
CFSET payment_currency=FORM.mc_currency
CFSET txn_id=FORM.txn_id
CFSET receiver_email=FORM.receiver_email
CFSET payer_email=FORM.payer_email
CFIF IsDefined(FORM.item_number)
CFSET item_number=FORM.item_number
/CFIF ---
!-- check notification validation --
CFIF #CFHTTP.FileContent# is VERIFIED
!-- check that payment_status=Completed --
!-- check that txn_id has not been previously processed --
!-- check that receiver_email is your Primary PayPal email --
!-- check that payment_amount/payment_currency are correct --
!-- process payment --
CFELSEIF #CFHTTP.FileContent# is INVALID
!-- log for investigation --
CFELSE
!-- error --
/CFIF

cfinvoke
component=cfcs.qry
method=qry_ipn_insert
str=#str#
attribute_values=#attribute_values#
FileContent=#CFHTTP.FileContent#
 
 -
 
You'll notice that I have commented out the foillowing section from the 
provided sample code:
 !--- CFSET item_name=FORM.item_name
CFSET payment_status=FORM.payment_status
CFSET payment_amount=FORM.mc_gross
CFSET payment_currency=FORM.mc_currency
CFSET txn_id=FORM.txn_id
CFSET receiver_email=FORM.receiver_email
CFSET payer_email=FORM.payer_email
CFIF IsDefined(FORM.item_number)
CFSET item_number=FORM.item_number
/CFIF ---
 
I do not understand why it expects form vlaues to be populated from a get 
request.  Won't they only be populated in a post?
 
The second problem I am having is that the cfhttp is getting back an html 
document like this, instead of the expected VERIFIED or INVALID response:

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN 
http://www.w3.org/TR/html4/loose.dtd;
html
head
meta http-equiv=Content-Type content=text/html; charset=UTF-8
!--
 Script info: script: webscr, cmd: _home, template: 
p/wel/sandbox-outside, date: Aug. 26, 2009 11:29:22 PDT; country: US, language: 
en_US, xslt server: 
web version: 59.0-1031221 branch: AHOD_590_0828_int
content version: -
pexml version: 59.0-1031684
page XSL: Merchant/default/en_US/homepage/SandBox-outside.xsl
   hostname : qcKP1XNoJqrzRAV3BHjwSx5oKBCpCPQ1.DoCboTUELw
 rlogid : 
qcKP1XNoJqrzRAV3BHjwS5KqPy%2bFTJ8F4u0%2bJLKZBDDwniih9EGSeQ%3d%3d_123632c8436
--
titleWelcome - PayPal/title
!--googleoff: all--
meta name=description content=PayPal is the safer, easier way to pay online 
without revealing your credit card number.
!--googleon: all--
link media=screen rel=stylesheet type=text/css 
href=https://www.sandbox.paypal.com/WEBSCR-590-20090827-1/css/core/xptdev.css;
link media=screen rel=stylesheet type=text/css 
href=https://www.sandbox.paypal.com/WEBSCR-590-20090827-1/css/core/global.css;
!--[if IE 7]link media=screen rel=stylesheet type=text/css 
href=https://www.sandbox.paypal.com/WEBSCR-590-20090827-1/css/browsers/ie7.css;![endif]--

!--[if lte IE 6]link media=screen rel=stylesheet type=text/css 
href=https://www.sandbox.paypal.com/WEBSCR-590-20090827-1/css/browsers/ie6.css;![endif]--
link rel=stylesheet type=text/css 

Re: adding a deciamal point in front of a number

2009-08-28 Thread j s

Or if you want a 'real' number, if you're more comfortable with that, 
then just divide by 100:

 cfset myNum = 20
 cfset newNum = myNum / 100
 cfoutput#newNum#/cfoutput

thanks for clearing that up guys!! 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325843
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: jvm.config and Mac OS X

2009-08-28 Thread Dave l

yeah that won't quite do the trick, you still need to change a file, i blogged 
it here

http://www.deliciouscoding.com/post.cfm?entry=change-default-leopard-java-jdk-1-5-to-1-6-the-easy-way


This has been driving me batty for quite a while

A few months back, Appel released an update to Java.  After installing
this update, I was unable to use cfhttp or hit web services that
used SSL.  Typically this would not be a huge deal, but the main
project I am on right now needs to make calls to SkipJack for payment
processing - which uses SSL (big surprise, huh).

Anyway, it was a pretty simple fix to get this resolved, I simply set
the 'default' java version to Java 5 in the 'Java Preferences' 'app'
in OS X and all was right with the world.

Fast forward a few months and now I want to play with CF9 (which I
have deployed as a WAR file to my JRun instance).  I want CF9 to use
Java 6 (I am not sure why...I just do). I thought this would be a
quick fix:

Copy jvm.config to cf9jvm.config
Set the java.home
(java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home)
Make other changes to point to right CF instance
Change debugging port (so I can run CF9 and CF8 at the same time)

Then, I simply start CF9 using /Applications/JRun4/bin/jrun -config
/Applications/JRun4/bin/cf9jvm.config start cf9

When I fire up CF9 cf admin, it shows that it is still using Java 5.
No matter what I have tried, it still starts with Java 5.

can anyone shed some light on this?  Am I pointing to the wrong
directory in java.home?

-- 
Scott Stroz
---
The democracy will cease to exist when you take away from those who
are willing to work and give to those who would not. - Thomas
Jefferson

http://xkcd.com/386/ 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325844
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4