Re: Freelance ColdFusion developer wanted to telecommute

2006-06-19 Thread Rob Rohan
They might have meant telecommute from within the area - available  
for on site meetings and such (just to give the benefit of the  
doubt). Would be nice if it said must be in the area though if that  
were the case.

On Jun 19, 2006, at 6:01 PM, James Holmes wrote:

 So this whole section of the ad is hogwash:

 Although we're based in DC we are completely decentralized
 (i.e. we all work from home) so this would be a 100% telecommuting  
 job.

 I'd reconsider working for anyone who can't get a simple job ad right.

 On 6/20/06, Ken Ferguson [EMAIL PROTECTED] wrote:
 Just for the benefit of anyone reading this post, the position is NOT
 for a telecommuting position as the subject states. I responded  
 for more
 details and found that the job is an on-site position in Austin, TX.

 -- 
 CFAJAX docs and other useful articles:
 http://jr-holmes.coldfusionjournal.com/

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:11:3032
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT: cfeclipse version 1.1.1 released - if you care

2004-02-24 Thread Rob Rohan
On Tue, 2004-02-24 at 01:43, Thomas Chiverton wrote:
 On Tuesday 24 Feb 2004 09:34 am, Thomas Chiverton wrote:
  Great job, once again.
 
 Except it appears to be missing some files in /icons/ - like the title bar and 
 menu icons.
 I copied the /icons/ dir from 1.1.0 into the /icons/ dir of 1.1.1 and that has 
 fixed it.

I changed the directory structure for 1.1.1's icons to be standard to
eclipse (I read an article hehehe) - I had to remove the 1.1.0 directory
from the plugin's directory to get the 1.1.1 icons to show up(I think
they are cached somehow) and all was fine (you way seem cool too :)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SOT: cfeclipse version 1.1.1 released - if you care

2004-02-24 Thread Rob Rohan
On Tue, 2004-02-24 at 08:55, Greg Luce wrote:
 Rob, what is cfeclipse? I went to http://cfeclipse.rohanclan.com/ and
 can't make heads or tails of it? Is it an editor? That's what it sounds
 like from the notes there. Is it freeware/shareware? Where can it be
 downloaded from?
Sorry, 
Eclipse is an open source IDE / framework for java from IBM (and I think
Macromedia had a hand in it too). You can read about it and download it
here http://www.eclipse.org. It's a java IDE by default, but you can add
plug-ins for other languages - actually you can add plug-ins for pretty
much anything. People have made UML modelers and IM plug-ins - all kinds
of stuff.

It's kind of like .net for java.

If you have used a java type editor before, you'll probably have noticed
it was kind of slow (like netbeans), but this one uses native under java
so it crazy fast (Uses activeX stuff on windows, GTK on linux, Cocca on
Mac, etc). In fact, some say that eclipse with the cfeclipse plug-in is
faster / more responsive then dw - that is opinion and cfeclipse has far
less features then dw.

Anyway, to take the long way around, Eclipse is an IDE, cfeclipse is a
plug-in to make Eclipse an CF IDE/Editor - they are both free and open
source.

http://www.eclipse.org
http://cfeclipse.rohanclan.com

Cheers



whiner
I used dreamweaver a couple of jobs ago and I didn't like it. It's a
great product but it was not written for coders it was written for
people who needed a wizard to make a query tag. I found it to be
intrusive and unhelpful and an editor should help not hinder. Finally I
do mostly contract work, I use Linux and dw wont work on Linux
(purposefully I think).

I didn't like dw for the reasons listed below:

 * It doesn't work on linux
 * I could not do Emacs key bindings
 * that stupid blue line number gutter thing, why blue? why cant I turn
that off?
 * the price is out of control
 * function helping not helpful
 * it just seems to be made by designers for designers - lots of little
things - if you look at a code based IDE and you look at dw, you can
just tell its not a code based IDE
 * I write quite a bit of java and I like to compile java and have
access to cf at the same times (like writing and testing beans or cfx
tags)
 * an abundant of wizards piss me off.
/whiner

 
 Greg
 
 -Original Message-
 From: Rob Rohan [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, February 24, 2004 11:45 AM
 To: CF-Talk
 Subject: Re: SOT: cfeclipse version 1.1.1 released - if you care
 
 
 On Tue, 2004-02-24 at 01:43, Thomas Chiverton wrote:
  On Tuesday 24 Feb 2004 09:34 am, Thomas Chiverton wrote:
   Great job, once again.
  
  Except it appears to be missing some files in /icons/ - like the title
 
  bar and
  menu icons.
  I copied the /icons/ dir from 1.1.0 into the /icons/ dir of 1.1.1 and
 that has 
  fixed it.
 
 I changed the directory structure for 1.1.1's icons to be standard to
 eclipse (I read an article hehehe) - I had to remove the 1.1.0 directory
 from the plugin's directory to get the 1.1.1 icons to show up(I think
 they are cached somehow) and all was fine (you way seem cool too :)
-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SOT: cfeclipse version 1.1.1 released - if you care

2004-02-24 Thread Rob Rohan
I sent a reply to this but it doesn't seem to have been posted - sorry
if this gets duped.

to be brief:

File/Open no worky at present

File/new/project/simple/project then add or import cfm,cfc, or cfml
files will work

On Tue, 2004-02-24 at 03:44, Oliver Tupman wrote:
 Hi Rob,
 
 Downloaded a clean copy M7 of Eclipse 3 and followed the steps for 
 installing the plugin. I also copied the icons from 1.1.0 to 1.1.1.
 
 I open a CFM file and here's what I get:
 i) The plugin's toolbar
 ii) The plugin's menubar
 iii) An error in the window that the CFM file should be displayed in 
 saying ERROR and nowt else!
 
 I'm running Version 3.0.0, build ID 200402122000 on Windows 2k.
 
 I've no idea how Eclipse works, nor a huge amount of Java experience but 
 surely there should be some way of outputting debug info? Maybe some 
 sort of menu option (for the moment)?
 
 In fact, are there any pointers you can give me on getting started with 
 your source? I'd love to help out - Homesite is annoying me and I don't 
 think my boss will fork out for Dreamweaver as it does a whole lot of 
 stuff I don't need!
 
 So if you've pointers on how to get started, good websites, etc. I'd be 
 very grateful!
 
 To start off with, how would you start debug my problem? How does one 
 debug Eclipse? Perhaps I can fix my own problem! The joys of open 
 source, no?
 
 Anyway, good work on the menu options as that's all I see at the moment :D
 
 Oliver Tupman.
 
 Rob Rohan wrote:
  This version has a couple bug fixes, and adds snips. Snips are the same
  thing as snippets with a different file format. They can *not* be
  assigned to key strokes yet (I know - I know). The snips are xml files
  that need to be placed in your
  [home]/workspace/.metadata/.plugins/com.rohanclan.coldfusionmx
  directory, and are then uses buy turning on the Snip View by selecting
  Windows/Show View/Other... then Snip View/Snip View from the Eclipse IDE
  menubar.
  
  changes:
  * Bug fix: crazy double clicking highlight - double clicks now act
  normal
  * Bug fix: the code insight now stays open and limits selections as you
  type (tags and attributes only)
  * Bug fix: the cursor is moved to the middle of any inserted items (i.e.
  comments and hash inserts)
  * Added snips - much like snippets, and can read dreamweaver snippets,
  but imported dreamweaver snippets don't work right yet.
  * Ctrl+Shift+R creates a cfscript block
  
  happy cfcoding
  
  -- 
  Vale,
  Rob
  
  Luxuria immodica insaniam creat.
  Sanam formam viatae conservate!
  
  http://www.rohanclan.com
  http://treebeard.sourceforge.net
  http://ashpool.sourceforge.net
 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SOT: cfeclipse version 1.1.1 released - if you care

2004-02-24 Thread Rob Rohan
On Tue, 2004-02-24 at 09:32, Won Lee wrote:
 Rob,
 
 How do I check that I'm using 1.1.1 and not previous versions?
Help/About eclipse platform/plug-in details should list all 
installed plug-ins and versions

 Won
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SOT: cfeclipse version 1.1.1 released - if you care

2004-02-24 Thread Rob Rohan
On Tue, 2004-02-24 at 09:34, Won Lee wrote:
 Rob,
 
 I should be a little more specific.The reason that I ask is because I 
 extracted it to e:\eclipse\plugins.
 It created a directory com.rohanclan.coldfusionmx_1.1.1 and I do see the 
 jar file there.
 But when i go into the configuration history and I don't see an reference 
 to 1.1.1.I do see old references to 1.0.5 though.

To use the new plug-ins you have to have eclipse 3.0M7 not 2.1.2 - I
stopped writing for version 2 as the api changed in 3 and I dont have
the man power to keep up 2 separate versions sorry :(

 
 Won
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SOT: cfeclipse version 1.1.1 released - if you care

2004-02-24 Thread Rob Rohan
On Tue, 2004-02-24 at 09:41, Won Lee wrote:
 Rob
 
 Thanks.I just realized that I did a re-install of 2.1.1.
 I guess that means I can only get up to cfeclipse 1.0.5?

Yeah, unless you want to back port the newer stuff to 2 - That would
help quite a few people I think. The source for the 3 version is on the
site - if I had time I would sorry.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Cold Fusion and Oracle Stored Procedures

2004-02-24 Thread Rob Rohan
On Tue, 2004-02-24 at 11:50, Richard Crawford wrote:
 Thomas Chiverton wrote:
 
  Solution: Use native CFMX drivers. Which is a shame :-(
  I dunno if it's worth putting in on the wish list...
 
 I figured out to return a ref cursor, and this appears to return a 
 result set fine.However, now I'm getting an error reading, [Oracle 
 JDBC Driver]Unsupported data conversion. 
That just passes along the problem from the driver/database it cant tell
you the line number of the stored proc if it was not given

The offending line that the CF 
 processor shows has nothing to do with SP's, of course (in fact, it's a 
 comment line).
its talking about the cfproc call, probably near the comment. Sometimes
it points before sometimes after, but generally near the query/proc
call. In other words, its telling you were cf made the proc call not
where the proc errored.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Cold Fusion and Oracle Stored Procedures

2004-02-24 Thread Rob Rohan
On Tue, 2004-02-24 at 12:23, Richard Crawford wrote:
I know you are not supposed to, but try casting sFirst etc to varchar
(not varchar2) just to see if that fixes the unknown type problem.

... still looking...

 Rob Rohan wrote:
 
  That just passes along the problem from the driver/database it cant tell
  you the line number of the stored proc if it was not given
 
 Here is the revised SP in Oracle:
 
 
 CREATE OR REPLACE procedure dlc_sp_getStudentInfo (
 studentID IN int,
 		studentInfo in out types.cursorType
 )
 
 as
 
 		type studentCursor is ref cursor;
 		--studentInfo studentCursor;
 
 		xID int;
 		xName varchar2(255);
 		xURL varchar2(255);
 		nID int;
 		nNumber int;
 		nGrdRoster int;
 		lStartDate date;
 		lEndDate date;
 		iID int;
 		iFirst varchar2(50);
 		iLast varchar2(50);
 		zero int := 0;
	userLast varchar2(50);
 
 rowcount int;
 nextQ int;
 annID int;
 error int := 0;
 sID int;
 v_login varchar2(500);
 sFirst varchar2(50);
 sLast varchar2(50);
 sOrient varchar2(5);
 
 begin
 
 open studentInfo for
 	-- Part One: get student name, etc., and whether they've done the 
 orientation
 		select
 			sFirst,
 			sLast,
 			sOrient
 		from
 			tblStudentInfo
 		where
 			sid = studentID;
 
 fetch studentInfo into sFirst, sLast, sOrient;
 
 close studentInfo;
 
 -- Part Two: get their other class info.
 /*
 select
 		x.xID,
 	 x.xName,
 	 x.xURL,
 	 n.nID,
 	 n.nNumber,
 	 n.nGrdRoster,
 	 r.lStartDate,
 	 r.lEndDate,
 	 n.iID,
 	 i.iFirst,
 	 i.iLast,
 	 0,
 	 u.usrLast
 into
 		xID, xName, xURL, nID, nNumber, nGrdRoster, lStartDate, lEndDate, iID, 
 iFirst, iLast, zero,
 userLast
 from
 tblCourses x,
 tblRoster r,
 tblSections n,
 tblInstructors i,
 tblUser u
 where
 x.xID = n.xID and
 r.nID = n.nID and
 r.sID = studentID and
 n.iID = i.iID and
 r.lStartDate  current_date and
 u.usrID = studentID;
 */
 end;
 /
 
 
 
 And the accompanying CFSTOREDPROC call in CF:
 
 
 
 		cfstoredproc datasource=DLCampus procedure=dlc_sp_getStudentInfo
 			cfprocparam type=in value=#cookieID# cfsqltype=cf_sql_integer
 			cfprocresult name=getName
 			!--- cfprocresult name=getInfo resultSet=2 ---
 		/cfstoredproc
 
 
  
  
  The offending line that the CF 
 processor shows has nothing to do with SP's, of course (in fact, it's a 
 comment line).
  
  its talking about the cfproc call, probably near the comment. Sometimes
  it points before sometimes after, but generally near the query/proc
  call. In other words, its telling you were cf made the proc call not
  where the proc errored.
  
  
-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: zip file

2004-02-24 Thread Rob Rohan
Sorry everyone I don't think he meant that for the list

On Tue, 2004-02-24 at 14:16, Steve Nelson wrote:
 There seems to be a broken link to the 1.1.1 release of the cfeclipse
 plugin.
Found and fixed thanks :)

btw, was this plugin tough to create? I have a few plugins I've
 built for Homesite that I'm considering porting over to eclipse.
I mailed him off list about this, if you are interested mail me off
list.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: Sorry, ASP question.

2004-02-24 Thread Rob Rohan
On Tue, 2004-02-24 at 13:45, Emmet McGovern wrote:
 Does anyone know how to find the path to the .dll thatthis would be
 referencing (server.CreateObject(HyperImage.Processor)).

If I recall correctly, you can also go to regedit and search for
HyperImage.Processor or whatever in the data part of the keys to find
more information on whats what.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




SOT: cfeclipse version 1.1.1 released - if you care

2004-02-23 Thread Rob Rohan
This version has a couple bug fixes, and adds snips. Snips are the same
thing as snippets with a different file format. They can *not* be
assigned to key strokes yet (I know - I know). The snips are xml files
that need to be placed in your
[home]/workspace/.metadata/.plugins/com.rohanclan.coldfusionmx
directory, and are then uses buy turning on the Snip View by selecting
Windows/Show View/Other... then Snip View/Snip View from the Eclipse IDE
menubar.

changes:
* Bug fix: crazy double clicking highlight - double clicks now act
normal
* Bug fix: the code insight now stays open and limits selections as you
type (tags and attributes only)
* Bug fix: the cursor is moved to the middle of any inserted items (i.e.
comments and hash inserts)
* Added snips - much like snippets, and can read dreamweaver snippets,
but imported dreamweaver snippets don't work right yet.
* Ctrl+Shift+R creates a cfscript block

