Re: Loading Key from KeyStore

2011-08-22 Thread Varun Dixit

>> I am getting the error on "initSign". 
>
>Can you post the actual error message and stack trace?

Could not initialize for signing with the given key.
 
The error occurred in C:\Users\vdixit\workspace\test\testConnection.cfm: line 22

20 :signature = CreateObject("java", "java.security.Signature");
21 :signature = signature.getInstance("SHA256withRSA");
22 :signature.initSign( ks.getKey("product", JavaCast("string", 
"keyPwd").toCharArray()) );
23 : 
24 : 

Resources:

Check the ColdFusion documentation to verify that you are using the correct 
syntax.
Search the Knowledge Base to find a solution to your problem.

Browser Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 
Firefox/6.0
Remote Address  127.0.0.1
Referrer
Date/Time   22-Aug-11 02:50 PM
Stack Trace
at 
cftestConnection2ecfm310348506.runPage(C:\Users\vdixit\workspace\test\testConnection.cfm:22)

java.security.InvalidKeyException: Could not initialize for signing with the 
given key.
at com.rsa.jsafe.provider.JS_Signature.engineInitSign(Unknown Source)
at java.security.Signature$Delegate.init(Signature.java:1073)
at java.security.Signature$Delegate.chooseProvider(Signature.java:1033)
at java.security.Signature$Delegate.engineInitSign(Signature.java:1097)
at java.security.Signature.initSign(Signature.java:480)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at coldfusion.runtime.StructBean.invoke(StructBean.java:511)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2300)
at 
cftestConnection2ecfm310348506.runPage(C:\Users\vdixit\workspace\test\testConnection.cfm:22)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at 
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
at 
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at 
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
at 
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:175)
at 
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at 
coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at 
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

~|
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:346947
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Loading Key from KeyStore

2011-08-22 Thread Varun Dixit

I am trying to load a key from the key store and have the following code below-

storePath = "c:\coldfusion8\runtime\jre\lib\security\cacerts" ;
ksFile = CreateObject("java", "java.io.File").init(storepath);
inputStream = CreateObject("java", "java.io.FileInputStream").init(ksFile);
keyStoreClass = CreateObject("Java", "java.security.KeyStore");
ks = keyStoreClass.getInstance("JKS"); 
ks.load(inputStream, JavaCast("string", "changeit").toCharArray() ); 
ks.getKey("product", JavaCast("string", "keyPwd").toCharArray()) ;

signature = CreateObject("java", "java.security.Signature");
signature = signature.getInstance("SHA256withRSA");
signature.initSign( ks.getKey("product", JavaCast("string", 
"keyPwd").toCharArray()) );


I am getting the error on "initSign". Now looking at the Java Code that I have, 
it's setting the key to privateKey and than passing to initSign method.

import java.security.PrivateKey;
PrivateKey key = (PrivateKey) store.getKey("product", "keyPwd".toCharArray());


How can I use CF to cast between complex objects? I was hoping something like 
JavaCast but obviously that wont work here.

Thoughts? 

~|
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:346945
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


cflock type for Application Scope variables

2011-08-16 Thread Varun Dixit

I have some code in front of me which is like this-





It's a CF8 in a multi server environment and I was seeing some inconsistencies. 
I always thought that when writing to a scope the lock should be of type 
"exclusive"- to let only request write to data. 

Just wanted to see what others think about locking variables in application or 
session scope for that matter. 

~|
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:346787
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF8: CFChart (FLASH) to PDF issue.

2009-02-23 Thread Varun Dixit

ouch

There goes my 2 days of research into finding fix for this problem. I should 
have posted it right away on the listg

Well, if that's the case than someone from CF team at Adobe should update the 
live docs so that it's not misleading.

>Varun Dixit wrote:
>> I was thinking the same thing, till I read documentation about CF8--> 
>> CFChart tag,
>
>no, the docs are wrong in this case. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319729
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF8: CFChart (FLASH) to PDF issue.

