Re: Gmail highlighting

2005-03-13 Thread Jehiah Czebotar
> Has anyone come up with an effective way to highlight a search term in a
> result set using Cold Fusion?


cf_highlight should work for you.

http://www.cfdev.com/products/productdetail.cfm/id/1018

-- 
[EMAIL PROTECTED]

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198596
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ColdFusion 5 and Stored Procedures Issue

2005-03-09 Thread Jehiah Czebotar
I ran into something today/yesterday which might be the same problem.

When you use cfqueryparam coldfusion will 'pool' the sql statement -
meaning that db connection will stay open with 'a' cursor to that
pooled statement

I specifically was having problem with a max-open-cursors error, but I
suppose it could also happen with connections

http://jehiah.com/archive/maximum-open-cursors-exceeded

I remember getting max-processes errors before, but i'll have through
my notes, because it isn't on my site.

-- 
[EMAIL PROTECTED]
http://jehiah.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198129
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Crystal X1

2005-03-09 Thread Jehiah Czebotar
> Can anyone advise is CFREPORT will work with Crystal Report XI files.

I have experience with 10, not 11, but it should be pretty much the
same... whats up?

-- 
[EMAIL PROTECTED]
http://www.jehiah.com/

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198127
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Simple way to get row before and after

2005-02-28 Thread Jehiah Czebotar
It sounds like the subselect meets your needs better as you are
getting a single record from the database... however It turns out
otherwise then You could also use coldfusion to grab the id before and
after like so when looping through the query:


select id, title from table
order by id



#id# - #title#

previous id = #theQuery[theQuery.currentrow-1].id#


   next id = #theQuery[theQuery.currentrow+1].id#



Not that i'm a walking compiler... But I believe that should also get
you your results.

-- 
[EMAIL PROTECTED]

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196903
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Verity Issue

2005-02-23 Thread Jehiah Czebotar
> I now have a verity collection of all the files I want from a given folder,
> (as filtered by .extension) but my 'non-indexed' pages are included in any
> search returns. These pages we don't want in the general verity search. Is
> there a way to query the page content for 'content='noindex' when the
>  is run and have these pages excluded from the collection?
> 

It sounds like this won't work.. but it's a suggestion anyway

I do a query of queries on the results to filter out specific url's.
Depending on your filestructure you may be able to do something 
similar.

select * from verity_search
where lower(url) not like '%_private%'
order by score desc

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196148
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Error Oddity

2005-02-22 Thread Jehiah Czebotar
> for a template that does exist?

are you running on a linux machine where filenames are case sensitive ?

-- 
[EMAIL PROTECTED]

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196031
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using Verity Collections Generated on Different Server

2005-02-18 Thread Jehiah Czebotar
> 
> My question is how do I add these collections to the CF administrator and get 
> it to work correctly?  I tried creating a new collection in the CF 
> administrator, gave it the same name as the directory of the collection, and 
> pointed it to CF's "collections" directory (e.g. if the collection is named 
> "myCollection" there's a directory under verity/collections called 
> "myCollection", and I'm pointing the path when I create the collection to 
> /full/path/to/verity/collections).
> 

I think it needs to point to the specific collection. Thats off the
top of my head, but I currently have a  cluster which reads from a
single shared collection and it works. You may need to re-index the
collection after both servers are pointing to it.

try: /full/path/to/verity/collections/myCollection

-- 
[EMAIL PROTECTED]

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195537
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Error consuming web services

2005-02-17 Thread Jehiah Czebotar
You might check to see if coldfusion has an old version of the wsdl
cached in the coldfusion administrator. (ie: delete it from the list
in coldfusion administrator, then try)

-- 
[EMAIL PROTECTED]