happy cfcoding

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: SOT: cfeclipse version 1.1.1 released - if you care

2004-02-23 Thread Rob Rohan
By the way cfeclipse is a Cold Fusion eclipse plug-in and can be
obtained here http://cfeclipse.rohanclan.com

On Mon, 2004-02-23 at 14:08, Rob Rohan wrote:
 This version has a couple bug fixes, and adds snips. Snips are the same
 thing as snippets with a different file format. They can *not* be
 assigned to key strokes yet (I know - I know). The snips are xml files
 that need to be placed in your
 [home]/workspace/.metadata/.plugins/com.rohanclan.coldfusionmx
 directory, and are then uses buy turning on the Snip View by selecting
 Windows/Show View/Other... then Snip View/Snip View from the Eclipse IDE
 menubar.
 
 changes:
 * Bug fix: crazy double clicking highlight - double clicks now act
 normal
 * Bug fix: the code insight now stays open and limits selections as you
 type (tags and attributes only)
 * Bug fix: the cursor is moved to the middle of any inserted items (i.e.
 comments and hash inserts)
 * Added snips - much like snippets, and can read dreamweaver snippets,
 but imported dreamweaver snippets don't work right yet.
 * Ctrl+Shift+R creates a cfscript block
 
 happy cfcoding
-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: A further issue with CF and Oracle SP's

2004-02-23 Thread Rob Rohan
On Mon, 2004-02-23 at 15:10, Richard Crawford wrote:
 When I pass a value back to a variable from a stored procedure in 
 Oracle, the variable invariably takes on a value of 1 instead of 
 whatever was determined in the stored procedure.
 
 For example, here is where the stored procedure is called:
 
 cfstoredproc datasource=mydata procedure=myproc debug=yes
 cfprocparam type=in dbvarname=myVar value=12 
 cfsqltype=cf_sql_integer
 cfprocparam type=out dbvarname=myVar2 variable=myResult 
 cfsqltype=cf_sql_integer
 /cfstoredproc
 
 ...and here is the stored procedure:
 
 CREATE OR REPLACE procedure myproc (
 	myVar int,
 	myVar2 out
 ) as begin
 
 myVar2 := 0;
 myVar2 := myVar * 2;
 end myproc;
 /

You might try something like SELECT myVar AS backvalue to get the
value out as a record set. I had a similar problem on SQL server a while
back and just fell back on to that. It seemed like the out would always
return the exit status of the store proc - This was quite a while ago
mind you and I could have been doing it totally wrong - but try
something along the lines of:

cfstoredproc datasource=mydata procedure=myproc debug=yes
cfprocparam type=in dbvarname=myVar value=12
cfsqltype=cf_sql_integer

cfprocresult name=dodad resultSet=1
/cfstoredproc

cfdump var=#dodad#

and adjust the procedure to do a select at the end. Also you might try
turning debug off as that maybe whats casing it to be mean.

 
 Now, when I do something like:
 
 cfoutput#myResult#/cfoutput
 
 I should see 24 displayed on the screen. Instead I see 1.Why is this?

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CF MX 6.1 install problem with installanywhere

2004-02-23 Thread Rob Rohan
Do you have virus scanning software on that server and active during
install? I've had installs barf on me because of that.

On Mon, 2004-02-23 at 15:25, Andrew Scott wrote:
 Hoping that someone might be able to shed some light on a problem I am
 having, have installed coldfusion a number of times in the last 8 years, but
 have never come across this. When trying to install CF MX 6.1 on a Windows
 2000 server, it is trying to extract the files after it gets to 100% on this
 server it stops no error nothing. I can't even find a file to tell me why it
 hasn't gone any further.

 This is a new install of Windows 2000 server, has been patched to server
 pack 4 and has all the security updates/patches from Microsoft installed. I
 must be missing something, I can run the same file on a Windows 2000 Server
 elsewhere and it will try to install, I can even run the install on Windows
 XP Professional and it will try to install. Just not on this server!

 Has anyone got any clues, ideas what might be wrong. I thought about
 permissions, but this is a total fresh install formatted hard drive on
 install of windows 2000 server. I am totally stumped for ideas and solutions
 to this.

 
 
 Regards
 Andrew Scott
 Technical Consultant
 
 NuSphere Pty Ltd
 Level 2/33 Bank Street
 South Melbourne, Victoria, 3205
 
 Phone: 03 9686 0485-Fax: 03 9699 7976
 
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CF MX 6.1 install problem with installanywhere

2004-02-23 Thread Rob Rohan
You can try this to get a clue (from zerog.com):

Debugging a Win32 installer
To view or capture the debug output from a Win32 installer, hold down
the CTRL key immediately after launching the installer and until a
console window appears. Before exiting the installer, copy the console
output to a text file for later review.

On some Windows NT systems, run the installer once with the CTRL key
down, resetting the scroll back buffer for the console window, then quit
and run the installation again.

If there are problems capturing the console output, try a slightly more
convoluted method (this will often be the case on Win9x because of the
limited ability of the console to capture output). First launch the
installer and allow it to extract the necessary files. Once it reaches
the Preparing to Install... window, when given the opportunity to
choose a language or to go to the Windows temp directory, look for a
temp folder which starts with an 'I followed by many numeric digits
(ex. I1063988642). Be sure it is the most recent directory, by sorting
the directories by their modified date. Open the directory, there
should be a file called sea_loc. Delete this file. Now go back to the
installer, click OK, and at the first opportunity, cancel the
installation.

Now go back to the directory inside the temp directory, where the file
sea_loc was deleted. There should be another directory called
Windows; open it. There should be an .exe file (most likely
install.exe). There should also be another file with the same name
except it will have a .lax extension. Open it with a plain text editor
and edit the lines:

lax.stderr.redirect= AND lax.stdout.redirect= to be: 
lax.stderr.redirect=output.txt AND lax.stdout.redirect=output.txt

After these changes have been made, save the file and launch the .exe.
When the installation is complete there should be an output.txt file in
the same directory as the .lax file. The output.txt file will contain
the same information as that generated to the console.


On Mon, 2004-02-23 at 15:34, Andrew Scott wrote:
 No total fresh install, the first thing I would like to install is
 coldfsuion but no luck on that.
 
 Regards
 Andrew Scott
 Technical Consultant
 
 NuSphere Pty Ltd
 Level 2/33 Bank Street
 South Melbourne, Victoria, 3205
 
 Phone: 03 9686 0485-Fax: 03 9699 7976

 