2009-02-23 Thread Varun Dixit

Dave,

I was thinking the same thing, till I read documentation about CF8--> CFChart 
tag,

>From CF8 live docs:-
"ColdFusion 8: Added support for embedding Flash charts within the cfdocument 
tag."

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_c_05.html

So I think there is something else going on, some mapping or something I am 
missing.

>> I am trying to put chart being generated in Flash into a
>> PDF file, but all I am getting is blank PDF, just with the
>> watermark saying "that its a developer edition". This
>> problem is persistent for Flash only. My PNG chart
>> looks great in PDF.
>>
>> Any thoughts? Am I missing something???
>
>I don't think you can embed any Flash content in CF-generated PDFs.
>
>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! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319727
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF8: CFChart (FLASH) to PDF issue.

2009-02-23 Thread Varun Dixit

I am trying to put chart being generated in Flash into a PDF file, but all I am 
getting is blank PDF, just with the watermark saying "that its a developer 
edition". This problem is persistent for Flash only. My PNG chart looks great 
in PDF. 

Any thoughts? Am I missing something??? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319725
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF Log Viewer Question

2009-02-11 Thread Varun Dixit

Thanks Ray. Worked gr8.
>Use the AdminAPI:
>
>
>adminObj = createObject("component","cfide.adminapi.administrator");
>adminObj.login("admin");
>
>debugger = createObject("component", "cfide.adminapi.debugging");
>logfolder = debugger.getLogProperty("logdirectory");
>
>#logfolder#
>
>
>> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319197
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF Log Viewer Question

2009-02-10 Thread Varun Dixit

I am writing a ColdFusion Log File viewer for a client, and can not figure out 
how to get the path of the directory where Cold Fusion logs file are stored. I 
see in CF Admin, Debugging & Logging > Logging Settings you can specify the 
where the log files are stored.

Is there a variable or a function anyone knows of which would spit that path 
out for me?

Thanks,
--varun 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319136
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFPOP and Email gateway

2008-07-28 Thread Varun Dixit
Thanks for the info Dave. It's always good to know of alternate solutions, but, 
I was thinking more on the line of gateway which would continuously listen for 
emails (just like it would do for SMS messages), any thoughts on that? Is it 
possible to listen for emails at all?

>Varun,
>
>I forgot to mention that I have my VB app running as a Service on my server.
>
>Dave
>
>Varun,
>
>I had an issue like this and couldn't find a 'pure' ColdFusion solution.  I
>ended up building a little VB app that checked the mailbox every 5 seconds
>to see if had any mail and then, if it did, it would then execute my CF page
>to pull the mail.  Of course, I was checking every 5 seconds, and, as a
>result, since it would take longer than 5 seconds for my page to run, I had
>the issue of multiple requests trying to process the mail at the same time.
>So, I set up a DB variable that would, in effect, 'lock' the process so that
>it could only be running once at any given time.  Once the VB app saw there
>was mail, it would start firing the CF request (it would shell out to WGET
>which would execute the HTTP call to the CF page) every 5 seconds until
>there was no mail anymore.  The first request would actually start the
>processing and the remaining requests would just abort because the process
>was already running.
>
>This has been working well for us for two months now.
>
>I'm sure there are other ways to accomplish this, and maybe even a 'Pure'
>ColdFusion solution, but I found the overhead on CFPOP so slow that I
>couldn't reliably expect it to check for messages every 5 seconds
>successfully without killing my server (sometimes a single CFPOP call would
>take more than 5 seconds anyway).
>
>HTH,
>
>Dave
>
>I have a CRM tool which uses CFPOP to pull the email from the mailbox,
>parses those email and connects them to an existing open tickets in the CRM
>tool for that email address. 
>I have a scheduled task which runs every 15 minutes and does the pull,parse
>and append. I need to have this task run every 2 minutes but because we have
>a lot already going on in that tool it has huge performance issues.
>
>I was thinkin may be, if there is a email gateway or some other method to
>continusouly listen the mailbox and as soon as we get email parse it, append
>it. 
>
>Please advise if any of you have ever looked into some solutions where the
>app can continuously listen for event (email in this case) without having
>huge performance impact.
>
>Thanks 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309803
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFPOP and Email gateway

2008-07-24 Thread Varun Dixit
I have a CRM tool which uses CFPOP to pull the email from the mailbox, parses 
those email and connects them to an existing open tickets in the CRM tool for 
that email address. 
I have a scheduled task which runs every 15 minutes and does the pull,parse and 
append. I need to have this task run every 2 minutes but because we have a lot 
already going on in that tool it has huge performance issues.

I was thinkin may be, if there is a email gateway or some other method to 
continusouly listen the mailbox and as soon as we get email parse it, append 
it. 

Please advise if any of you have ever looked into some solutions where the app 
can continuously listen for event (email in this case) without having huge 
performance impact.

Thanks 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309675
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Issues Deploying Java SDK in ColdFusion

2008-06-14 Thread Varun Dixit
Sorry about 3 posts, my internet connection died everyime i tried posting it
> I am new to deploying Java code in ColdFusion. I have a SDK which has 
> Java file and few JAR files. I am interested in finding out how should 
> i go about deploying the java code. 
> 
> As of now i have my JAR files seating in WEB-INF/lib folder and the 
> class files in 
> WEB-INF/Classes folder. I created an Object using createObject("java", 
> "myJavaClass"). I am getting an class not found error.
> 
> Any help or pointer would be appreciated. Thanks! 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307489
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 Java in ColdFusion

2008-06-14 Thread Varun Dixit
Sorry about 3 posts, my internet connection died everyime i tried posting it

> I have a Java SDK which has some JAR files and a Class file. I need 
> some help figuring out how to deploy the java code and than use it in 
> ColdFusion. 
> I have put jar files in WEB-INF/lib folder and class file in 
> WEB-INF/classes folder. I created an object using createObject("java", 
> "myobject"). It gives me a class not found error. 
> 
> Any help/pointers would be appreciated. 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307488
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Coldfusion and Java...

2008-06-14 Thread Varun Dixit
I have a Java SDK which has some JAR files and a Class file. I need some help 
figuring out how to deploy the java code and than use it in ColdFusion. 

I have put jar files in WEB-INF/lib folder and class file in WEB-INF/classes 
folder. I created an object using createObject("java", "myobject"). It gives me 
a class not found error. 

Any help/pointers would be appreciated. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307479
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Using Java in ColdFusion

2008-06-14 Thread Varun Dixit
I have a Java SDK which has some JAR files and a Class file. I need some help 
figuring out how to deploy the java code and than use it in ColdFusion. 

I have put jar files in WEB-INF/lib folder and class file in WEB-INF/classes 
folder. I created an object using createObject("java", "myobject"). It gives me 
a class not found error. 

Any help/pointers would be appreciated. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307478
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Issues Deploying Java SDK in ColdFusion

2008-06-13 Thread Varun Dixit
I am new to deploying Java code in ColdFusion. I have a SDK which has Java file 
and few JAR files. I am interested in finding out how should i go about 
deploying the java code. 

As of now i have my JAR files seating in WEB-INF/lib folder and the class files 
in 
WEB-INF/Classes folder. I created an Object using createObject("java", 
"myJavaClass"). I am getting an class not found error.

Any help or pointer would be appreciated. Thanks! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307477
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


PDF to HTML

2007-10-30 Thread Varun Dixit
Hi everyone,

I have a PDF file which i would like to convert to HTML. If anyone could point 
me to a custom tag or a utlity for the conversion it would be great. Thanks in 
advance. 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292355
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Wiki in Cold Fusion

2007-02-28 Thread Varun Dixit
Hey Guys,

