Solved

cfTree Issue

Posted on 2001-06-05
4
258 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

751 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