_
 
 From: Rob Rohan [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, 24 February 2004 10:31 AM
 To: CF-Talk
 Subject: Re: CF MX 6.1 install problem with installanywhere
 
 
 Do you have virus scanning software on that server and active during
 install? I've had installs barf on me because of that.
 
 On Mon, 2004-02-23 at 15:25, Andrew Scott wrote:
  Hoping that someone might be able to shed some light on a problem I am
  having, have installed coldfusion a number of times in the last 8 years,
 but
  have never come across this. When trying to install CF MX 6.1 on a Windows
  2000 server, it is trying to extract the files after it gets to 100% on
 this
  server it stops no error nothing. I can't even find a file to tell me why
 it
  hasn't gone any further.
 
  This is a new install of Windows 2000 server, has been patched to server
  pack 4 and has all the security updates/patches from Microsoft installed.
 I
  must be missing something, I can run the same file on a Windows 2000
 Server
  elsewhere and it will try to install, I can even run the install on
 Windows
  XP Professional and it will try to install. Just not on this server!
 
  Has anyone got any clues, ideas what might be wrong. I thought about
  permissions, but this is a total fresh install formatted hard drive on
  install of windows 2000 server. I am totally stumped for ideas and
 solutions
  to this.
 
  
  
  Regards
  Andrew Scott
  Technical Consultant
  
  NuSphere Pty Ltd
  Level 2/33 Bank Street
  South Melbourne, Victoria, 3205
  
  Phone: 03 9686 0485-Fax: 03 9699 7976
  
  
  
  
_
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFC Packages...

2004-02-23 Thread Rob Rohan
On Mon, 2004-02-23 at 16:26, Craig Earls wrote:
 So to keep this from happening again with my next application:What 
 should I do?How should I organized my components?How should I 
 package my components?

What I do is make a variable in the application file called like
request.basepackage = catalog.model

then try to organize off of that. for example:

createObject(component,#request.basepackage#.description)

or if you want to get silly, you can make a udf to get the path for you
(looks a bit better but has more overhead)

function getLocalCFC(cfcname){
	return #request.basepackage#.#cfcname#;
}

or something along those lines. Anyway, if you have to move it or rename
it you only have to adjust one place.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CSS in CFM pages

2004-02-23 Thread Rob Rohan
On Mon, 2004-02-23 at 18:38, face mann wrote:
 Can I use my CSS pages to format my CFMX6.0 pages?
 It doesn't seem to work.

Gonna need a bit more information face mann.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: Instant Messengers

2004-02-19 Thread Rob Rohan
On Thu, 2004-02-19 at 09:24, Bryan Stevenson wrote:
 Hey All,
 
 Sorry for the OT...but who better to ask then other techies ;-)
 
 I like IMs that can access multiple networks and have been using GAIM (and
 previously Trillian and Jabber).GAIM is having issues connecting to Yahoo
 (what's new) andI'm looking for a new solution.

Just out of curiosity are you using the latest version of GAIM? 0.75? if
not, I upgraded a while ago and am very pleased

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: Instant Messengers

2004-02-19 Thread Rob Rohan
Not sure if you are on sindows or linux:

windows:
http://miranda-im.org/release/download.php

here are some more:
Bantu (applet: ICQ, MSN, Yahoo!, and Bantu)
JabberIM (Open source. applet: ICQ and Jabber)
EveryBuddy (Open source. Unix: ICQ, AIM, MSN, and Yahoo!)
Pow Wow (Win: AIM, MSN, and Pow Wow)
MyCQ (Win: ICQ and AIM)

On Thu, 2004-02-19 at 09:53, Bryan Stevenson wrote:
 yes I am...and I love GAIM...just hasn't been working on Yahoo for too long
 
 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 t. 250.920.8830
 e. [EMAIL PROTECTED]
 
 -
 Macromedia Associate Partner
 www.macromedia.com
 -
 Vancouver Island ColdFusion Users Group
 Founder  Director
 www.cfug-vancouverisland.com
- Original Message - 
From: Rob Rohan 
To: CF-Talk 
Sent: Thursday, February 19, 2004 9:31 AM
Subject: Re: OT: Instant Messengers
 
 
On Thu, 2004-02-19 at 09:24, Bryan Stevenson wrote:
 Hey All,
 
 Sorry for the OT...but who better to ask then other techies ;-)
 
 I like IMs that can access multiple networks and have been using GAIM (and
 previously Trillian and Jabber).GAIM is having issues connecting to Yahoo
 (what's new) andI'm looking for a new solution.
 
Just out of curiosity are you using the latest version of GAIM? 0.75? if
not, I upgraded a while ago and am very pleased
 
-- 
Vale,
Rob
 
Luxuria immodica insaniam creat.
Sanam formam viatae conservate!
 
http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: windows mailing list

2004-02-19 Thread Rob Rohan
On Thu, 2004-02-19 at 10:07, Tom Kitta wrote:
 Sorry for off topic, but it seems that most people on this list are working
 with windows and thus most likely can point me in the right direction. I am
 having some problems setting up domain controller for my workplace. Does
 anyone know of a good mailing list or other resource that would help me in
 solving these windows related problems?
You could try comp.infosystems.www.servers.ms-windows or get a news
reader and just search there for discussion group.

maybe here http://www.microsoft.com/windows2000/community/default.mspx

and google helps a bit
http://www.google.com/microsoft

(http://www.google.com/linux and http://www.google.com/freebsd too for
non winders people)

I tried to search the net but for
 mailing lists for windows I just found mailing list software :( I found some
 online forums, but they are helpful only if someone wants to do some home
 networking, not setting up a server.

 When I worked with Linux things were tough but local user group was always
 there to bail me out, usually under an hour - I am looking for something
 similar for windows (through I am not hoping for local and under 1h).

This is just my experience, but it seems rather hard to get anyone who
works with windows to help on a newsgroup. They want you to buy a book
or get MCS-idontrealyknowwhatsup-E certified. You'll find people that
will help, but not to the same degree as in the open source world -
where people just want to help for helps sake - it more of a whats in it
for me ($$) kind of thing in windows land.

The exception to this, that I have found, is this list - where most
people are very cool and try to help no matter what you are doing with
what on what. Maybe someone will help you off list...

 -- 
 Vale,
 Rob
 
 Luxuria immodica insaniam creat.
 Sanam formam viatae conservate!
 
 http://www.rohanclan.com
 http://treebeard.sourceforge.net
 http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: OT: windows mailing list

2004-02-19 Thread Rob Rohan
On Thu, 2004-02-19 at 10:56, Benjamin S. Rogers wrote:
 
 Getting all the relevant services up and running (the SUNWAS, FTP, etc.) was
 a nightmare, mostly because of obscure configuration settings. Sites like
 the VSFTPD seem less concerned with documentation and examples and more
 concerned with attacking the security history of other FTP daemons.
hehehe - yeah that true.Once you figure out how to setup services and
stuff its a lot easier - no simple gui etc. But you are right on with
the pissed off tech flaming stuff looks in mirror hehehe

 We had always been used to searching the news groups and the Web for
 solutions to our problems. We rarely have to resort to calling tech support.
 However, Web searches generally produced nothing but MAN pages, which are
 more like hints than actual manuals.
true, more verbose then --help, but less then a book.

They generally assume that you already
 know how to do something but need to be reminded of a switch. There also
 seems to be some unspoken rule that a MAN page should not include any
 mention of syntax or a working example.
Some have examples, but you are right they are more geared towardfor
if you have some idea of how the command/function/library works.

 News group searches were down right frustrating. Attempts to figure out how
 to set up the SUNWAS as a service on RedHat produced one argument after the
 next. Most were flame wars between RedHat and Debian users (ostensibly),
 arguing over which distribution's utility for managing services is better.
Yeah, a lot of hard core open source people are starting to really
hate Redhat, so I can see how you'd run into anger. Be like asking how
to get a windows box on a linux network - geeks can be easily side
tracked.

 In the end, RedHat Linux was pretty much installed via trial and error. I
 was able to set up SUNWAS as a service by copying other service scripts and
 changing them until I found a magic combination that seemed to work. Most of
 my Linux experience was that way. I found very little help on the Web or in
 the news groups. We spent much more time on the phone with RedHat than any
 other vendor.
Wow, that sucks. When I first started setting up linux I never did ask a
news group, but I look up a lot of how-tos on the internet and they were
rad. Step by step on how to do most anything I wanted. Next time, try
going to http://www.google.com/linux and search for sunwas how-to or
something along those line. I couldnt find a similar keyword for windows
items.

 I'm sure there are good resources out there. I'm also sure that, after
 spending years working in a largely Windows world, I'll need to learn the
 vocabulary of a new operating system.
This is probably the root of my problem as well - if you get right down
to it. You have to know how to ask the question in the form of the
audience I suppose.

After all, it's difficult to search
 for a solution if you're using the wrong words to describe your problem.
 Nevertheless, this first attempt was a pretty disappointing experience.
Agree. Well if its any consolation - in my experience - going to Linux
goes from hard to a better - where as going to windows goes from easy to
frustrating.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: MX Internals

2004-02-19 Thread Rob Rohan
I posted this a while ago but it seems to have been pulled from the
archives (or I just cant search right :-/ ) but its a little factory /
java browser do dad (I call it jBrowse). I would *not* recommend you put
this in a publicly available place on your server

+ snip +
cfparam name=url.class default=coldfusion.server.ServiceFactory
type=String/
cfparam name=url.service default=1 type=numeric/
cfparam name=custom default= type=String/
cfparam name=eval default= type=String/

cfscript
	//if you want to change the language
	txt_itl = arrayNew(1);
	txt_itl[1] = Cold Fusion MX java object browser - by Rob Rohan;
	txt_itl[2] = Custom:;
	txt_itl[3] = Public Methods;
	txt_itl[4] = Returns;
	txt_itl[5] = Methods;
	txt_itl[6] = Params;
	txt_itl[7] = No Parameters;
	txt_itl[8] = Public Variables;
	txt_itl[9] = Variable;
	txt_itl[10] = Value;
	txt_itl[11] = Error:;
	txt_itl[12] = Reset;
	txt_itl[13] = Show;
	
	knownServices = arrayNew(1);

	methods = arrayNew(1);
	returns = arrayNew(1);
params = arrayNew(1);
/cfscript

cftry
!---
/
---
cfscript
	
	if(len(custom) eq 0){
		factory = createObject(java,#url.class#);
		//get a list of the known services
		knownServices = structKeyArray(factory);
		
		hndl = Evaluate(factory.  knownServices[url.service] 
.getClass());
	}else{
		factory = createObject(java,#trim(custom)#);
		hndl = factory.getClass();
		url.class = hndl.getName();
	}
	
	/* if(len(eval) gt 0){
		Evaluate(#eval#);
	} */
	
	//get a list of the public variables
	caster = createObject(java,#hndl.getName()#);
	objVariables = structKeyArray(caster);	
	
	function viewer(objHndl){
	
	tmethods = objHndl.getMethods();
	
	for(x=1; x lte arraylen(tmethods); x=x+1){
		methods[x] = tmethods[x].Name;
		returns[x] = tmethods[x].ReturnType.getName();
		params[x] = tmethods[x].ParameterTypes;
	}
	}
	viewer(hndl);
/cfscript

!---  Begin Page
/ ---

html
head
titlecfoutput#txt_itl[1]#/cfoutput/title
link rel=stylesheet type=text/css href="">
/head

body
cfoutput 
!--- info bar and form for custom class viewing ---
table width=100%
tr
	td style=text-align: left; vertical-align: top;
		a href="" title=#txt_itl[12]#
class=resetnbsp;#mid(txt_itl[12],1,1)#nbsp;/a
		span class=tclass#url.class#/span
		cfif len(custom) lt 1 
			span class=service - #knownServices[url.service]#
(#hndl.getName()#)/span
		/cfif
	/td
	td style=text-align: right;
	form name=shower style=font-size: 10pt;
		input type=hidden name=service value=#service#/
		#txt_itl[2]#
		input type=text value=#custom# name=custom size=30br/
		a href="" document.shower.submit();
class=reset#txt_itl[13]#/a
	/form
	/td
/tr
/table

br/
!--- nav menu (knownServices) ---
div class=servicelist
cfloop from=1 to=#arrayLen(knownServices)# index=q
	a href="">
class=reset#knownServices[q]#/a
	cfif q mod 8 eq 0
	br/
	/cfif
/cfloop
/div

br/
!--- method list ---
div class=public#txt_itl[3]#/div
table class=info
tr
	td class=header#txt_itl[4]#/td
	td class=header#txt_itl[5]#/td
	td class=header#txt_itl[6]#/td
/tr
cfloop from=1 to=#arrayLen(methods)# index=q
	cfif q mod 2 eq 0
		cfset cRow=row
	cfelse
		cfset cRow=altrow
	/cfif
	tr
		td class=#cRow#
			cfdump var=#returns[q]#/
		/td
		td class=#cRow#cfdump var=#methods[q]#//td
		td class=#cRow#
			cfif arraylen(params[q]) gte 1
cfloop from=1 to=#arrayLen(params[q])# index=x
	cfif find('.',params[q][x].getName())
	[a
href="">
	cfelse
	[#params[q][x].getName()#]
	/cfif
/cfloop
			cfelse
#txt_itl[7]#
			/cfif
		/td
	/tr
/cfloop
/table
br/
!--- public variables list ---
div class=public#txt_itl[8]#/div
table class=info
tr
	td class=header#txt_itl[9]#/td
	td class=header#txt_itl[10]#/td
/tr
cfloop from=1 to=#arrayLen(objVariables)# index=q
	cfif q mod 2 eq 0
		cfset cRow=row/
	cfelse
		cfset cRow=altrow/
	/cfif
	tr
		td class=#cRow##objVariables[q]#/td
		td class=#cRow#
			cftry
cfif arrayLen(knownServices) gt 1
cfset currentvalue = Evaluate(factory. 
knownServices[url.service]  .  objVariables[q])/
cfelse
cfset currentvalue = Evaluate(factory.  objVariables[q])/
/cfif
cfdump var=#currentvalue#/
			cfcatch type=any
#txt_itl[11]# #cfcatch.message#
			/cfcatch
			/cftry
		/td 
	/tr
/cfloop
/table
/cfoutput
/body
/html
cfcatch type=any
	cfoutput
		form name=nada
		input type=button  value=lt;--/
		/form#txt_itl[11]# #cfcatch.message#br/
		#txt_itl[2]# #custom# br/
		cfdump var=#cfcatch#/
	/cfoutput
/cfcatch
/cftry

+ snip +

On Thu, 2004-02-19 at 10:44, Ramene Anthony wrote:
 Team

 Kinda off topic.Id like to get into the guts of MX via its internal
 functionality calls available to us all via Java api.But Im having a
 bit of difficulty finding any documentation on any of it of whatsoever. 

 For arguments sak

RE: MX Internals

2004-02-19 Thread Rob Rohan
On Thu, 2004-02-19 at 12:49, Ramene Anthony wrote:
 Now we're scared.Very scared!That's way too many holes!;)I think
 HouseofFusion removed it previously for good reason!

Well don't forget it relys on the createObject function / tag. I would
be interested in how it works in a shared environment (I tend to work on
dedicated projects). In the least, you can lock your servers down and
use it to see how well its locked down (on a very very high level
anyway)

if you think thats bad... hehehe I better not :)

 MM better change this next major release.
Well, I applied for a security auditing position at MM, and I never
heard from them, so the whomever they got is better than I and probably
knows all about this stuff.

I only have two words for MM (that are concatenated) : Retroguard
http://www.retrologic.com/retroguard-main.html (fits nicely into an Ant
build)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Extracting Text From web page

2004-02-19 Thread Rob Rohan
On Thu, 2004-02-19 at 13:48, brobborb wrote:
 Just the text.no HTML stuff :)

I have been working on a project to do just that. I have made some
progress (but its not perfect yet)

What I have been doing is using cfhttp to get the html save it to a
file, then send the html through jtidy to make the html xml. Then I have
been using xslt to get the information, you can just load it as a cf xml
object though.

The only weak point is the http-xml. It works about 70 percent of the
time - depending on how wack the sites html is.

If you want to play along:
download jtidy:
http://jdity.sf.net and put it in your cf classpath

then you can use it like so:
cfscript
	testfile =#request.physicalroot#\engine\cache\test.html;
	
	objtidy = createObject(java,org.w3c.tidy.Tidy);
		
	objtidy.setXmlOut(true); 
	objtidy.setWrapSection(true);
	objtidy.setWrapScriptlets(true);
	//objtidy.setWrapJste(true);
	objtidy.setWord2000(true);
	objtidy.setTidyMark(true);
	objtidy.setQuoteMarks(true);
 	objtidy.setQuoteNbsp(true);
	objtidy.setMakeClean(true);
	objtidy.setNumEntities(true);
	objtidy.setDropFontTags(true);
	objtidy.setDropEmptyParas(true);
	
	objtidy.setXmlTags(true);
	
		
	fileis = createObject(java,java.io.FileInputStream);
	
	byteos = createObject(java,java.io.ByteArrayOutputStream);
	byteos.init();
	
	fileis.init(#testfile#);

	tidyDOM = objtidy.parseDOM(fileis, byteos);
/cfscript

br
Errors: cfoutput#objtidy.getParseErrors()#/cfoutput
br

!--- this should be a cold fusion xml structure ---
cfdump var=#xmlparse(byteos.toString())#

the xslt is not 100% yet but if you get //p then you'll get the
important text 90% of the time... still working on it, but this works
more generically then regex's

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Extracting Text From web page

2004-02-19 Thread Rob Rohan
Yeah sorry, I thought you were going for a hard core generic thing - got
a bit excited sorry :) - got it on the brain you see

cheers,

On Thu, 2004-02-19 at 14:10, brobborb wrote:
 Dude whatever happened to simplicity!lol i was only expecting like 4 or 5 lines of code.
 
 Thanks very much, by the way! :)
- Original Message - 
From: Rob Rohan 
To: CF-Talk 
Sent: Thursday, February 19, 2004 4:02 PM
Subject: Re: Extracting Text From web page
 
 
On Thu, 2004-02-19 at 13:48, brobborb wrote:
 Just the text.no HTML stuff :)
 
I have been working on a project to do just that. I have made some
progress (but its not perfect yet)
 
What I have been do
-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFIF and the Evaluate function

2004-02-18 Thread Rob Rohan
On Wed, 2004-02-18 at 08:19, Wurst, Keith D. wrote:
 Hey everyone. I am working within a cfloop and a need to perform a cfif.
 here is what my code looks like

 cfloop list=#list# index=id 
cfif hours_period_1_#id# eq 20
 
/cfif
 /cfloop

I have never seen left hand evaluation in any language aside from cold
fusion -
try:
cfloop list=#list# index=id 
 cfif hours_period_1_#id# eq 20
  
 /cfif
/cfloop

I thought it was pretty cool when I saw you could do that. But you might
want to use a structure instead - just my opinion.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFIF and the Evaluate function

2004-02-18 Thread Rob Rohan
yikes, your correct - my bad. I don't normally do that kind of thing
anyway- I am more of an array and struct guy.

I should have just kept my mouth shut :-/

*feeling like a dink*

On Wed, 2004-02-18 at 08:32, Barney Boisvert wrote:
 That only works in assignment, because that's the only place it's an Lvalue.
 Other than that, everything is always an Rvalue, which CF doesn't do
 evaluation of (for obvious reasons).What you're saying is is the string
 'hours_period_1_#id#' equal to the string 20, which is certainly valid,
 but definitely not what was intended.
 
 Cheers,
 barneyb
 
  -Original Message-
  From: Rob Rohan [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, February 18, 2004 8:27 AM
  To: CF-Talk
  Subject: Re: CFIF and the Evaluate function
  
  On Wed, 2004-02-18 at 08:19, Wurst, Keith D. wrote:
   Hey everyone. I am working within a cfloop and a need to 
  perform a cfif.
   here is what my code looks like
  
   cfloop list=#list# index=id 
  cfif hours_period_1_#id# eq 20
   
  /cfif
   /cfloop
  
  I have never seen left hand evaluation in any language aside from cold
  fusion -
  try:
  cfloop list=#list# index=id 
 cfif hours_period_1_#id# eq 20
  
 /cfif
  /cfloop
  
  I thought it was pretty cool when I saw you could do that. 
  But you might
  want to use a structure instead - just my opinion.
  
  -- 
  Vale,
  Rob
  
  Luxuria immodica insaniam creat.
  Sanam formam viatae conservate!
  
  http://www.rohanclan.com
  http://treebeard.sourceforge.net
  http://ashpool.sourceforge.net
  
  

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: DW2004 Snippet madness

2004-02-18 Thread Rob Rohan
On Wed, 2004-02-18 at 10:02, Mark W. Breneman wrote:
 I wish it was that easy. :-)I assume by your responses that this issue
 may be related to my PC although my laptop seems to do the same thing.

 Let me rephrase my problem, I can assign a keyboard shortcut to a
 snippet, via the shortcuts GUI, but I have yet to get one to work.When
 I use the shortcuts GUI I am trying to assign Ctrl+3 to a snippet that
 will wrap the selected text in #s. After I assign Ctrl+3 to my snippet,
 I can see that Ctrl+3 looks like it has been correctly assigned to the
 snippet but, after I close the shortcuts GUI the shortcut does not work
 and when I open the shortcuts GUI, Ctrl+3 defaults back to H3.I have
 no problem assigning Ctrl+3 to another command like select all, the
 problem only comes in when I try to assign it to a snippet.
 

Well if worse comes to worse, look in your snippets directory and find
the snippit for h3 - its in a .csn(?) file which is really just XML.
Open it in vi, notepad whatever- and *make* it do what you want hehehe

... might have to add an importer for cfeclipse now... hum...

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Still looking for help using web service with php

2004-02-18 Thread Rob Rohan
If you sign up for a sourceforge account I'll give you access to one of
my web site there and you can test your php stuff if you'd like. I know
a bit of php but not enough to help you I'd think... though I do have a
book.

Ah what the hell, if you have a bit of time (no crazy tomorrow dead
lines) I'll help you out - but I am no php guru.

On Wed, 2004-02-18 at 21:27, Michael Kear wrote:
 After nearly a month of looking, I'm still trying to find someone - ANYONE -
 who knows something about PHP to help me write instructions for PHP users to
 consume my CFMX web service. 
 

 
 I've tried looking here in CF-TALK, on CF_AUSSIE, on half a dozen PHP forums
 and all I've ever been able to get is a list of tutorials.Without learning
 PHP, mounting PHP on my server, and learning how to run PHP, I can't write
 and test instructions myself based on the tutorials I've read.
 

 
 I was hoping I'd find some helpful soul who would say I'll spend 10 minutes
 and check what you've written works correctly'but no one wants to, or else
 I'm making some social gaffe in the PHP community and they all hate me or
 something. 
 

 
 Anyone have any ideas what I can do please?I don't want yet another PHP
 tutorial.I have to write specific instructions and they have to be dead
 right, no syntax errors and double checked.You can't do that from a
 tutorial. 
 

 
 Just in case anyone didn't see the original question, here's what I'm trying
 to do. (perhaps someone might see what I'm doing wrong and why none of the
 PHP world will even answer me):
 

 
 ORIGINAL MESSAGE:
 
 I have to write some instructions for PHP users to consume a web service
 I've made available, but I don't know much about PHP.Certainly not enough
 to write the instructions for them to use in their website. 
 
 Is there some kind soul who knows about PHP and web services who can help me
 with this please?
 
 It's a probono site for me so there's no money involved I'm afraid, but I
 can give you a link on the page and a plug for your services if you like.
 
 Please email me off-list if you can help me.
 

 
 
 
 
 
 Cheers
 
 Mike Kear
 
 Windsor, NSW, Australia
 
 AFP Webworks
 
 http://afpwebworks.com
 

 
 
 
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Transfer to Mac OS X Server

2004-02-17 Thread Rob Rohan
On Mon, 2004-02-16 at 22:56, Sangeeta Karmokar wrote:
 Can anyone help me Please
 
 Intially I was working on PC so Coldfusion Server was running on 
 PC, but now in my office they have shifted PC to Mac OS X. 
Congratulations :)

 You 
 know in PC how we cansave all database in db folder and cfm pages
in WWWroot folder of the server and then later from Admin section 
 we can map the folder. but in Mac Server I am not sure where to save 
 the database files and cfm files? 

I do not know where they are on Mac Server, and I assume there is no GUI
on Mac server (if so it's probably in Macinthosh HD then
Applications; however if it is the same directory structure as linux
look in /opt/coldfusionmx/, or in the apache (I am assuming) directory.

If you have GUI open a terminal if not just type:

[computer:~you]$ find / -name *.cfm

that will find all the .cfm files on your system, that should give you a
clue as to where to start looking. if that goes by too fast try:

[computer:~you]$ find / -name *.cfm | more

 I know we have to create a separate server for each project but where 
 to save the database file and cfm pages and how to map it?

Map it? Like create a short cut, share the directory over the network,
or map it in cold fusion administrator?

network stuff depends on what you are using - and I cant say for sure
how you are doing it, but if you mean map it like a short cut on
windows 

[computer:~you]$ ln -s /Applications/something /private/somewhere

that makes a short cut from /Applications/something to
/private/somewhere (meaning when you go into /private/somewhere you get
the files in /Applications/something)

if you have a gui hold the ctrl key click on the folder and choose make
alias.

If you are going to do a lot of work with mac stuff I suggest you check
out the bash and csh shells.

I hope I was close to answering your questions ;)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: new version of the cfeclipse plugin (1.1.0)

2004-02-17 Thread Rob Rohan
On Tue, 2004-02-17 at 00:31, Thomas Chiverton wrote:
 On Tuesday 17 February 2004 05:57 am, Rob Rohan wrote:
  There is a new cfeclipse plug-in (1.1.0) 
  3.0M7 (note M7). 

 I don't know whos Fault it was, but it's much faster now :-)
I wish it was me... but it was them :(. The fonts look way better on
Linux now too.

  This version adds a bit of key bindings ... Cold Fusion menu
 
 I was thinking about starting to learn how to add them the other day...
The more I use this thing the cooler it gets. Someone told me there are
now lots of books out on eclipse - I'll have to buy one soon if I want
to do cool stuff like tree views etc. So much to learn so little time :)

 
  upgrading to M7 is kind of a pain. 
 
 All seems to have gone smoothly here.
 CVS intergration is still borked, which is a shame though.
Yeah that and the FTP stuff works so so with M$ (IIS) servers (diff
doesn't work right) - I wonder if they did that on purpose. Works great
on other types.

wee

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: new version of the cfeclipse plugin (1.1.0)

2004-02-17 Thread Rob Rohan
On Tue, 2004-02-17 at 00:43, Thomas Chiverton wrote:
 On Tuesday 17 February 2004 08:38 am, Rob Rohan wrote:
  The fonts look way better on
  Linux now too.
 
 :hadn't notice any difference, what are they meant to have done ?
It just looks less GTKish to me (perhaps I've been up too long) - the
edges seem more defined or something.

 
  to do cool stuff like tree views etc. So much to learn so little time :)
 
 And collapse of the code view based on it... mmm...
Ahhh good call :) (gotta write that down) - that and the bracket and tag
matching highlighting thingies

Cheers

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: new version of the cfeclipse plugin (1.1.0)

2004-02-17 Thread Rob Rohan
On Tue, 2004-02-17 at 00:51, John Beynon wrote:
 Just put the 1.1 plugin into my plugins directory. I get tag insight but
 none of the new shortcut keys work...could it be me?

What OS - winders, mac, linux? did you download the M7 
version of eclipse? - email me off list and I'll see if I can help.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: JAI Image resize gives rubbish images.

2004-02-17 Thread Rob Rohan
On Tue, 2004-02-17 at 06:27, Stephen Moretti wrote:
 Reading Java classes and methods and trying to work out how they all 
 work and what I should be using has given me a permanent headache, so I 
 hope someone out there can help.

if your head ache gets to be greater than 30 bucks you just buy a tag to
do it for you
http://www.rohanclan.com/cart/sales_item.cfm?ProductID=491CID=151

(demo
http://www.rohanclan.com/index.cfm?mode=productproduct=cfximagesize)

If you are pressing ever forward, you might want to check out this site
http://www.acme.com/ they have code to do gif encoding (as well as some
other cool totally unrelated stuff)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:cfx_xslt problem (urgent)

2004-02-17 Thread Rob Rohan
On Tue, 2004-02-17 at 08:05, Chunshen Li wrote:
 I now believe both CFX_XSLT tag and MM's XmlTranform tag work, it's just that late last night, sort of new to this thing + late night (couldn't think straight), the URL I was using last night was invalid, and I failed to debug to see if the CFHTTP call is successful.
 
 Now,
 
 CF script (url.releaseID value is given by a previous link, which is ok)
 cfhttp URL="">
 
 cffile action="" file=C:\intel\wrt\ccbn\xsl\PressReleaseText.xsl variable=ccbnxsl
 
 debug:br
 cfoutputLength of raw data: #Len(cfhttp.FileContent)# p
 raw data:br
 #cfhttp.FileContent#
 /cfoutput
 p

 xml transformed HTML output below:br
 cfoutput#xmltransform(cfhttp.FileContent,ccbnxsl)#/cfoutput

Careful here you might want to trim() the file, and I think (depending on your version of MX) 
you have to xmltransform(XMLParse(cfhttp.FileContent),ccbnxsl)

 XSL file:
 !--'
 	INCLUDES
 	''--
 	xsl:include href="">
 		
 	!--'
 	OUTPUT MEHTOD
 	''--
 	xsl:output method=html omit-xml-declaration=yes indent=yes standalone=no/	
 	
 	!--''
 	MAIN TEMPLATE
 	''--
 	xsl:template match=/
 		xsl:call-template name=GeneratePressReleaseText/!--page-level template--
 	/xsl:template
 	
 	!--'
 
 	''--
 	xsl:template name=GeneratePressReleaseText
 		table width=100% border=0 cellpadding=3 cellspacing=1
 			tr class=modBgTblTtl
 td valign=top class=modTblTtlxsl:value-of select=/*/NewsReleaseText/Title//td
 			/tr
 			tr class=
 td valign=top width=100% class=modBodyTextxsl:value-of select=/*/NewsReleaseText/ReleaseText disable-output-escaping=yes//td
 			/tr
 		/table
 	/xsl:template
 
 	!--'
 
 	''--
 /xsl:stylesheet

If this is the full XSL file, then you are correct, the file is broken.
It's not a full XML document.

 
 UA Results:
 IE6 failed to dispaly, Netscape6 display cfhttp call raw data, but xml transformed HTML nothing
 
 I sort of suspect the XSL file is culprit.Further thought?Thanks.

Try this just to see if all is well. I am just writing this so there
might be errors (I have not run it through cf)

!--- basic xslt ---

!--- note the ? must be the first thing in the file / variable ---
cfsavecontent variable=xmlinput?xml version=1.0
encoding=UTF-8?
test
messageEat at joes!/message
/test
/cfsavecontent

!--- note the ? must be the first thing in the file / variable ---
cfsavecontent variable=xsltinput?xml version=1.0
encoding=utf-8?

xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform
	xsl:output method=html indent=yes encoding=UTF-8/
	xsl:template match=/
		h2xsl:value-of select=/test/message //h2
	/xsl:template
/xsl:stylesheet
/cfsavecontent

cfdump var=#xmlinput#
cfdump var=#xsltinput#

!--- try both of these ---
cfdump var=#XmlTransform(XmlParse(xmlinput),xsltinput)#
!--- cfdump var=#XmlTransform(xmlinput,xsltinput)# ---

!--- basic xslt ---

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:cfx_xslt problem (urgent)

2004-02-17 Thread Rob Rohan
The document had a bunch of errors like this:

Window::transform:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Non-whitespace text is not
allowed in this position in the stylesheet!

They could have been added in the email, but I don't think so. They seem
to occur around xsl:choose's. Its probably on the xslt generation end
if they are using a legacy system to create the xslt file. Either they
are using a wack editor, or the process they use to generate the xslt is
sticking in non-printable control characters.

Most any white space (aside from tab, newline, return, space) will cause
these errors and they are hard to spot because it looks just like white
space. If you have a hex editor handy, you can spot them a bit easier.

After I removed the bad whitespace chars it ran fine. Try running the
xsl file against that fake xml file I sent in the last post. (That why
you know any errors are in the xslt)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:cfx_xslt problem (urgent)

2004-02-17 Thread Rob Rohan
Do a view source on the pages you sent (if you use IE you might have to
use mozilla / firebird to test)

those file need to be only the xsl file and the xml file - can have any
extra stuff - no spaces at the beginning not nothing. Try doing that
first. See some of the other posts in the thread on how do do it (dont
use cfdump)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:cfx_xslt problem (urgent)

2004-02-17 Thread Rob Rohan
I am not sure what the problem is - could you restate the problem in
another way?

On Tue, 2004-02-17 at 10:49, Chunshen Li wrote:
 The transformed page display now is fine.And I'm now looking at the starting XSL file,
 part of it reads (looks a function within the given XSL file):

 xsl:template match=/
 		xsl:call-template name=GeneratePressReleaseList/!--page-level template--
 	/xsl:template
 	
 	!--'
 
 	''--
 	xsl:template name=GeneratePressReleaseList
 		xsl:variable name=oXmlNewsReleases select=/*/NewsReleases/
 		xsl:variable name=oXmlFilteredReleases select=$oXmlNewsReleases/[EMAIL PROTECTED] = $m_enumNewsCategory]/[EMAIL PROTECTED] = $m_enumArchiveStatus]/
 ...
 
 while the second/child/detail XSL file's equivalent seems to have created a function but 
 probably have not fully defined it (this is XSL programming, totally new to me), 

What second file? You lost me.

 which reads:
 xsl:template match=/
 		xsl:call-template name=GeneratePressReleaseText/!--page-level template--
 	/xsl:template
 	
 	!--'
 
 	''--
 	xsl:template name=GeneratePressReleaseText
 		table width=100% border=0 cellpadding=3 cellspacing=1
 			tr class=modBgTblTtl
 td valign=top class=modTblTtlxsl:value-of select=/*/NewsReleaseText/Title//td
 			/tr
 			tr class=
 td valign=top width=100% class=modBodyTextxsl:value-of select=/*/NewsReleaseText/ReleaseText disable-output-escaping=yes//td
 			/tr
 		/table
 	/xsl:template
 		

xslt programing takes a bit of getting used to as it is a functional
language not a procedural one. The templates match parts of the document
and then apply more templates or mark up to those sections.

Again though I am not sure what the problem is, can you post the error
and what you are trying to do in another way.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Passing Complex Variable to Soap and other stuff

2004-02-17 Thread Rob Rohan
On Tue, 2004-02-17 at 10:41, Butch Zaccheo wrote:
 
 cfhttp url="" method=POST resolveurl=NO
 cfhttpparam type=HEADER name=Content-Type value=text/xml; charset=utf-8 
 cfhttpparam type=HEADER name=Content-Length value=#len(tostring(instatement))# 
 cfhttpparam type=HEADER name=SOAPAction value=https://webservices.bamart.com/Auth
 cfhttpparam type=HEADER name=verify_info value=#xmlTransform(merchant_idmerchant/merchant_iduser_iduser/user_idpasswordpassowrd/password, xmlString)#
 cfhttpparam type=BODY name=test value=#tostring(instatement)# 
 /cfhttp

I have not done much with SOAP, but the xmlTransform() function expects
an xml document and an xsl(t) document - you are passing it 2 xml
documents.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: The Dangers of Java

2004-02-17 Thread Rob Rohan
On Tue, 2004-02-17 at 12:47, Deanna Schneider wrote:
 And, if I'm entirely honest, I think the server admins are worried that
 developers will unwittingly open up security holes, so instead of helping to
 educate the developers as to what is safe and not safe, prefer to take the
 safest route by just disallowing java all together.

evil_rant
Ok, that's just insane. I can see worrying about cold fusion security
risks based on the way the application is set up, or even using specific
apps, but the Java language as a whole?

That reeks of FUD. Not one line of IIS server code was written in java
and it is / has been full of holes, not to mention OSs in general. Java
removes a lot of buffer overflow, memory leak, and a slew of other
problems. I'd bet it would be be much harder to take a java based
program and exploit it enough to take control of a computer - which is
obviously done with other languages quite often. Leaving a variable open
for poison is not a Java problem btw.

I think your server admins don't understand it so they fear it, or
they are in the warm comfort zone of BB.
/evil_rant

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:cfx_xslt problem (urgent)

2004-02-17 Thread Rob Rohan
  Rob, I do appreciate your help.The following link seems working,
  http://68.32.61.40/ccbn/PressReleaseList.cfm
  its subsequent/child one seems not,
  for instance, http://68.32.61.40/ccbn/PressReleaseText.
  cfm?releaseID=309866

Nice they look good :)

  
  I'm not sure I like to deal with XSLT.

Yeah it definitely has a learning curve. When you need it its great to
know it; however, you cant really draw from other languages when you
learn it. Meaning its a lot different from most other popular
programming languages.

If you are going to use it a bit you might want to buy a book on xslt
and start off with a bit easier project :)

Cheers

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:cfx_xslt problem (urgent)

2004-02-17 Thread Rob Rohan
What Dave said - and Web services are perfect for that kind of thing,
but you can do it with form variables and url variables if you have too
- just watch for size limits and getting wack characters.

On Tue, 2004-02-17 at 12:52, Chunshen Li wrote:
 Thanks, Rob.Another, sort of related one, I've used CFHTTP post method to 
 send data to remote site before (years ago) successfully, how different(supposedly
 tough) it might be for posting XML content to a remote a site?
 
 Regards,
 
 Don
 
   Rob, I do appreciate your help.The following link seems working,
   http://68.32.61.40/ccbn/PressReleaseList.cfm
   its subsequent/child one seems not,
   for instance, http://68.32.61.40/ccbn/PressReleaseText.
   cfm?releaseID=309866
 
 Nice they look good :)
 
   
   I'm not sure I like to deal with XSLT.
 
 Yeah it definitely has a learning curve. When you need it its great to
 know it; however, you cant really draw from other languages when you
 learn it. Meaning its a lot different from most other popular
 programming languages.
 
 If you are going to use it a bit you might want to buy a book on xslt
 and start off with a bit easier project :)
 
 Cheers
 
 -- 
 Vale,
 Rob
 
 Luxuria immodica insaniam creat.
 Sanam formam viatae conservate!
 
 http://www.rohanclan.com
 http://treebeard.sourceforge.net
 http://ashpool.sourceforge.net

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Ok, now I've seen it all

2004-02-17 Thread Rob Rohan
Leaked Windows Code Opens IE Hole

The vulnerability allows an attacker gain control over a user's computer
by using a specially crafted *bitmap* file. When loaded using IE 5, the
file will trigger an overflow error and allow the attacker to run
arbitrary code on a victim's machine, according to a description of the
flaw posted Sunday on the SecurityTracker.com Web site.

http://www.pcworld.com/news/article/0,aid,114816,00.asp

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: more migration woes

2004-02-16 Thread Rob Rohan
On Mon, 2004-02-16 at 07:00, Deanna Schneider wrote:
 I'm getting this error when I try to view a large (424 KB) page of RTF code
 for a cfcontent download. I've searched for more info, but the only thing
 I've been able to find was in another language. Anyone have any ideas?
 
 (-1) @ 08:40:57.159
 type java.lang.IllegalStateException
 message unexpected constant #35 -1

I have gotten this error before when passing large html files through
cold fusion (I got it on windows though). Try doing one of the
following.

* Cut out the lower half of the page, save it, then go to the page (make
it run). If it compiles, put the rest of the file back - hit it again.

* Try deleting the class files out of cfclasses and try again.

* If none of that works, try make the file smaller. If need be add a
switch statement with includes and include smaller parts of the file

good luck

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT - Windows NT source code

2004-02-16 Thread Rob Rohan
On Mon, 2004-02-16 at 02:48, Thomas Chiverton wrote:
 On Friday 13 February 2004 16:51 pm, Rob Rohan wrote:
  code such a huge security leak? Could it be they have really bad code,
 
 Because MS have repeatadly said they can't let anyone see it, because (I 
 assume) it is so full of holes.
 
 So obviously they let anyone with enough cash see it. Hmm...

But they are not allowed to compile it ... hum... wonder if they get the
whole picture hehehe - ah hell, microsoft has been very trust worthy,
and honorable in the past... never mind - I trust'em.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Opening File in Associated Software

2004-02-16 Thread Rob Rohan
On Mon, 2004-02-16 at 06:52, Brad Roberts wrote:
 We use SureThing CD Labeler for labeling various media.The program will
 take a CSV file as a datasource.I've created a CF app to input data and
 create CSV files for the labeling program, but I would like to be able to
 open specific files (in SureThing CD Labeler) from the browser.
 
 Anyone have suggestions?

(I assume you are talking about winders) I don't think you can control
this from the server side. If you could, that would be quite a hack
(format c: open with command.com \c)! but you can put instructions on
how to go into file associations and assign file types (.cvs) to
specific programs. (Tools, folder options, file types I think)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Opening File in Associated Software

2004-02-16 Thread Rob Rohan
Do you mean:
Add a cfcontent with the proper file type (text/csv, application/csv)
and that should launch the assigned viewer.
(a small list of content types)
http://www.geocities.com/dtmcbride/tech/filetype.html

For example:
cfsetting enablecfoutputonly=yes
cfcontent type=text/csvcfoutput
TEST,ONE,TWO,THREE
123,1,2,3
/cfoutput

On Mon, 2004-02-16 at 10:52, Brad Roberts wrote:
 I'm basically trying to open a specific file from the browser, in it's
 associated program.
 
 In this case, a file created in SureThing CD Labeler.This is an intranet
 application, so we have access to anything we might need (registry, etc.)
 
 -Brad
-Original Message-
From: Rob Rohan [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 1:41 PM
To: CF-Talk
Subject: Re: Opening File in Associated Software
 
 
On Mon, 2004-02-16 at 06:52, Brad Roberts wrote:
 We use SureThing CD Labeler for labeling various media.The program
 will
 take a CSV file as a datasource.I've created a CF app to input data
 and
 create CSV files for the labeling program, but I would like to be able
 to
 open specific files (in SureThing CD Labeler) from the browser.

 Anyone have suggestions?
 
(I assume you are talking about winders) I don't think you can control
this from the server side. If you could, that would be quite a hack
(format c: open with command.com \c)! but you can put instructions on
how to go into file associations and assign file types (.cvs) to
specific programs. (Tools, folder options, file types I think)
 
--
Vale,
Rob
 
Luxuria immodica insaniam creat.
Sanam formam viatae conservate!
 
http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: cfx_xslt problem (urgent)

2004-02-16 Thread Rob Rohan
On Mon, 2004-02-16 at 20:31, Dave Watts wrote:
  I've just installed CFX_XSLT, the example file ran fine.
  However, test calling an XSL tranformation file, got an 
  error, javax.xml.transform.TransformerConfigurationException:
  javax.xml.transform.TransformerException: 
  org.xml.sax.SAXParseException: Document root element 
  is missing.
 
 This might be a stupid question, but are you sure your XSL file and your
 original XML file are both well-formed?
I concur, that error is either you are passing in a badly formed xml
doc, no xml doc, or an xml document with back characters (which is
really just a malformed xml document)

 
  My env: Windows XP machine with CF6.0.
 
 Is there a reason you can't just use the built-in XSLT functionality of CFMX
 6.0? I think the function name in question is XMLTransform.
I am not 100% but I think that process uses the DOM while some other
tags use SAX (SAXParseException) that may be why he is using it (just
thought I'd jump in)

  I read a forum, about this error, and its advice on reverse 
  back to JRE 1.3.1_06.But I'm already on 1.3.1.
 
 Have you tried newer JVMs?
I don't think the VM would be a problem especially since jre1.3 is a
java2.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:cfx_xslt problem (urgent)

2004-02-16 Thread Rob Rohan
On Mon, 2004-02-16 at 19:49, Chunshen Li wrote:
 Hi Dave, I appreciate your notes.Please see my comments below.
 
 Don
 
  I've just installed CFX_XSLT, the example file ran fine.
  However, test calling an XSL tranformation file, got an 
  error, javax.xml.transform.TransformerConfigurationException:
  javax.xml.transform.TransformerException: 
  org.xml.sax.SAXParseException: Document root element 
  is missing.
 
 This might be a stupid question, but are you sure your XSL file and your
 original XML file are both well-formed?
 Even if they are not, the parser should be good enough to parse what it can and ignore with notes of what it can't.Same as when we write a program we need to add data validation element.Reasonable?
 Besides, in this case, the XSL files are not up to me whether they are well-formed or not.
No, XSL has to have well formed XML input.

 
  My env: Windows XP machine with CF6.0.
 
 Is there a reason you can't just use the built-in XSLT functionality of CFMX
 6.0? I think the function name in question is XMLTransform.
 Thank for the great info.I haven't looked at / familarize myself with these new tags.Funny, when I viewed sample for the XMLtransform tag, I got an another MM error (they guys don't seem to give a sh?? these days or is it just me?)URL, http://examples.macromedia.com/coldfusion/xmltransform/?

Here is an example:

input xml:
?xml version=1.0 encoding=UTF-8?
root
testhi there/test
/root

input xslt:
?xml version=1.0 encoding=utf-8?
!--
	Author: 
	File: 
	Date: 
	Purpose: 
--
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform
	xsl:output method=html indent=yes encoding=UTF-8/
	xsl:template match=/
		bxsl:value-of select=/root/test //b
	/xsl:template
/xsl:stylesheet

When all is done you should be left with:

bhi there/b

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:cfx_xslt problem (urgent)

2004-02-16 Thread Rob Rohan
On Mon, 2004-02-16 at 20:18, Chunshen Li wrote:
 Now.Rob, both CFX_XSLT tag and MM's XmlTranform tag failed.Same err msg as I posted before.What could be my best bet?Thanks.
 
 Don

How are you passing them in can you post the code please

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




new version of the cfeclipse plugin (1.1.0)

2004-02-16 Thread Rob Rohan
There is a new cfeclipse plug-in (1.1.0) ready for download (binary and
source) for anyone wanting to play. The new plug-in works with eclipse
3.0M7 (note M7). You can download the cold fusion eclipse plug-in at
http://cfeclipse.rohanclan.com

This version adds a bit of key bindings that I kept trying to use like
ctrl+shift+m to comment out a section of code, and ctrl+shift+d to
create a cfdump. It also adds a small tool bar and a Cold Fusion menu
(basic stuff like surrounding things with # or cfoutputs).

Note upgrading to M7 is necessary for the newer stuff to work on Linux
and MacOSX, and upgrading to M7 is kind of a pain. Look for the notes on
the site.

Happy cfcoding

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: xml ?

2004-02-15 Thread Rob Rohan
The problem you are running into is that #x0; is and illegal XML
character :). If you check a Unicode chart (
http://www.cs.newcastle.edu.au/~c3018900/unicode.html#x )
You'll notice from 0x001F down are control characters (this is the same
as ASCII I believe). Some non-printable control characters have a way of
pissing XML parsers off. 

You might try to TRIM the values that might have those characters, I see
you are getting news from a database you might try cleaning it before
it goes in (Does that information come from some sort of old-school
feed?).

Cheers

On Sat, 2004-02-14 at 22:57, Dave Lyons wrote:
 im trying to output an xml file and having some troubles with this one section
 im assuming its because the field may contain html formatted info but i have even tried it with cdata but still i get this error.
 
 Illegal XML character: #x0;.
 Illegal XML character: #x0;. 
 
 
 i been up toolong to rack my brain tonight, any help?
 
 
 
 cfquery name=news datasource=#dsn# username=#un# password=#pw#
 SELECT * 
 FROM news 
 ORDER BY newsID DESC
 /cfquery
 
 
 
 CFXML variable=newsXML
 
 News
 	cfoutput query=news
 		newsID#news.newsID#/newsID
 		title#news.title#/title
 		content#news.content#/content
 		pic#news.pic#/pic
 		update#news.update#/update
 	/cfoutput
 /News
 
 /CFXML
 
 
 cffile
 	action="">
 	file=#ExpandPath('xml/news.xml')#
 	output=#ToString(newsXML)#

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: XML storage

2004-02-13 Thread Rob Rohan
On Fri, 2004-02-13 at 08:12, Andre Turrettini wrote:
 Hi, 
 I'm wondering a bit about this. I've perused the code but since its called a
 DB manager, I'm thinking it can act like a database.How would one execute
 a join between two tables or whatever they are called since they are clearly
 not tables.Is this contained in xindice that simply has to be cfwrapped?

It Depends on how the database stores and retrieves information and what
language it uses to get data out. You'll have to read up on each one -
some do it some don't - some get information back a a standard result
set some come back as a new xml document.

For example:

Xindices seems to use Xpath and Xupdate 
(which I am not all that impressed with)
http://xml.apache.org/xindice/guide-developer.html#Using+XPath+to+Query+the+Database

 
eXist uses XQuery
(which is much cooler but looks crazy)
http://exist-db.org/xquery.html

Berkeley DB XML's Query Processor 
(implements XPath 1.0. - whatever)
http://www.sleepycat.com/products/xml.shtml

Ashpool XML Database uses SQL and XPath
(can't do joins and is somewhat limited)
http://ashpool.sf.net

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: OT - Windows NT source code

2004-02-13 Thread Rob Rohan
Riddle me this:

If you can get Linux, FreeBSD, etc source code 24 hours a day 7 days a
week and that is not a security risk, why is a leak of ( | )icrosoft
code such a huge security leak? Could it be they have really bad code,
or perhaps they don't want you to see the back door they put in to all
there OSs... um... well makes you wonder.

On Fri, 2004-02-13 at 06:52, cfhelp wrote:
 Even though I am going to probably have to deal with an increase in Hacks I
 think this may be a good thing, as it will force M$ to get off there a$$ and
 fix more in OS. Well then again I could see them saying Windows 2003 fixs
 all.


-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: OT - Windows NT source code

2004-02-13 Thread Rob Rohan
On Fri, 2004-02-13 at 09:00, Schuster, Steven wrote:
 How many companies with over 1,000 employees (and PC's) have you been with
 that ran Linux, FreeBSD or something similar on the desktop?

Not many on the U.S. desktop, no - but for back end systems open source
OSs are used quite a bit - 

In 1999, Linux scooted past Novell's Netware to become the No. 2 server
operating system behind Microsoft's Windows NT. Over the next four
years, IDC said, Linux shipments will grow at a rate of 28 percent, from
1.3 million in 1999 to 4.7 million in 2004.
-- CNET news

Linux surged from a 16% share of the server software market in 1998 to
a quarter of the market in 1999, when it shipped nearly twice as many
copies as during the previous year, according to figures from
International Data Corporation (IDC).
-- BBC news

And that's just Linux.

 The answer is: Not a whole lot.

I am not too sure about that - I think China (and a lot of other
countries) uses Linux quite a bit (even on the desktop) -- and there are
a few people in china I hear. I couldn't find any stats though

 So, if most business runs MS on the desktop they rely on it. There are
 enough hacks out there now without the source code causing problems. If
 somebody had the source code they could cripple industries that relied on
 the platform rather quickly.

Well when your right your right.

 Our jobs are time consuming enough without the added pressure of 16 year old
 kids writing viruses all day aren't they.

I agree.

 If Linux was the most used OS in the world you better bet it wouldn't take
 long for exploit after exploit to hit that platform. With it being open
 source that simply makes the job that much easier.

Well I think Unix (the catch all) is the OS that has all the hard core
data in the world, but I haven't heard of a Unix worm or virus in a
while.

Your points are valid - I was just trying to make light and poke a bit
of fun.

All in good fun

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: OT - Windows NT source code

2004-02-13 Thread Rob Rohan
On Fri, 2004-02-13 at 09:37, Schuster, Steven wrote:
 ...and from a business point of view where does the majority of the work
 happen?
That depends on the business.

 Not on a server but rather on some desktop where people key in data to
 systems (Excel, PeopleSoft, Oracle, etc.). So if the desktop becomes
 unstable the work is unstable and so on and so forth.

True that garbage in garbage out. Or Marge in accounting can't do
payroll cause a DCOM exploit done blewed up her puter.

 I'm not knocking the value of Linux and those like it I just don't see it as
 a viable option for a world raised on MS. Our users have a hard enough time
 as it is with MS, asking them to change gears in mid stroke seems kind of
 self-defeating.

Well, that like saying people can't get off Green Screens, and move to
DOS, or move to Apple - the move to Windows from Apple. I understand
change is scary - but it is the one constant as they say. Plus, to be
frank the Gnome can be made to look alot like windows... 

anyway this is getting off the off topic subject heheheh

Cheers Steven

 Now, new companies and up and comers would be able to start differently, I'm
 referring to the bigger companies here that would have problems.
(Bye bye legacy systems :( )

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Strange inconsistancy evaluating True/False

2004-02-13 Thread Rob Rohan
This is just a guess as only the source can tell you but:

On Fri, 2004-02-13 at 11:24, Nando wrote:
 I just tripped over something a little strange ...
 
 cfset bitPublish = 255
 
 With EQbr
 cfif bitPublish EQ true

This would seem to be saying is a (byte, short, int, float) equal to a
boolean which it is not. cf's true on the other had could be some
kind of other datatype too - d'know. But this makes sense as float !=
boolean as boat != truck

 true
 cfelse
 false
 /cfif
 
 brbr
 
 Without EQbr
 cfif bitPublish
This seems to evaluate like C where 0 = false and  0 = true - so this
makes sense too from that perspective. 

Pretty interesting that they are not the same process though - good find

 true
 cfelse
 false
 /cfif

As Barney pointed out, its generally a good idea to test datatypes
against the same datatypes (even in a loosely typed language).

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Is position a QofQ or SQL reserved word

2004-02-13 Thread Rob Rohan
With the query

| getValidAds
| ADALT | ADFILENAME | ADLINK| ADID | POSITION | VIEWTIMES
1 | yadda | joes.jpg| joes.com|4| 0| 0 

cfquery name=topads dbtype=query
SELECT 
	viewtimes,
	adfilename,
	adlink,
	adalt
FROM getValidAds
WHERE position = 0
/cfquery

throws

Error Executing Database Query.

Query Of Queries syntax error.
Encountered position at line 0, column 0. Incorrect conditional
_expression_, Expected one of [like|null|between|in|comparison] condition,

However if I change it to
cfquery name=topads dbtype=query
SELECT 
	viewtimes,
	adfilename,
	adlink,
	adalt
FROM getValidAds
WHERE [position] = 0
/cfquery

It works. I may be rusty, but is position an QofQ (or sql) reserved
word? If so, anyone know where there is a list

( this just wasted 30 minutes of my time :-/ )

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Is position a QofQ or SQL reserved word

2004-02-13 Thread Rob Rohan
On Fri, 2004-02-13 at 13:50, Taco Fleur wrote:
 if using MS SQL go to BOL reserved keywords, listed..
 It does not seem to be a reserved keywords of T-SQL, but it is a reserved
 keyword for ANSI SQL

Right on - thanks Taco and Jochem
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Strange inconsistancy evaluating True/False

2004-02-13 Thread Rob Rohan
You could act like you're writing old school - in the application you
could do (scoped etc) 

cfset bFALSE = 0
cfset bTRUE= 1

Then use those from there on like cfif x eq bTRUE or WHERE thing =
#bTRUE#

and never use real booleans

Still a hack... but eh the net was built on hacks :)

On Fri, 2004-02-13 at 13:46, Nando wrote:
 Hosed seems to be an accurate description ... Funny thing is that i tripped over this
 trying to work my way around a few other problems with booleans i've run across.
 
 I'd much prefer to correctly type them consistantly throughout the app, i've tried,
 but ...
 
 MySQL for instance doesn't support a boolean data type, at least not in the current
 version. It chokes on incoming boolean values. Dang!
 
 In CFMX Q of Q's, boolean values are converted to 1's and 0's, and yourun into
 trouble using true or false in the Where clauses of QofQ's (in MX), you need to use 1
 or 0 (at least sometimes you do) ...
 
 So i decided for the sake of across-the-board compatibility to give up trying to use
 booleans in CF in and out of the datastore at least) and just consistantly use the
 numeric values of 1 or 0. That way i should be able to use any database without
 needing to change a lot of SQL, since CF evaluates 0 as false and all other integers
 as true (at least i thought it did!).
 
 Now the newest dilemmna is that using the cfsqltype=cf_sql_bit in the cfqueryparam
 tag evaluates incoming values of both true and 1 to 255 - and hence *some* of my
 boolean tests are rendering inconsistent results.
 
 Hey, when it rains it pours ...
 
 So i'm in the middle of changing all my cfsqltype's to numeric for my boolean fields
 and that solves the problem ... then cfqueryparam evaluates an incoming value of
 true into 1 and all my boolean tests work, no matter how i've coded them.
 
 I guess this qualifies as a hack.
 
 Anyone dealt with this issue in a better way? The goal is to have booleans work
 consistently across DBMS's, in CFSQL and within CF.
 
 
 
 -Original Message-
 From: Barney Boisvert [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 13, 2004 8:42 PM
 To: CF-Talk
 Subject: RE: Strange inconsistancy evaluating True/False
 
 
 Ah, the wonders of weakly-typed languages.Not to mention the 50/50
 languages like CF.;)
 
 Save yourself a world of troubles, treat CF as if it's strongly typed.CFIF
 only accepts boolean conditions (your 'bitPublish' is not a boolean), and
 only compare like types (with some fudge for floating point to integer and
 such).
 
 Not sure where the blame lies, but CF's type system is hosed like a building
 that's on fire.Whether this specific situation that is common across
 weakly-typed languages, or specific to CF, I don't know.It seems to me
 that CF should coerce the int to a boolean first, because boolean is the
 more strict type, so both of your expressions would be true.
 
 Cheers,
 barneyb
 
  -Original Message-
  From: Nando [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 13, 2004 11:25 AM
  To: CF-Talk
  Subject: Strange inconsistancy evaluating True/False
 
  I just tripped over something a little strange ...
 
  cfset bitPublish = 255
 
  With EQbr
  cfif bitPublish EQ true
  true
  cfelse
  false
  /cfif
 
  brbr
 
  Without EQbr
  cfif bitPublish
  true
  cfelse
  false
  /cfif
 
  If you run this test code on CFMX 6.1, you'll see that the
  first case evaluates to
  false and the second evalutes to true.
 
  using a value of 1 evaluates both to true.
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Moving Verity collections from Win to Linux (PDF/DOC problem)

2004-02-13 Thread Rob Rohan
It would appear you are going the free route, if that is not true don't
forget about google.
http://www.google.com/services/

On Fri, 2004-02-13 at 13:56, Jamie Jackson wrote:
 I've been tasked with estimating the LOE of making a CFMX/Linux site
 searchable. The site needs to be spidered (as opposed to a *regular*
 Verity index), and PDFs and DOCs need to be indexed as well.
 
 Issue: AFAIK, Verity still can't directly index DOCs and PDFs.
 
 The options as I see them, are:
 1. Copy site to a Win box (running CF5), and do the VK2
 spidering/indexing there, then move the collection to the CFMX/Linux
 box.
 2. Stick with _CFMX_/Linux/VK2, and run toText routines on problem
 file types.
 3. Go with Lucene.
 
 Seeing that MM/Verity isn't addressing the PDF/DOC issue (or are
 they?), it seems that the best long-term solution would be #3
 (Lucene), but it's a big unknown for me. I don't have much of a clue
 as to how long it would take me (a Java novice) to set up a
 spider/index/search for the first time, and what potential
 deficiencies I'd be left with once it had been set up.
 
 #2 seems okay, but it could get complicated when it comes to crawling
 to the text alternatives. I'm also unsure what becomes of metadata
 (i.e. titles) when doing these conversions.
 
 However, the solution that falls best within my current skillset is
 #1, as I've done several Win/VK2/CF5 spiders. Here's the question: Is
 this solution as straightforward as it seems? I know there are several
 steps, but having done the aforementioned spiders, I would guess it
 would take me two days to knock this out (leaving me with a somewhat
 less than automatic process for future updates... which I could
 automate later). Are there any GOTCHAs here?
 
 Thanks,
 Jamie

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Contribution: Capturing Standard Error for use with CFEXECUTE

2004-02-12 Thread Rob Rohan
You can redirect stderr to stdout by doing 

[EMAIL PROTECTED] rob]$ ls 21

the 21 says take stderr (2) and put it where stdout (1) goes.

On Thu, 2004-02-12 at 07:55, David Adams wrote:
 Have you ever needed to capture output from Standard Error so that you can put it into cfexecute outputfile= or cfexecute variable= on a UNIX system?
 
 For example if you run:
 
 cfexecute arguments=-z name=/bin/ls variable=result timeout=60/cfexecute
 cfoutput#result#/cfoutput, this will result in no output to screen nor would it be available to your code.
 
 If you run:
 
 cfexecute arguments=/bin/ls -z name=/usr/local/sbin/RunCommand.pl variable=result timeout=60/cfexecute
 cfoutput#result#/cfoutput, the error messages are output to screen and hence made available for use within variable and outputfile.
 
 The following PERL script (RunCommand.pl) looks like this and anyone is welcome to use it.I hope it is useful to others because it was a big help to me.Thanks to my co-worker.
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Contribution: Capturing Standard Error for use with CFEXECUTE

2004-02-12 Thread Rob Rohan
On Thu, 2004-02-12 at 10:03, Rob Rohan wrote:
 You can redirect stderr to stdout by doing 
 
 [EMAIL PROTECTED] rob]$ ls 21
 
 the 21 says take stderr (2) and put it where stdout (1) goes.

(depending on your shell of course - thats for bash and sh)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:Contribution: Capturing Standard Error for use with CFEXECUTE

2004-02-12 Thread Rob Rohan
On Thu, 2004-02-12 at 10:43, David Adams wrote:
 I am running the Bash shell and I ran the following and it failed:
 
 cfexecute name=/bin/ls arguments=-z 21 variable=result timeout=60/cfexecute
 cfoutput#result#/cfoutput

Interesting... Try double checking that it will work from cf by doing
something like
cfexecute name=/bin/ls arguments=-z 2errors.txt variable=result
...
and see if the error is indeed listed in errors.txt - btw this works
fine from the shell it's self - maybe there is a problem with java's
Runtime.getRuntime().exec (which I assume is what MM is using)

There might be a problem with the way stdin is read by cfexecute. And
the only way around it, that I can think of, would be to write a shell
wrapper script (which basically is the same thing you did with the perl
script - but wont require perl - btw your code never was posted)

Here is a simple bash wrapper script you can try (don't add the +---
---+ lines to the file):

+- wrapper.sh --+
#/bin/sh

`$*` 21
+- wrapper.sh --+

then
$chmod u+x wrapper.sh

then call it like

cfexecute name=wrapper.sh arguments=/bin/ls -z ...

I apologize I don't have cfmx on my workstation and at present I am only
working on gigs that are using windows boxes so I cant test it for you.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:Contribution: Capturing Standard Error for use with CFEXECUTE

2004-02-12 Thread Rob Rohan
 +- wrapper.sh --+
 #/bin/sh
 
 `$*` 21
 +- wrapper.sh --+
by the way those are back quotes (grave accents) not ' but the key that
has the ~ on it without the shift.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:Contribution: Capturing Standard Error for use with CFEXECUTE

2004-02-12 Thread Rob Rohan
On Thu, 2004-02-12 at 12:11, Rob Rohan wrote:
  +- wrapper.sh --+
  #/bin/sh
  
  `$*` 21
  +- wrapper.sh --+
 by the way those are back quotes (grave accents) not ' but the key that
 has the ~ on it without the shift.

jezz man I am batting 1000 today. leave off the `s and add ! to the bin

+- wrapper.sh --+
#!/bin/sh

 
$* 21
+- wrapper.sh --+

:-/

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:Contribution: Capturing Standard Error for use with CFEXECUTE

2004-02-12 Thread Rob Rohan
Finally, then I'll shut up I found this talking about
Runtime.getRuntime().exec(/bin/ls -aFl); which again I bet MM based
their stuff off of:

snip
Shell built-in commands will not work here. A prime example of this is
the DOS dir command. This is a built-in and will not execute. You
would need to use command \c dir as the command string.

If you pass the executable command as a single String, the exec() method
will break the string into multiple strings, breaking the original
string on white space. This will cause some trouble when trying to do
things like I/O redirection.

Consider the following line of code:

	Process p = Runtime.getRuntime().exec(/bin/sh -c /bin/ls  ls.out);
This is intended to execute a Bourne shell and have the shell execute
the ls command, redirecting the output of ls to the file ls.out. The
reason for using /bin/sh is to get around the problem of having stdout
redirected by the Java internals. Unfortunately, if you try this nothing
will happen. When this command string is passed to the exec() method it
will be broken into an array of Strings with the elements being
/bin/sh, -c, /bin/ls, , and ls.out. This will fail, as sh
expects only a single argument to the -c switch. To make this work
try:

	String[] cmd = {/bin/sh, -c, /bin/ls  out.dat};
	Process p = Runtime.getRuntime().exec(cmd);
Since the command line is already a series of Strings, the strings will
simply be loaded into the command array by the exec() method and passed
to the new process as is. Thus the shell will see a -c and the command
/bin/ls  ls.out and execute correctly.

/snip

On Thu, 2004-02-12 at 12:31, Rob Rohan wrote:
 On Thu, 2004-02-12 at 12:11, Rob Rohan wrote:
   +- wrapper.sh --+
   #/bin/sh
   
   `$*` 21
   +- wrapper.sh --+
  by the way those are back quotes (grave accents) not ' but the key that
  has the ~ on it without the shift.
 
 jezz man I am batting 1000 today. leave off the `s and add ! to the bin
 
 +- wrapper.sh --+
 #!/bin/sh

 $* 21
 +- wrapper.sh --+
 
 
 :-/
-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Windows NT source code

2004-02-12 Thread Rob Rohan
I know I shouldn't do this... but I stumbled upon acopy of the windows
NT source code and I feel obligated to pass it on (don't tell anyone
where you found it)

/* This is the source code to Microsoft's Windows NT 4.0 */
/* (c) 1997 Microsoft, Corp. */

void boot() 
{
hang_for_10_min();
get_half_hardware();
hang_for_5_min();
start_vms();
start_win95();
}

void start_network() 
{
start_protocols(0);
start_connections();
kill_3_connections();
create_stupid_exploits_for_unix_people_to_laugh_at();
reboot_in_3_days();
}

main()
{
boot();
ask_for_login();
ignore_login_let_anyone_in();
start_network();

 
while(1) 
{
 break();
 run_slow();
 leek(ram);
 use_full_resources(CPU);
}
}

:-o

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: ColdfusionMX Server?

2004-02-11 Thread Rob Rohan
On Wed, 2004-02-11 at 07:01, John Ho wrote:
 I don't why all my application doesn't display
 anything?. When I open them, it doesn't show anything
 just a blank page. I can not open Coldfusion admin
 either. Do you know what wrong with this? Please help

John, that is not enough information for anyone to help you

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: PCode problem - just started today

2004-02-11 Thread Rob Rohan
Do you know if any of the database stuff for DBase ]|[ uses DCOM - thats
what all this hub bub is about - a DCOM exploit. If the DBase
connectivity or actual DBase program doesn't use DCOM it *might* not be
the update.

You might want to find out if it relys on DCOM, as you seem to think the
windows update (I assume you mean that security path) hosed your system.

Hope that helps

On Wed, 2004-02-11 at 07:02, Charles Nahm wrote:
 Only thing that has changed is that some Windows updates were installed
 early this morning.
 
 All of a sudden, code that has worked fine for 2 years won't work.I'm
 getting this error:
 
 Error Diagnostic Information
 unknown exception condition
 PCodeRuntimeContextImp::executeSQLTagCFQuery::endTag
 The error occurred while processing an element with a general identifier of
 (CFQUERY), occupying document position (104:3) to (104:51).
 
 This is for a DBase III type database.
 
 Searching through some google archievs I see reference to session variables
 and locking and the like, but this query is about as mundane as it gets:
 
 cfquery name=getunits datasource=DBIIIsource
 SELECT Units
 FROM TABLE
 WHERE Accountnumber = '#GetAccounts.AccountNumber#'
 /cfquery
 
 We are running CF 5 on a W 2K platform.
 
 Any ideas or help would be greatly appreciated.I'd like to emphasize that
 this code was working just fine yesterday as it had for the previous 2 years
 including when we ran on CF 4.5 and the only thing that has changed from
 yesterday to today is the Windows updates.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Re:ColdfusionMX Server?

2004-02-11 Thread Rob Rohan
On Wed, 2004-02-11 at 06:37, John Ho wrote:
 I open the page, it display iswhite blank page

Change the code then and update the configuration files.

 I don't why all my application doesn't display
 anything?. When I open them, it doesn't show anything
 just a blank page. I can not open Coldfusion admin
 either. Do you know what wrong with this? Please help
 
 Thank you
 John
 
 __
 Do you Yahoo!?
 Yahoo! Finance: Get your refund fast by filing online.
 http://taxes.yahoo.com/filing.html

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: MySQL and CF

2004-02-11 Thread Rob Rohan
On Wed, 2004-02-11 at 08:20, Paul Hastings wrote:
  with it. You can even sell PostgreSQL binaries if you want (and 
  quite a few companies do so).
 
 speaking of which, whatever became of the native windows port?
The postgres guys say it exists, but (as with most windows programs)
it's not free

...
Cross platform
PostgreSQL is available for almost every brand of Unix (34 platforms
with the latest stable release), and Windows compatibility is available
via the Cygwin framework. Native Windows compatibility is also available
from several commercial companies. 
...

 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: select form element and MX6.1 solved

2004-02-11 Thread Rob Rohan
You could try #160; I think or just hit the space bar (you'll get at
least one)

On Wed, 2004-02-11 at 09:01, Jeremy wrote:
 It appear that mac IE will use this

 option value=#cid#
 class=copy#UCase(cusername)#|#cpassword#/option

 But not

 option value=#cid#
 class=copy#UCase(cusername)#nbsp;nbsp;|nbsp;nbsp;#cpassword#/opt
 ion

 The nbsp;nbsp; was the problem. But now how can I add a few spaces to
 the display to space the out further.

 
 Jer
 
 -Original Message-
 From: Jeremy [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, February 11, 2004 11:55 AM
 To: CF-Talk
 Subject: RE: select form element and MX6.1
 
 
 Yeah I tried that first and it appears that if I have fewer than say 10
 options they don;t show up. I don;t know what it could be.
 
 -Original Message-
 From: Adrian Lynch [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, February 11, 2004 11:43 AM
 To: CF-Talk
 Subject: RE: select form element and MX6.1
 
 Try taking the styles out of the equation see if that's the problem. Or
 even
 better, start from the beginning and add bits one at a time till it
 breaks
 again.
 
 Ade
 
 -Original Message-
 From: Jeremy [mailto:[EMAIL PROTECTED]
 Sent: 11 February 2004 16:22
 To: CF-Talk
 Subject: select form element and MX6.1
 
 Why would this code not show the options when they are selected on a mac
 in IE.
 
 select name=getclient class=copyform style=width: 235px; border:
 1px solid #00;
 option value=0 class=copyCLIENT
 NAMEnbsp;nbsp;|nbsp;nbsp;password/option
 option value=0
 class=copy--/option
 cfoutput query=selectclients
 option value=#cid#
 class=copy#UCase(cusername)#nbsp;nbsp;|nbsp;nbsp;#cpassword#/opt
 ion
 /cfoutput
 /select
 
 It works just like it should on any pc, but in IE on the mac after you
 select the drop down you get blanks, until you select something. But you
 can't see it until after you select. not ver user friendly. Any help
 would be appreciated. I am using MX 6.1 by the way should that make a
 difference.
 
 Jer 
_ 
_ 
_
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: cfeclipse (paging Dr. Rohan)

2004-02-11 Thread Rob Rohan
hehehe, yeah - you have to make a project - new, project, simple project
then either add (import) the cfm file to that or create a new one.
Simply doing a file / open doesn't work yet.

On Wed, 2004-02-11 at 09:23, Jamie Jackson wrote:
 [Keep in mind that this is my first attempt at using cfeclipse and
 eclipse, itself. However, I *can* open text docs, etc.]
 
 I'm getting an error (which says simply, error) in the editing
 window when trying to open a .cfm file.
 
 I'm using this version of the plugin:
 http://cfeclipse.rohanclan.com/com.rohanclan.coldfusionmx_1.0.8.zip
 
 I'm running on:
 j2sdk1.4.2_03
 eclipse-SDK-3.0M6-win32
 
 Any insight?
 
 Thanks,
 Jamie

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: cfeclipse (paging Dr. Rohan)

2004-02-11 Thread Rob Rohan
btw if you are going to use eclipse for your main development, I also
recommend you get this plug-in http://gstaff.org/colorEditor/ it does
highlighting (only) for all kinds of stuff - stand alone js, css, etc
files.

when you install it it takes over .cfm as the default editor so you have
to go into Window  Preferences  Workbench  file associations. Then
find .cfm and switch it back to the CFML Editor.

On Wed, 2004-02-11 at 09:38, Rob Rohan wrote:
 hehehe, yeah - you have to make a project - new, project, simple project
 then either add (import) the cfm file to that or create a new one.
 Simply doing a file / open doesn't work yet.
 
 
 On Wed, 2004-02-11 at 09:23, Jamie Jackson wrote:
  [Keep in mind that this is my first attempt at using cfeclipse and
  eclipse, itself. However, I *can* open text docs, etc.]
  
  I'm getting an error (which says simply, error) in the editing
  window when trying to open a .cfm file.
  
  I'm using this version of the plugin:
  http://cfeclipse.rohanclan.com/com.rohanclan.coldfusionmx_1.0.8.zip
  
  I'm running on:
  j2sdk1.4.2_03
  eclipse-SDK-3.0M6-win32
  
  Any insight?
  
  Thanks,
  Jamie
  

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFMX - best way to strip content from html page

2004-02-11 Thread Rob Rohan
On Wed, 2004-02-11 at 10:34, Hugo Ahlenius wrote:
 Do you have any control over the sites archived? Are they XHTML?
I have control of the pages after they are collected, but not the end
sites. Without getting in trouble, it needs to collect a bunch of site's
pages (and more will be added in the future)(that part is done btw) it
then needs to get the main contents (largest amount of text in most
cases) finally search the text for keywords, save the text, and do some
stats on the information as well.

I am leaning at present to not strip the html, but the problem is that
pages are coming in at about 34K - this process, at present, collects
about 10MB a day - that is going to get out of control rather fast. The
actual information needed is only about 4-5K

 If yes on the first question: enclose the relevant main body in div
 tags, with a relevant ID. Then, if they are XHTML, you can parse it as
 XML. If not it might still be possible to apply some regexps to get the
 content (locate the start and end of the main body).
yeah that would be cool if I could control the other side :(

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Creating emails with CFMX

2004-02-11 Thread Rob Rohan
On Wed, 2004-02-11 at 12:35, Dave Watts wrote:
  Thank you Barney. It's impossible to integrate MS Exchange 
  Server with CFMX for creating email account?
 
 Almost nothing is impossible. I suspect you can do this using ADSI, which is
 a COM API for interacting with Exchange. There are probably other ways to do
 it as well. However, there's no specific tag or interface within CFMX for
 doing this.

Putting a Cadillac up your nose is.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: 2003 MAX Conference Registration System

2004-02-11 Thread Rob Rohan
(I can't believe I am doing this)
I used to work for a place that did that - the app is not for sale but
you can use the service - it's called Regweb, and if you want to use it
let me know off list and I'll get you in touch with the right people.

Cheers,
Rob

On Wed, 2004-02-11 at 14:21, Jamie Jackson wrote:
 I'm working on an estimate for a registration system. A colleague of
 mine has a vague recollection that at the conference, MM mentioned
 something about the registration system that they used for it. (i.e.
 That it was a product in and of itself.) Is there any validity to
 this?
 
 I remember that it was a pretty slick RIA (for session scheduling and
 conflict management), but I don't remember anybody saying that the app
 was somehow available to the public.
 
 Anybody?
 
 One more thing, if there's already a (preferably MachII, or otherwise
 OO) MX event registration app floating around out there, would you
 please let me know?
 
 Thanks,
 Jamie

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Xpath expressions compliance

2004-02-10 Thread Rob Rohan
On Tue, 2004-02-10 at 07:50, Massimo Foti wrote:
  Anybody know if Xpath in CF is fully compliant with all functions,
  expressions,etc... Of the spec?
 
  I tried to use the value() function and got a not defined error. Its
  certainly possible I implemented wrong, but I know how CF likes to do
  partial implementations every so often ;)
 
 The problem is that XmlSearch() works only with XPath expressions that
 returns an array of XML elelemts (NodeList). Anything else will throw an
 exception.

side_note
If you use XmlTransform and cfsavecontent to do xml searches, however,
is uses Xerces so that is fully compatible with the same Xpath version
as Xerces XSLT (Xpath 1.0 I think).I would assume (as most coders hate
to write the same thing twice) that the XmlSearch is using the same sort
of process with a bit of MM intervention.
/side_note

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: accessing COM objects using Coldfusion

2004-02-10 Thread Rob Rohan
Is Unzip a method?

cfmzipper.UnZip;
or
cfmzipper.UnZip();

On Tue, 2004-02-10 at 08:56, David Ashworth wrote:
 Hello, 

 I have installed the component aspZip.EasyZIP that is used to unzip
 files, here is the code in ASP:

 const AddDirNames= 1
 const AddZipTime= 2
 const AddRecurseDirs= 4
 const AddHiddenFiles= 8
 const AddEncrypt = 16
 const AddSeparateDirs = 32

 dim ZIP, zipItem1

 set ZIP = server.createobject(aspZip.EasyZIP)

 Zip.Debug = true
 Zip.ZipFileName = Server.MapPath(Tcg_divi.zip)
 Zip.ArgsAdd(*.*)
 Zip.ExtrbaseDir = D:\INETPUB\WWWROOT\ZIP\
 Zip.ExtrOptions = 1
 Zip.UnZip
 response.Write Files UnZipped=  Zip.SuccessCNT   with Error=
 Zip.Error   message=  Zip.LastMessage

 However, I want to recreate this in Coldfusion, but keep running into
 errors, the code I have developed is as follows:

 cftry
cfobject action="" class=aspZip.EasyZIP name=cfmzipper
 type=com

cfcatch
cfobject action="" class=aspZip.EasyZIP name=cfmzipper
 type=com
/cfcatch

 /cftry

 cfset AddDirNames = 1
 cfset AddZipTime = 2
 cfset AddRecurseDirs = 4
 cfset AddHiddenFiles = 8
 cfset AddEncrypt = 16
 cfset AddSeparateDirs = 32

 cfscript
cfmzipper.Debug = true;
cfmzipper.ZipFileName = D:\INETPUB\WWWROOT\ZIP\Tcg_divi.zip;
cfmzipper.ArgsAdd(*.*);
cfmzipper.ExtrbaseDir = D:\INETPUB\WWWROOT\ZIP\;
cfmzipper.ExtrOptions = 1;
cfmzipper.UnZip;
 /cfscript

 
 Now I know that the debug property etc are being recognised as if I
 change the name slightly, I am told that is not a recognised method.

 The error message I am getting is:

 Error Diagnostic Information

 The error occurred while processing an element with a general identifier
 of (CFSCRIPT), occupying document position (26:1) to (26:10) in the
 template file D:\INETPUB\WWWROOT\ZIP\test.cfm.

 Anyone know where I am going wrong?

 Thanks in advance
 
 Dave
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Monthly Scheduled Task

2004-02-10 Thread Rob Rohan
On Tue, 2004-02-10 at 09:07, Matt Robertson wrote:
 I've heard of this happening more than once, but haven't seen it
 personally.
 
 Not too long ago I started needing a lot of scheduled tasks, and was
 having occasional trouble with them.They sometimes didn't want to
 start etc.Switched to running them thru the Windows scheduler and have
 been real pleased.Call Internet Explorer from the command line and
 have it execute a url
 
 C:\progra~1\intern~1\iexplore.exe http://URLorIPhere/foo.cfm
 
 Call a batch file instead with this call in it and you can do all sorts
 of extra stuff.
 
 Of course this is worthless if you aren't on Windows or can't get to the
 server desktop, or the url is in a protected area.

Not worthless you can do the same thing with a shell script, Cron, wget
or lynx on Unix and its variants (which is almost every operating system
in the world except windows hehehe)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Anyone used Coral?

2004-02-10 Thread Rob Rohan
On Tue, 2004-02-10 at 09:15, Miller, Kevin wrote:
 I am looking into this package for a distributed app?Anyone have any experiences with it?

It was mentioned on the list a while back and I showed the site to a
client who wanted to do something along those lines (standalone app),
but he said he couldn't get it to install for some reason - I think he
couldn't switch the ports as advertised or something - anyway he got
pissed and deleted it in a fume of anger. If you have success I'd like
to know. 

Seem rather restrictive to me - but eh - why not take portable code and
make it only available on windows with an access database - sounds good
:)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Thesaurus DB

2004-02-10 Thread Rob Rohan
On Tue, 2004-02-10 at 09:38, Andrew Golden wrote:
 I had an idea to simply a project i am working on and I was wondering if anyone knew of any source for a database of a thesaurus. Obviosuly, a CSV, tab delimited, etc file would be workable and free/dirt cheap is best. I haven't had too much luck on google thus far. Any ideas? anyone have something they are willing to share?
 

These might be a bit over the top, but it looks like you can get the
source:

http://www.cogsci.princeton.edu/~wn/
http://aiksaurus.sourceforge.net/

good luck

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Purchase CFMX?

2004-02-10 Thread Rob Rohan
On Tue, 2004-02-10 at 11:06, Burns, John wrote:
 Does anyone know of any tricks of the trade to get CFMX 6.1 for cheaper
 than $1300?Any kind of discounts or promotions or resellers or
 anything?I've heard the ebay ideas and the cons associated with that,
 but any valid, legal ways of getting it for cheaper would be much
 appreciated.

You could always steal it hehehe - if you're not hell bent on cfmx you
could try bluedragon (I haven't used it but I hear it is close to MXin
compatibility (minus cfc's and web services currently) and it's
cheaper).

http://www.newatlanta.com/products/bluedragon/index.cfm

you might get a discount too if you're a partner (I don't know for sure
I am sure an MM guy will know)

http://spectra15.macromedia.com/index_top.cfm

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: MySQL and CF

2004-02-10 Thread Rob Rohan
I sent an email to the MySQL guys asking for their opinion on this
thread and this is what they said:

Hi Rob,

In most cases you are not required to purchase a license for using MySQL
as
the back-end database for your website (commercial or not), see our
licensing policy here, http://www.mysql.com/products/licensing.html.As
long as you do not copy, modify or distribute MySQL, a commercial
license is not required.

However, if you create a non-GPL web application that requires a MySQL
database and commercially distribute it, licenses are required.

Does this help?

Regards,

Mr. Matt Fredrickson, 
Sales Executive
MySQL, Inc. - www.mysql.com



On Fri, 2004-02-06 at 09:38, Doug White wrote:
 That post may be somewhat misleading.If you are using the open source version
 of MySQL, you are under NO obligation to reveal the source code of the
 application you develop which uses the database.The only reveal obligation
 you will have is if you modify the MySQL source code itself. That is a
 reasonable requirement of the license.
 
 This little thing was omitted from the post on CF-Talk, and I caution anyone to
 takes the post literally to mean that your application which uses the database
 is automatically open source as well.It just ain't so.
 
 No user should be afraid to use proprietary code to access a MySQL database
 
 ==
 Stop spam on your domain, Anti-spam solutions
 http://www.clickdoug.com/mailfilter.cfm
 For hosting solutions http://www.clickdoug.com
 ==
 Aspire to Inspire before you Retire or Expire!
 
 
- Original Message - 
From: [EMAIL PROTECTED]
To: CF-Talk
Sent: Friday, February 06, 2004 10:18 AM
Subject: RE: MySQL and CF
 
 
Yikes!Well, I'll never be using mySQL again.
 
- Original Message -
From: Vince Bonfanti [EMAIL PROTECTED]
Date: Friday, February 6, 2004 9:05 am
Subject: RE: MySQL and CF
 
 Not to comment at all on its technical merits, anyone using MySQL
 should be
 familiar with their licensing terms. Specifically, MySQL is *not*
 free for
 commercial development. If you use MySQL for a commercial product
 and don't
 purchase a commercial license, then you run the risk of inadvertently
 releasing your source code for free.

 MySQL is released under GPL, unlike Linux, for example, which is
 releasedunder LGPL. Under the LGPL, if you write an application
 that runs on Linux
 you can redistribute that application without releasing the source
 code.Under the GPL, however, if you release an application that
 runs on MySQL,
 then you must release the source code of your application.

 Here are the relevant quotes from the MySQL licensing page on
 their web
 site:

 http://www.mysql.com/products/licensing.html

 Regarding their Open Source license, which is the GPL:

 The Open Source License allows you to use the software at no
 chargeunder the condition that if you use MySQL in an application you
 redistribute, the complete source code for your application must be
 available and freely redistributable under reasonable conditions.

 If you don't want to release the source code of your application,
 you must
 purchase a commercial license:

 The Commercial License, which allows you to provide
 commercial software
 licenses to your customers or distribute MySQL-based applications
 withinyour organization. This is for organizations that do not
 want to release the
 source code for their applications as open source / free software;
 in other
 words they do not want to comply with the GNU General Public
 License (GPL).

 Note that it's not just the MySQL database that's covered under these
 license terms--they also apply to the MySQL JDBC and ODBC drivers.
 (This is
 the reason BlueDragon no longer ships the MySQL JDBC driver).

 So if you use MySQL--be careful. If you don't purchase a
 commercial license,
 anyone can demand that you give them your source code under the
 terms of the
 GPL license.

 Vince Bonfanti
 New Atlanta Communications, LLC
 http://www.newatlanta.com




 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFMX - best way to strip content from html page

2004-02-09 Thread Rob Rohan
Hey there hi there ho there,

I was wondering what others have used to strip the content out of web
pages? I am working on a system that collects pages and archives them;
however, only the content needs to be stored (i.e. not the navigation,
images, extra page fodder).

The sites it is archiving are vast so it would have to rather generic
solution. I have seen this kind of thing before, but only for single
specific sites. Does anyone know a good method to do it generically?

I was leaning toward one of these but I am open to whatever

* run the collected html through tidy (or jtidy) then (somehow) use xslt
* (somehow) use a regular _expression_ on the collected html

if anyone has done this before please let me know of pitfalls or
recommendations - BTW I have time not money so any pay solutions are
right out.

Thanks

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFMX - best way to strip content from html page

2004-02-09 Thread Rob Rohan
On Mon, 2004-02-09 at 08:33, Thomas Chiverton wrote:
 On Monday 09 Feb 2004 16:24 pm, Michael Dinowitz wrote:
  No. Bottom line here is just no. There is no generic way of getting content
  off a web page without getting the non-content (nav, etc.). 
 
 Though there a Perl modules that have a fair go.

What are the Perl modules called? perhaps I can port them - do you have
a link?

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFMX - best way to strip content from html page

2004-02-09 Thread Rob Rohan
On Mon, 2004-02-09 at 09:06, Tyler Clendenin wrote:
My only recommendation would be difficult.
You would have to build your own application for comparison of code and
strip out everything that is similar (you would have to decide on the 
rules).

Comparison of code? Meaning look at what a typical anchor tag looks
like, typical _javascript_, etc? Ah, so you are suggesting *removing* what
is bad not getting what is good... interesting... I'll muddle that one
over - thanks Tyler

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: Just slightly

2004-02-09 Thread Rob Rohan
That site is awesome - if only I had time / warrener budget ;)

On Mon, 2004-02-09 at 09:17, Andrew Spear wrote:
 I had to share a very impressive Flash/CF site at http://www.rr.com/flash/index.cfm.I think this is the best RIA type Flash site that I have seen.And it looks like they're using CF on the backend.This is defenitely for broadband users (Time Warner cable's RoadRunner service) so I probably wouldn't try it on a dail-up.Play around with it a little and check out the in-line video, very nice! What do you guys think...

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Good beginner cold fusion book

2004-02-09 Thread Rob Rohan
I have a friend who, for some unknown reason, wants to learn CF :).

Anybody have a recommendation for a good beginning cold fusion book for
someone without any coding experience? Or perhaps a class in the San
Francisco Area. I am pretty sure he knows HTML; it would be nice if the
book covered MX too.

I figure Ben Forta would have at least a couple (and amazon says he
does), but I've never read any cold fusion books let alone a beginning
one so I can't in good conscience recommend any.

Any input is welcome

Thanks

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: Good beginner cold fusion book

2004-02-09 Thread Rob Rohan
On Mon, 2004-02-09 at 12:35, Jim Campbell wrote:
 Programming ColdFusion MX by Rob Brooks-Bilson (O'Reilly Press).
 That's my favorite CF book these days, especially since it covers 6.1.

Does that one cover the basics? I mean like this is how cfif works kind 
of stuff or is it geared toward higher level coders? That Bible one Dave 
recommeded sounds like it should start from the begining - but the 6.1 
stuff would be nice too. Does Programming ColdFusion MX cover the basic 
basics?

 However, I learned CF from Ben Forta, and some helpful colleagues at SBC 
 many moons ago... Well before ParameterExists was deprecated :) ... and 
I actually had a boss that would get mad at me for using isDefined
instead of parameterexists hehehe

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Good beginner cold fusion book

2004-02-09 Thread Rob Rohan
On Mon, 2004-02-09 at 13:11, Dave Watts wrote:
  Anybody have a recommendation for a good beginning cold 
  fusion book for someone without any coding experience?
 
 I realize this may seem kind of silly, but your friend might consider
 learning a general-purpose programming language first. There are plenty of
 books aimed at this market; many of them are quite good.

Which language would you recommend? I don't think that is silly, I knew
C++ and java before I started messing with CF and found cf very easy to
pickup due to the prior knowledge. I don't think I could recommend he
learn C++ though hehehe - plus I think he wants to learn cf
specifically.

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: Good beginner cold fusion book

2004-02-09 Thread Rob Rohan
Thanks every one for your input - I think I am going to recommend two
books (as Michael and Howard and Jim suggested):

Programming ColdFusion MX (ISBN 0596003803)
(because I do so like o'relly)
and
ColdFusion MX: From Static to Dynamic in 10 Steps
by Barry Moore
Paperback - 380 pages (August 2002) 
New Riders
ISBN: 0735712964
(seems like a good fit)

I'll also suggest that learning another language bit from Dave and see
if he feels up to learning C# (aka Micro$oft Java)

Thanks again everyone

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: XML Storage

2004-02-05 Thread Rob Rohan
You can give ashpool a shot if you'd like. Its an XML database (really
it just writes XSL sheets and returns query sets), but you can set it up
like a normal datasource and query xml documents

There are currently 4 systems I know about that use it with good results
http://ashpool.sourceforge.net

On Thu, 2004-02-05 at 09:12, Rich Ziade wrote:
 I've been doing some research on XML databases and was wondering if anyone
 could provide any insight:

 We're building an insurance policy management system that handles the
 processing of policies (approvals, cancellations, etc.). It seems to make a
 lot of sense to deal w/ the day-to-day data in XML - since the data objects
 we're dealing with lend themselves very well to XML data (a policy XML
 etc.). We're not too concerned w/ reporting b/c we plan on dropping the data
 to a database nightly anyway for reporting. 

 Does anyone have a suggestion for a good, lightweight XML storage/retrieval
 mechanism. It doesn't even need full SQL/query capabilities. An efficient
 storage mechanism w/ some light indexing is fine. 

 Any suggestions would be greatly appreciated,
 Rich
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: jRockit

