Allow me to correct myself: Page.serverSidePath() is available, it's just not available as self.request().Page.serverSidePath()
Eric On 15:48 Fri 12 Nov , Eric Radman wrote: > > At is stands right now the Webware WSGI application is missing the > serverSidePath() function, which is used many times in WebKit, and in > one of my sites. When I search for the function definition this is what > I get: > > # grep "def serverSidePath" * > AppServer.py: def serverSidePath(self, path=None): > Application.py: def serverSidePath(self, path=None): > Application.py: def serverSidePathForRequest(self, request, debug=0): > HTTPRequest.py: def serverSidePath(self, path=None): > PlugIn.py: def serverSidePath(self, path=None): > Servlet.py: def serverSidePath(self, path=None): > > 1. Why is this function redefined so many times? > > 2. Why do we need this function when os.path.abspath() can be used > anywhere to get the full path for file operations? > > -- > Eric Radman | http://eradman.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss