Solved

cfTree Issue

Posted on 2001-06-05
4
261 Views
Last Modified: 2013-12-24
I have a question concerning cfTree.
I'm invoquing the tag by
<APPLET NAME="Navigation" CODE="allaire.controls.CFTreeFormApplet" CODEBASE="/CFIDE/classes/" HEIGHT="500" WIDTH="250">
 
CFIDE/Classes/ is mapped in IIS and CFAdmin.
 
When loading the page in IE, the applet appears without graphics;
 
NS reports Applets allaire.controls.cfTreeFormApplet class allaire.controls.cfTreeFormApplet could not be loaded
 
Any Ideas?
0
Comment
Question by:da2121
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 4

Accepted Solution

by:
CF_Spike earned 100 total points
ID: 6159229
I think that when you use the CFTREE tag to invoke the applet some javascript is created. Perhaps this has some effect on the display. Also, presumably there are some params that have to be given to the applet so it knows what to produce.

The script produced on my machine looks like this:

<script LANGUAGE=JAVASCRIPT TYPE="text/javascript" >

<!--


// Function, called by Java applets, to set a specified form param's value.
function _CF_setFormParam( strFormName, strParamName, strParamValue )
     {
          var strObjName = "document." + strFormName + "." + strParamName;
          var obj = eval( strObjName );
          obj.value = strParamValue;
          return true;
     }


function  _CF_checktestForm(_CF_this)

    {

    return true;

    }


//-->

</script>


The code to call the applet looks like this:

<!--- Load and run the custom, Java form control. --->
<OBJECT
  CLASSID="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
  CODEBASE="/CFIDE/classes/cf-j2re-win.cab"
  STANDBY="First use of this control. Configuring browser. Please wait..."
  WIDTH="200"
  HEIGHT="320"
  ALIGN="LEFT"
>
    <PARAM NAME="CODE" VALUE="allaire.controls2.CFTreeApplet.class">
    <PARAM NAME="ARCHIVE" VALUE="/CFIDE/classes/CFJava2.jar">
    <PARAM NAME="MAYSCRIPT" VALUE="true">
    <PARAM NAME="APPENDKEY" VALUE="yes">
    <PARAM NAME="BORDER" VALUE="yes">
    <PARAM NAME="HSCROLL" VALUE="yes">
    <PARAM NAME="ROOT" VALUE="no">
    <PARAM NAME="SEPARATOR" VALUE="yes">
    <PARAM NAME="SHOWLINKS" VALUE="yes">
    <PARAM NAME="TREEITEMS" VALUE="%2D1%01test">
    <PARAM NAME="VSCROLL" VALUE="yes">
    <PARAM NAME="_CF_FORM_NAME" VALUE="testForm">
    <PARAM NAME="_CF_PARAM_NAME" VALUE="__CFTREE__testForm__test">
    <B>Custom control could not be displayed because this browser does not suppport Java2.</B><BR>
</OBJECT>

I have tested this in a static HTML page and it renders correctly, but I am running CF 5.0 so you may find that your code works slightly differently.

Spike
0
 

Author Comment

by:da2121
ID: 6160198
Thank you, Spike

I spent quite some time on this issue and tried several things; finally I tried to copy the whole classes-folder with all classes into the website and this helped.
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10659143
No comment has been added lately, so it's time to clean up this question.
I will leave the following recommendation in the Cleanup topic area:

Accept Spike's comment as the answer

Please leave any comments here within the next four days.

mrichmon
EE Cleanup Volunteer
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question