It says to modify some of the examples to get feet wet, but I don't even know what the link is between a URL and what code is invoked. Guidance, please.
Look in Webware\WebKit\Configs\Application.conf
There is a section like:
Contexts': {
'Admin': '%(WebKitPath)s/Admin',
'Examples': '%(WebKitPath)s/Examples',
'Docs': '%(WebKitPath)s/Docs',
'Testing': '%(WebKitPath)s/Testing',
'default': '%(WebKitPath)s/Examples', ##MAWD

This shows the mapping to of a context to a url.
So if I load http://localhost/WebwareApapterYouPicked.cgi/Examples/
The system will read the file from Wevware\Webkit\Examples

The default file is controlled by
DirectoryFile': ['index', 'Index','main','Main'],

in the same file.
(It will look for index.py, Index.py, main.py and then Main.py)

Once you play with this use webware/bin/MakeAppWorkDir to create a working directory for your app.
The app should be loaded w/ the script in that new directory and you should use the conf files located there.

You can also view the tutorial at http://webware.metrony.com/tutorials/calPopUp.html
but you need to use Cheetah (which you should be using anyway) and I just noticed that the tutorial assumes Cheetah is installed. (http://cheetahtemplate.sourceforge.net/)

-Aaron





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to