2004-02-05 Thread Rob Rohan
On Thu, 2004-02-05 at 11:36, Michael Wolfe wrote:
 Hi All,

 A few days ago, someone quoted Charlie Arehart regarding CFMXoptimization
 tips.One of the things that was mentioned was that you should replace the
 Sun JRE with jRockit.I did some research and learned that jRockit is
 distributed by BEA (for free).

 Can anyone tell me more about jRockit? 
I saw them (BEA - but I thought they went out of business) at a trade
show a while back touting JRocket. Supposedly they worked very closely
with Intel to get the JRocket JVM to work really well with the x86 chip
(Sun does great on Sparc, but they said they did it better with x86)

I've Never used it but that is what they said - it was a joint venture
between them and Intel supposedly

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Das cf eclipse plug-in

2004-02-03 Thread Rob Rohan
:)
On Tue, 2004-02-03 at 02:01, Thomas Chiverton wrote:
 On Monday 02 Feb 2004 18:00 pm, Rob Rohan wrote:
  The new version is 1.0.8 and it has the following improvements and
known
  bugs:
 
 Did you put it up on the site yet ? My eclipse can't see an update to
1.0.5.

I stopped developing the 2.x version of eclipse as 3 had some API
changes and it seemed kind of silly to work on something that is being
phased out. And for eclipse 3 the autoinstall feature doesn't seem to be
done so you have to go to the site and download the latest plugin for it
to work :(

 Great new things in this release !
Thanks :) I have been using it to work with for the past couple days 
and I am very happy with it. There are a few oddities, but I am only one
guy so you gotta take that into account too :)

 Have you been able to organise anyone else to help code it yet ? I can
