cftree and blackberry

2009-12-18 Thread sam Detweiler
I have a cf 9 app that uses cftree with the bind: parameter to dynamically create a tree... there are a couple buttons on that page too.. the buttons appear, but the body doesn't. it is all javascript. any suggestions on config, where to look to resolve this? thanks Sam ~~~

Re: web service API problems (data conversion)

2009-07-01 Thread sam Detweiler
any help here? anyone know how these bindings work? Sam ~| 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-t

Re: cfinput question

2009-07-01 Thread sam Detweiler
>At the risk of exposing my ignorance, isn't cffile a server-side >operation? I'm needing a client side filter, basically. > > >> how about using this the browser will ask for *.pdf files INITIALLY.. there is NO way to enforce ONLY a certain file extension/type.. (unless as noted you have code

Re: cfinput question

2009-07-01 Thread sam Detweiler
>I'm using the tag to upload pdfs to the server. >Is there a way in Cold Fusion to, when the file upload / browse dialog >comes up, restrict it to only show pdf files? Or is that an operating >system / java / something else function? > >Thanks in advance, >Les how about rather than cfinput..

web service API problems (data conversion)

2009-07-01 Thread sam Detweiler
one of the products I need to talk to with my CF application, provides a web service interface. CF generates the stubs underneath.. I CreateObject() the web service wsparm = StructNew(); wsparm["refreshWSDL"]="yes"; wsparm["saveJava"]="yes"; ws

Re: webservice

2009-06-28 Thread sam Detweiler
>When you hook up a web service in CF Admin how do you access it in your CFM >pages? you can do it without defining it, and CF will do that part automagically for you here is some code calling one of our products web services.. I did a createobject cause I have lots of functions to process..

Support for TAR files

2009-06-25 Thread sam Detweiler
Is there any library of functions to support mgmt of TAR files from a CF application? I have a TAR file on my server that needs to have files added to it as part of a web transaction, then gziped.(which there are methods for). I use the ZIP methods for the Windows zip files. Sam ~

Re: cffile cannot access network drive

2009-01-21 Thread sam Detweiler
>So I take it these servers aren't on a domain... > >.:.:.:.:.:.:.:.:.:.:. >Bobby Hartsfield >http://acoderslife.com >http://cf4em.com > correct.. only for development and pre-production test Sam ~| Adobe® ColdFusion® 8 software

Re: cffile cannot access network drive

2009-01-21 Thread sam Detweiler
>If you cant change one, then change the other. As in, change CF to run as >you. > >.:.:.:.:.:.:.:.:.:.:. >Bobby Hartsfield well, it takes adding a user to the service, adding that user to the server, AND specifying both access permission AND security permission to the user (or group). AND acce

Re: cffile cannot access network drive

2009-01-20 Thread sam Detweiler
> well, I don't know on the first.. the 'other system' is really a > virtual machine running under my userid with a shared drive. I can't > logoff or the VM will be shut down. > > I am using drive letters, not UNC > > Sam and it doesn't matter, fails with UNCs as well. Sam ~~~

Re: cffile cannot access network drive

2009-01-20 Thread sam Detweiler
>> thanks.. created a special account, but this didn't help >> either. > >Are you able to access the network shares with that account if you >login directly? Are you using drive mappings or UNC paths? > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ > well, I don't know on the first.

Re: cffile cannot access network drive

2009-01-20 Thread sam Detweiler
> > thanks.. this is CF on tomcat.. tomcat is running on the system > account with permission > > to interact with the console.. > > That is not sufficient to access network resources. SYSTEM has no > access to network resources. You must run CF as an account with > explicit access to those resou

Re: cffile cannot access network drive

2009-01-20 Thread sam Detweiler
>sam Detweiler wrote: > >ColdFusion does not run as you, it does not have your permissions. You >have to configure it as a user that does have the desired permissions. thanks.. this is CF on tomcat.. tomcat is running on the system account with permission to interact with the co

cffile cannot access network drive

2009-01-20 Thread sam Detweiler
I have an application that needs to access files on another machine, whose drives are mapped here.. I can do anything I want from the commandline, or browser or windows explorer on that drive.. but CF will not allow me to access it.. read, write or list.. anyone know of a workaround? thanks

Re: webservice failure in cf 8

2009-01-16 Thread sam Detweiler
>I have a client site that was working great. The machine got a worm and the >CF was reinstalled as CF 8.01. Now the webservice on the site fails with an >error of: >java.lang.ClassNotFoundException: _.redirect.RemotenumbersService > >The webservice is: >http://sitename/remote.cfc?wsdl"; >name="ws"

Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread sam Detweiler
> Can someone please show me how to load a class file in ColdFusion. > I've tried everything from copying the .class file to the > C:\CFusionMX7\lib directory to copying it to the > C:\CFusionMX7\wwwroot\WEB-INF\classes directory. I don't even know if > just by dropping the file to a specific d

Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread sam Detweiler
> Can someone please show me how to load a class file in ColdFusion. > I've tried everything from copying the .class file to the > C:\CFusionMX7\lib directory to copying it to the > C:\CFusionMX7\wwwroot\WEB-INF\classes directory. I don't even know if > just by dropping the file to a specific d

google widget toolkit thru CF

2009-01-15 Thread sam Detweiler
has anyone developed a tag library to interface to the new java based Google toolkit? I want to develop a new tree based application, to replace my cftree version (with cascaded checkboxes, etc).. but I want all the CF environment support. (cfc, ajax, sql param checking, etc).. cfext works to

Re: replace() vs replacelist() behavious differences

2009-01-14 Thread sam Detweiler
>> > > >I was INCORRECT.. replaceLIST() cannot REMOVE characters.. bummer well, it actually looks like there IS a trick (which I used and didn't realize it). if you code in directly in source code form, then you cannot provide for deletes.. if you code the in and out strings as strings, then

Re: replace() vs replacelist() behavious differences

2009-01-14 Thread sam Detweiler
> > > > I found that if the output list contains ,, for a particular entry > in > > the input list, this entry is SKIPPED and the output list REDUCED > in > > size.. if there is a SPACE char at least, then all is ok. > > > > OR do you need actual replaces near the front and deletes near the

Re: replace() vs replacelist() behavious differences

2009-01-14 Thread sam Detweiler
> > I found that if the output list contains ,, for a particular entry in > the input list, this entry is SKIPPED and the output list REDUCED in > size.. if there is a SPACE char at least, then all is ok. > > OR do you need actual replaces near the front and deletes near the > back? I'll try

replace() vs replacelist() behavious differences

2009-01-14 Thread sam Detweiler
I have an application that needs to modify the contents of a string. thru testing I used a distinct replace(string, out, in); call for each such character. in places where I wanted to delete the char, it was easy, replace(string, in,''); but... now that I have it all, there are 30 some odd chars

Re: Using JCaptcha and FreeTTS to embed captcha and audio for the visually impaired

2009-01-12 Thread sam Detweiler
> Hi Sam, > > Thank you for your post. I have copied the files FreeTTS.jar file to > my standalone ColdFusion installation folder: > "C:\CFusionMX7\lib\freetts.jar". I restarted ColdFusion and the jar > file is now showing up in the class-path which is good. I can dump the > methods in the Fre

Re: programming guidance, cftree

2009-01-12 Thread sam Detweiler
>> XSL supports FUNCTION recursion, but NOT data isolation. variables >> are in the context of the xpath path, and are NOT hidden on function >> recursion. (ie you have to be done with the variables, they will NOT >> survive. (I have a nice xslt that demonstrates the problem clearly).. > >I'd be i

Re: Loading data from a webservice call into MSSQL.

2009-01-12 Thread sam Detweiler
> > Rob I sent your updated code to you via email Sam ~| 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:

Re: Using JCaptcha and FreeTTS to embed captcha and audio for the visually impaired

2009-01-12 Thread sam Detweiler
> Hi everybody, > > I am hoping someone could provide me with some help in implementing > this on my application. I am running ColdFusion 7 on a Windows Server. > I have been asked to display a image and audio captcha in my form. > I've visited both the JCpatcha )http://jcaptcha.sourceforge.net

Re: Loading data from a webservice call into MSSQL.

2009-01-10 Thread sam Detweiler
> That sounds fair about the disk I/O, we have contingency built into > the client applications so that if an exception is thrown by the web > service then the client will reattempt to upload the records in its > next request so the odd error every now and then is not essential but > I'm lookin

Re: Loading data from a webservice call into MSSQL.

2009-01-10 Thread sam Detweiler
> Hi Sam, > > > You should be able to create an in memory query to represent the > > received data (your temp 'table' is rows and columns, same as a > > 'query'), and then your other operations would proceed normally with > a > > few minor changes in syntax, change the datasource= to dbtype=)

Re: Loading data from a webservice call into MSSQL.

2009-01-10 Thread sam Detweiler
> Posted this yesterday but seems to have disappeared and not come to > the list :-s > > Afternoon Guys, > > I publish a web service which receives statistical data in an array of > complex objects from clients. This data then gets processed and > inserted into a SQL Server db to be report

Re: programming guidance, cftree

2009-01-09 Thread sam Detweiler
> >I've never had any difficulty getting XSL to handle recursion, but like >Dave Watts mentioned, it won't help you convert from non-XML data to XML. >For that you need to roll your own code, which I'm guessing is what >you're describing in the 2nd paragraph here. Yeah, your function can be >used t

Re: programming guidance, cftree

2009-01-09 Thread sam Detweiler
> > yeh on the XSLT, I spent quite some time trying to use XSLT to > convert some non-XML data to XML, but it doesn't support recursion, > yeow!. > > First, XSL does support recursion just fine: > http://www.ibm.com/developerworks/xml/library/x-xslrecur/ > > Second, I'm not sure what you mean b

Re: programming guidance, cftree

2009-01-09 Thread sam Detweiler
>> thanks. I wasn't able to find a query mechanism either. >> >> the tree displays/works fine, but the app build process isn't right.. > >Right... that's the reason why I was headed for using a query to build >the tree, because in theory if you give it id/parent it should be able >to build all th

Re: programming guidance, cftree

2009-01-09 Thread sam Detweiler
>I don't think the tree is going to work for you the way you're hoping... > >In the past I remember being able to specify a query in cftreeitem with >id and parent and having it automatically assign all the sub-nodes the >way I wanted, but I can't seem to get that to work now on CF8 with a >single

programming guidance, cftree

2009-01-09 Thread sam Detweiler
I have the need to display an xml document. so I am using cftree to do that. to build the cftreeitems, it is easiest to recursively call the renderer for each node. BUT the cf compiler 'expects' the cftreeitem tags to be in the SOURCE FILE AFTER the CFTREE tag. if I generate the tree items (s

Re: how to get latest XALAN & libs under CF 8

2009-01-01 Thread sam Detweiler
> I need to use XSLT to transform one XML doc into another. because of > the size of the document, I cannot use the recursive parsing > techniques due to out of stack. So I want to use tokenize() and then > I can use for-each.. > > but when I copy the latest xalan, xerces, xml-apis jars into

how to get latest XALAN & libs under CF 8

2008-12-29 Thread sam Detweiler
I need to use XSLT to transform one XML doc into another. because of the size of the document, I cannot use the recursive parsing techniques due to out of stack. So I want to use tokenize() and then I can use for-each.. but when I copy the latest xalan, xerces, xml-apis jars into lib, CF will

trouble with CFZIP action="zip" add one file to existing zip

2008-12-23 Thread sam Detweiler
I have this app that needs to download a customized zip file to the user. I need to add one file that is specific to their session.. SO, I copy the master to a session sensitive name (expecting multiple concurrent users of this function) (list for debugging) cfzip action=zip, overwrite=no add th

Re: java package name on cfinvoke of web service

2008-12-11 Thread sam Detweiler
>FYI Axis that is shipped with ColdFusion is 1.2.X the latest is 1.4 the one >in CF is markedly older regardless of the creation or modified date... > >Adam > ok, odd that the date matches exactly the 1.4 release.. regardless.. there IS a way around this problem, use CreateObject, which allows on

Re: java package name on cfinvoke of web service

2008-12-10 Thread sam Detweiler
>Before heading down that route, I've found (especially with .NET services) >that updating to the latest version of axis 1.4 (do not get axis 2) has >fixed the majority of the issues. > >Adam > > Thanks.. the latest axis code is dated 4/22/06, while the code in the cf 8.01 lib is dated 2/27/07.

cfinvoke web services with complex datatypes, wsdl2java invocation problem, cf8.01

2008-12-10 Thread sam detweiler
I am trying to invoke a web service that has some complex data types. http://sharepoint/UDSM_R11_webservice/wsdl/webserviceapi.wsdl"; method="Login" refreshWSDL="no" returnvariable="aTemp"> > The CF cfinvoke code correctly called wsdl2java under the covers, BUT because of the dat

package name on cfinvoke of web service

2008-12-10 Thread sam Detweiler
I am trying to connect to a web service with CF 8.01. the cfinvoke tag invokes wsdl2java as expected, but the emitted java code cannot be compiled as is, missing an import statement in the 'holder' classes for the complex data types defined by the wsdl. I can manually emit code with wsdl2java

java package name on cfinvoke of web service

2008-12-10 Thread sam Detweiler
I am trying to connect to a web service with CF 8.01. the cfinvoke tag invokes wsdl2java as expected, but the emitted java code cannot be compiled as is, missing an import statement in the 'holder' classes for the complex data types defined by the wsdl. I can manually emit code with wsdl2java

package name on cfinvoke of web service

2008-12-10 Thread sam Detweiler
I am trying to connect to a web service with CF 8.01. the cfinvoke tag invokes wsdl2java as expected, but the emitted java code cannot be compiled as is, missing an import statement in the 'holder' classes for the complex data types defined by the wsdl. I can manually emit code with wsdl2java