Re: SimpleWebDoc question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: SimpleWebDoc question

laurent laffont
Hi Marco,

I've put the working image here: http://lolgzs.free.fr/pharo/simplewebdoc.zip

Note it uses Pharo pre-1.0 and Seaside 2.8.

The nice url http://localhost:8080/Collections is handled by SWDocView>>initialRequest:

I don't know if it works with Seaside 3. I haven't looked back at SimpleWebDoc for more than one year, and I've written it to learn so it's hacky.

No problem to post future questions, but I think that posting on pharo-users list is even better (I read it).

And thanks to look at this project.

Cheers,

Laurent.


On Sun, Feb 27, 2011 at 6:13 PM, Marco A. Gonzalez <[hidden email]> wrote:
Laurent,

First, thank you for your postings on Smalltalk. I've been bitten by the smalltalk bug and am trying to convert from Java to smalltalk, and your postings have helped. So... I guess I'm still a newbie... asking for help...

So... I found that you mentioned SimpleWebDoc (http://www.squeaksource.com/SimpleWebDoc.html) in a posting http://forum.world.st/Pharo-Sources-Google-Hit-Ratio-td3318289.html but it didn't seem appropriate to post there a "newbie" message regarding how to get SimpleWebDoc to work so please excuse me for writing directly to you.

I loaded SimpleWebDoc into my Pharo 1.1 image via Monticello, but when I point my browser to http://localhost:8080/view-doc and click on a package name, say "Collections" which links to http://localhost:8080/Collections, I get the following error:
/Collections not found  
which I assume is because Seaside doesn't have a "Collections" entry in the config. So, I don't know what I don't know in order to get it working how I assume you expected it to work. Would you give me some direction? 

Finally, please let me know where I might post future questions like this one so that others can learn from my questions and your answers.

Thanks again for your contributions,

- Marco A

------------------------------------------------------
Marco A. Gonzalez, President
Amagavi, Inc.
Developer of database-driven web sites

email on iPhone: [hidden email]
cell: 202-222-5137