I am working on creating a new wiki, I was thinking may be if there are some 
designs and guidelines for creating wiki's somewhere. I have looked at Ray 
Camden's CanvasWiki already. 

But than as i said, I am more interested in the design and structuring it right.

Any links or pointers would be greatly appreciated!

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270995
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Combo Box in CF

2007-01-03 Thread Varun Dixit
Loathe, 

Yeah I would sign up. It would be cool too get this right and have a COMBOBOX.
I would be needing it often going forward, so would go a long way in helping me 
and others. 
Thanks. Varun
>Yeah, so, I'm gonna start a cf_combobox project over at RIA Forge.
>
>I'll upload some of the stuff I have and if anyone else wants they can sign
>up and we can do something with this.
>
>Varun, seems you and I have pretty much the same requirements.
>
>-Original Message-
>From: Varun Dixit [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, January 03, 2007 12:33 PM
>To: CF-Talk
>Subject: Re: Combo Box in CF
>
>
>Russ,
>I had looked at this one too. But the only thing it lacked was Key Board
>Control thats why I dit not move ahead with it. And By key board control I
>mean, you could not select values using tab and not scroll using Down and Up
>Arrow keyes.Yeah but its pretty cool!
>can
>>send you the functions or put them here. Let me know, how would you like to
>>have it. If you do at all.
>>
>>Thanks, Varun
>>--Brian

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265552
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Combo Box in CF

2007-01-03 Thread Varun Dixit
Russ,
I had looked at this one too. But the only thing it lacked was Key Board 
Control thats why I dit not move ahead with it. And By key board control I 
mean, you could not select values using tab and not scroll using Down and Up 
Arrow keyes.Yeah but its pretty cool! 
>You mean like this?
>
>http://webfx.eae.net/dhtml/combobox/combobox.htm
>
>Russ 
>
>-Original Message-----
>From: Varun Dixit [mailto:[EMAIL PROTECTED] 
>Sent: 03 January 2007 16:12
>To: CF-Talk
>Subject: Re: Combo Box in CF
>
>Brian, 
>
>Thanks for your reply. I came up with a combobox too yesterday, and its
>using javascript which as you said is indeed very reponsive. The was I have
>it set up is a text box seating on top of Select inside a DIV. Than, i got
>few javascript functions googling, and kinna of created a hybrid which does
>what I have been looking for. Its close to what you have on your page, I can
>send you the functions or put them here. Let me know, how would you like to
>have it. If you do at all.
>
>Thanks, Varun 
>--Brian

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265547
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Combo Box in CF

2007-01-03 Thread Varun Dixit
Brian, 

Thanks for your reply. I came up with a combobox too yesterday, and its using 
javascript which as you said is indeed very reponsive. The was I have it set up 
is a text box seating on top of Select inside a DIV. Than, i got few javascript 
functions googling, and kinna of created a hybrid which does what I have been 
looking for. Its close to what you have on your page, I can send you the 
functions or put them here. Let me know, how would you like to have it. If you 
do at all.

Thanks, Varun 
> Varun,
> 
> I came up with something that simulates a combo box, but I don't think 
> it quite meets what you're looking for.  It gives the user a text box 
> control and a select control.  At first, the select control contains 
> all of the options in the list, but as the user types text in the text 
> box, the options in the select box that don't match what's being typed 
> are essentially removed, leaving only similar entries.  If the user 
> clicks on an option in the select box, the value of that option is 
> copied to the text box.
> 
> I've posted a page with this control up on my website at http://www.
> swartzfager.org/combo_box_demo.cfm.  You can see all of the code 
> involved by viewing the page source.  It's JavaScript-powered but does 
> not use Ajax, so it's very responsive.
> 
> Like I said, I don't think it's quite what you're looking for, but 
> maybe the techniques/functions involved will be of some help.
> 
--Brian

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265539
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Combo Box in CF

2007-01-02 Thread Varun Dixit
Brian, 

Apologies for not being clear. Here is what I would like it to do,

--select a value from the provided drop-down list
--type something that is in the list and have it try to autocomplete it.

Thanks,Varun

> Varun,
> 
> Can you be more specific by what you mean by a "true combobox"?
> 
> Do you mean you want a combo box control like the ones in MS Access, 
> where the user can either:
> 
> --select a value from the provided drop-down list.
> --type something that is in the list and have it try to autocomplete 
> it.
> --type something that is NOT in the list and submit that value.
> 
> Can't say that I've seen anything like that on a web form, but it 
> would be nice if such a thing existed or could be done.
 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265489
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Combo Box in CF

2007-01-02 Thread Varun Dixit
Charlie, 

Yeah, I am trying to incorp one in my projects, googling i did but have not 
found like a true combobox.

Ajax:I made on using Scriptaculous autocompleter. But I have a query which 
returns about 650 results to be populated into the Select Box, now as an 
autocompleter it works fine, but as soon as you click on Show All button (like 
u click on select box) it just slows up big time. 

Javascript: I have seen some examples but they dont still act like a true 
combobox. 

Any links or pointers would be greatly appreciated.

Thanks

> Wouldn't really be a CF thing (unless you do an AJAX implementation,
> in which case it'd just be CF on the server returning the appropriate
> options).
> 
> Also, it's been done using JS and/or AJAX.  If you want to do one as 
> a
> learning experiment, that's cool.  But if you're just looking to have
> one that works, googling would be quicker than building one from
> scratch :)
> 
> On 1/2/07, Varun Dixit <[EMAIL PROTECTED]> wrote:
> > I am working on making a true combox, which essentially would be a 
> combination of Text box and Select. I would appreciate any pointes 
> that would help me create one.
> >
> > 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265479
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Combo Box in CF

