Yar3k wrote:
> I have a strange problem with creating new context:
>
> 1) I added my context to Application.config as follows:
>
> 'Contexts': {
> 'Admin': '%(WebKitPath)s/Admin',
> 'Examples': '%(WebKitPath)s/Examples',
> 'Testing': '%(WebKitPath)s/Testing',
> 'MyContext': '%(WebKitPath)s/MyContext',
> 'default': '%(WebKitPath)s/Examples',
> },
>
> 2) After reloading webkit, http://localhost/WK/Admin/Config shows my
> context as follows:
>
> Contexts {'Admin': 'C:\\opt\\Webware\\WebKit/Admin',
> 'default': 'C:\\opt\\Webware\\WebKit/Examples',
> 'Testing': 'C:\\opt\\Webware\\WebKit/Testing',
> 'Examples': 'C:\\opt\\Webware\\WebKit/Examples',
> 'MyContext': 'C:\\opt\\Webware\\WebKit/MyContext'}
>
> 3) The problem is, left panel of http://localhost/WK/ DOES NOT AGREE
> with those settings!
>
> Contexts
> Admin
> Examples
> MKBrowser
> PSPExamples
> Testing
>
> Where is no MyContext. Why? Admin panel shows it in config. Of
> course, I tried to execute http://localhost/WK/MyContext but *without
> result*. It seems, my context really was not set up. What I am doing
> wrong?
>
> My configuration:
> Athlon XP 2800+, 512DDR
> WindowsXP Pro PL with latest patches
> WebKit 0.8.1
> Webware 0.8.1
> Python 2.2.3
Do you have an __init__.py in the MyContext directory?
- Geoff
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss