- see footer for list info -<
jTidy = createObject("java","org.w3c.tidy");

throws class not found. I tried:

jTidy = createObject("java","org.w3c.tidy.Tidy");
           jTidy.clean(parseData);

That throws "Either there are no methods with the specified method name and argument types, or the clean method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity. " whether or not arguments are supplied. Same goes for

jTidy = createObject("java","org.w3c.tidy.Clean");
           jTidy.clean(parseData);

I'm finding the documentation entirely unhelpful! There's nothing (it seems to help) you get started when you're new to this stuff. Grrrrr. Worth a blog post once I finally get it sorted if I had a blog lol


Rich Wild wrote:
- see footer for list info -<
wouldn't it be

jTidy = createObject("java","org.w3c.tidy");
jTidy.clean(params);

?

On Wed, Feb 25, 2009 at 2:12 PM, Damian Watson <
[email protected]> wrote:

- see footer for list info -<
Ok so I've got jtidy working using the makexHTMLValid function in
jtidy.cfc. Super!

Now I'm wanting to call the cleanWord2000 method within the Clean class so
I'm instantiating the object:

jTidy = createObject("java","org.w3c.tidy.Clean");

But then I can't figure how I use this method. I've had a lot of errors
saying method can't be found but can't find anything I can understand in the
docs to enlighten me...

d






_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-

- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.3/1970 - Release Date: 02/24/09 13:35:00



_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to