2007-01-02 Thread Varun Dixit
I am working on making a true combox, which essentially would be a combination 
of Text box and Select. I would appreciate any pointes that would help me 
create one. 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265477
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Overwriting Printer Settings.

2006-11-30 Thread Varun Dixit
I am not quiet sure if this is a CSS issue or CF, but I have a template which 
when printed needs to have 0.5in margins on all side. But individual printer 
settings just screws up all the margins. Is there a way I could overwrite the 
individual printer settings using some code.

Any suggestions or pointers would be helpful?

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262261
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF_SQL_INTEGER vs CF_SQL_NUMERIC in Oracle Database.

2006-10-09 Thread Varun Dixit
Thanks dave.

> On 10/9/06, Varun Dixit <[EMAIL PROTECTED]> wrote:
> > I have been trying to figure out how does oracles translates those 
> 20 odd data types supported in CFQUERYPARAM tag. But I have not had 
> much luck finding anything, any help or pointers in this regard would 
> be appreciated.
> >
> > My main concern is which one is less forgiving and how does oracle 
> translates these data types.
> >
> 
> There used to be a page up to outline this, but it looks like it has
> been taken down.
> 
> Anyway, cf_sql_integer will translate to a NUMBER datatype with no
> precision (so no decimals). The cf_sql_numeric datatype will actually
> be a one-digit decimal on Oracle's side (i.e., NUMBER(3,1)). You use
> the "scale" attribute of the cfqueryparam tag to change the number of
> decimals to use. So"
> 
>  scale="2" null="false" />
> 
> Will insert a two-digit decimal value.
> 
> Regards,
> Dave.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256042
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CF_SQL_INTEGER vs CF_SQL_NUMERIC in Oracle Database.

2006-10-09 Thread Varun Dixit
I have been trying to figure out how does oracles translates those 20 odd data 
types supported in CFQUERYPARAM tag. But I have not had much luck finding 
anything, any help or pointers in this regard would be appreciated. 

My main concern is which one is less forgiving and how does oracle translates 
these data types.

Thanks
Varun Dixit

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255999
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4