Thread: CFX Custom Tag

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Location
    Austria / Ebensee
    Posts
    2
    Rep Power
    0

    CFX Custom Tag


    Hello out there!

    First: It's the first time I'm using CF MX 6.1, please be nice to me

    I have to register some CFX custom tags and i copied the .java files into to right directory which is mentioned under "Custom Tag Paths", but I always get an error that the CFX custom tag is not found, when processing a page using it.

    I don't know what to do know.

    Could anybody help me?

    Greetings

    Joerg
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Washington, DC
    Posts
    5
    Rep Power
    0
    Don't you have to compile it first? That is, doesn't it have to be a .class file?
  4. #3
  5. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,264
    Rep Power
    968
    Also, is this just any old Java class, or was the specifically written to be a Java CFX tag? Java CFX tags must be specially written and import certain CF Java classes to work, I believe. If you just want to execute a method on a standard Java class you use cfobject and/or createObject(), depending on what you want to do.
    Last edited by kiteless; January 20th, 2004 at 08:49 PM.
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Location
    Austria / Ebensee
    Posts
    2
    Rep Power
    0
    OK, that was the fault ...

    I've got to compile the .java with javac! Thanks a lot!

    regards
    Joerg

    Originally posted by flowcontrol
    Don't you have to compile it first? That is, doesn't it have to be a .class file?

IMN logo majestic logo threadwatch logo seochat tools logo