On Thu, 17 Feb 2005 11:34:56 -, A.Little <[EMAIL PROTECTED]> wrote:
> 
> OK, I must be doing something really dumb here... I run this following
> code:
> 
>  webservice="http://dev-iet.open.ac.uk/webservices/people.cfc?wsdl";
> method="getPeople"
> returnvariable="testing">
> 
> 
> #testing#
> 
> To call the webservice code:
> 
>  returntype="string">
>  required="yes">
> 
> 
> 
> 
> (and this appears fine as wsdl when I go to
> http://dev-iet.open.ac.uk/webservices/people.cfc?wsdl)
> 
> But I get the error "Web service operation "getPeople" with parameters
> {GroupID={15},} could not be found. "
> 
> So - what have I done wrong?! For info the webservice is on CFMX (6.1)
> and the calling code is on CF7
> Alex

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195308
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: IIS Compression / CF

2005-02-13 Thread Jehiah Czebotar
Not a coldfusion issue, but If your server is already fairly loaded,
you might not want to compress the output, because then your server
has to deal with compression overhead as well.

-- 
[EMAIL PROTECTED]
http://www.jehiah.com/

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194479
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfexecute carriage return

2005-02-13 Thread Jehiah Czebotar
> 
> does anyone know how to add a carriage return to the command line (windows). 
> i read $_ is it but this isnt working.
> 

You should be able to use #chr(10)##chr(13)# to pass a carriage
return. (I might have them backwords though)

-- 
[EMAIL PROTECTED]
http://www.jehiah.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194478
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: drive mapping for CF to use

2005-02-11 Thread Jehiah Czebotar
If the UNC path doesn't work out, you can create a system level
mounted drive (as opposed to a user level mounted drive and setting
coldfusion to run as a specific user) and set your web root there or
use cffile to pull files from it. This will work because coldfusion
naturally runs at the 'system' level. The trick is to mount the drive
using a startup .vbs script that get's run as the 'system' user.

As a side note, I don't believe  will read UNC file paths.

http://www.jehiah.com/archive/clustering-coldfusion-in-a-windows-environment

-- 
[EMAIL PROTECTED]

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194383
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using ColdFusion to set scroll to position?

2005-02-10 Thread Jehiah Czebotar
Ian is right ColdFusion won't know what to do, the scrolling happens
by the client so this is really OT, but...

The best solution is to put a id="id-name" on some html element where
you want to scroll to, then using the javascript that follows tell the
browser to jump to that section. (note: the pound sign should not be
inside of a  block... if it is, double it up.

window.location.hash = '#id-name';

This will move the focus to that section of the page, and is more
cross-browser compliant than what you were trying to do as I outlined
on my site: http://www.jehiah.com/archive/jump-to-page-anchor

-- 
[EMAIL PROTECTED]
http://www.jehiah.com/

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194156
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: _wits_end_"The_argument_PRODUCTID_passed_to_function_ displayProductItem()_is_not_of_type_numeric._"

2005-02-10 Thread Jehiah Czebotar
I have had a similar problem before, and I believe the error message
was deceptive.

As I recall it was really a problem with the way I declared the
acceptable type of argument in my  tag. Check there and
make sure you have type="numeric" and not type="intiger" or something
else that coldfusion finds unacceptable.

-- 
[EMAIL PROTECTED]
http://www.jehiah.com/

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194136
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Uploaded .doc files using cffile, now I need to 'scrape' the data from the files

2005-02-10 Thread Jehiah Czebotar
Another solution that I have used successfully is as follows (note:
this will probably only work on a linux box)

a) make a call to wvHTML (from wvWare.sourceforge.net) to convert the
doc to html
ex:wvHTML file.doc file.html
b) make a call to elinks which does a beautifull job of converting html to text
   ex:elinks -dump file.html file.txt
c) now read in the text from 'file.txt'

it even converts tables nicely

-- 
[EMAIL PROTECTED]
http://www.jehiah.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194135
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: <- Previous Page | Next Page ->

2005-02-08 Thread Jehiah Czebotar
I've also put a page up on my website with some code. Basically the
same thing as posted above, with a few minor details.

http://www.jehiah.com/archive/paging-coldfusion-results

-- 
[EMAIL PROTECTED]

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193759
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: No white space in source code?

2005-02-06 Thread Jehiah Czebotar
> 
> Also make sure whitespace amangement is checked in the Administrator.
> And use CFCs and and set output = false.
> 

I believe that setting is only available when running in the
standalone mode. i.e. it is not there when using the J2EE install.

--
[EMAIL PROTECTED]
http://www.jehiah.com/

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193236
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54