offer a 
 mailinglist host...
Nah, I am not having any luck at all. No one wants to / can host the
code so there is no way for me to manage the project. So I am just
releasing the code. Hopefully it will turn into something really awsome,
However, I licensed it under the MIT license so people can sell it if
they want so it might not turn out to be free... Unless someone out
there represents :)

btw you can get the source right next to the latest build at
http://cfeclipse.rohanclan.com

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Das cf eclipse plug-in

2004-02-03 Thread Rob Rohan
On Tue, 2004-02-03 at 09:16, Thomas Chiverton wrote:
 On Tuesday 03 Feb 2004 16:56 pm, you said:
  phased out. And for eclipse 3 the autoinstall feature doesn't seem
to be
  done so you have to go to the site and download the latest plugin
for it
  to work :(
 
 Ah. Oddness.
 Do I have to do anything with Eclipse 3 beyond unpack the .zip in the
right 
 place, having already for 1.0.5 installed ? 
 I tried various things but it all went very tits, and I had to
reinstall 
 Eclipse :-)
Yikes! Nah you should just be able to unzip it right into the plugins
directory and all should be well (you might want to shut down eclipse -
unzip - then restart it) - btw I wrote it against Eclipse 3 Milestone 6
(M6)

 
  guy so you gotta take that into account too :)
 
 I'm using Eclipse over Jedit now.
