how to set codeUrl when publishing a project

kwiyi woo kwiyiwoo at
Wed Jun 23 16:20:23 UTC 2004


I want to publish my project on-line on my own webserver. It was written in Squeak programming language. I did a simple test, but it failed. 


The whole c1.html is as follows



<title>Squeak Plugin Launcher</title>

<base href=""> 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


<body bgcolor="#FFFFFF">

<object id="SqueakOCX Control" width="752 height="450 




        <param name="src" value="http://localhost/~Qinyi/c1.sts">

        <param name="codeUrl" value="http://localhost/~Qinyi/">

        <param name="projectUrl" value="http://localhost/~Qinyi/">

        <param name="pageId" value="43">

        <param name="locked" value="false">

        <param name="types" value="text-survey">

        <param name="pluginspage" value="">




I put the project starting command in the file c1.sts and set the value of src to it.

-----------------------   c1.sts --------------------------------

| c1 |

c1 _ C1 new.


I filed out the project resource in and set the value of codeUrl to it.

-----------------------  --------------------------------


Morph subclass: #C1

       instanceVariableNames: ''

       classVariableNames: ''

       poolDictionaries: ''

       category: 'Test'!


!C1 methodsFor: 'initialization' stamp: 'w 6/23/2004 11:45'!


| r |

       r _ RectangleMorph new.

       r openInWorld.! !



Finally, I save the project as and set the value of projectUrl to it. 

But when I browsed c1.html through IE, it said that

MessageNotUnderstood: new


The problem is that the squeakplug in cannot find the definition of C1 defined in codeUrl. Is there anyone who can help me figure out the right configuration to it?




Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Squeak-dev mailing list