Patches item #891917, was opened at 2004-02-06 17:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=304866&aid=891917&group_id=4866

Category: WebKit
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Christoph Zwerschke (cito)
Assigned to: Nobody/Anonymous (nobody)
Summary: No cascading extensions for directory files

Initial Comment:
Here is a suggestion for improvement of the function 
findDirectoryIndex in the Application.py module.

The problem is that this function ignores cascading 
extensions.

For instance, if you have a configuration like this one:
'DirectoryFile': ['index','main'],
'UseCascadingExtensions': 1,
'ExtensionCascadeOrder':['.py','.html'],

Webware 0.8.1 will output an error if you have an 
index.html and an index.py file.

I assume this has simply been forgotten when 
cascading extensions were introduced and I have added 
the functionality in the findDirectoryIndex function (see 
attachment).

Of course, DirectoryFile has precedence over 
ExtensionCascadeOrder. So in the above 
case, 'index.html' would be prefered over 'main.py'.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=304866&aid=891917&group_id=4866


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to