That Jedit plugin? Thats a nice plugin. I still have that one installed
for all the other files like plain js files.

 
  Nah, I am not having any luck at all. No one wants to / can host the
  code so there is no way for me to manage the project. 
 
 If you have no luck with SourceForge, I have a SF project (webPlayer)
that 
 could be co-opted :-)
 Shame no other people on CF-Talk want to know about it :-(
I did have a couple people offer that, and I myself have 2 projects on
sf, but if they don't want the project on their servers then they don't
want it. Plus you can get your project kicked off if you do stuff like
that :( but thank you thats rad of you to offer :)

 
  However, I licensed it under the MIT license so people can sell it
if
  they want so it might not turn out to be free... Unless someone out
  there represents :)
 
 That'd be a shame, not being free.
Well it'll stay free to this point for sure. If people want to take it
further thats up to them.

Thanks for your support on the plugin Thomas, and if you have any
problems loading the plugin let me know

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Did I offend?

2004-02-03 Thread Rob Rohan
What the heck is this? I didn't cuss?

 eManager Notification *

The following message was blocked because it contains sensitive content.

Source mailbox: [EMAIL PROTECTED]
Destination mailbox(es): [EMAIL PROTECTED]
Rule/Policy: Profanity
Action: Quarantine to xx\DFImessagebody401fdd4c3999.tmp

Your message has been blocked by 2nd Byte because the content has
automatically been deemed offensive or discriminative.

*** End of message *

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: OT: Did I offend?

2004-02-03 Thread Rob Rohan
ahhh hehehe - I thought I had a shirt on I swear :)

On Tue, 2004-02-03 at 11:49, Cary Gordon wrote:
 No, but somebody in the thread used the word t*ts to describe their 
 install.This is particularly amusing in light of the (manufactured) 
 Superbowl controversy.
 
 Cary Gordon
 The Cherry Hill Company
 
 At 09:48 AM 2/3/2004 -0800, Rob Rohan wrote:
 What the heck is this? I didn't cuss?
 
-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




  1   2   3   4   5   >