At 09:37 AM 8/23/01 -0500, Love, Jay wrote: >They should always be available explicitly through a pathVariable() accssor >method. The value() method is meant to provide simple one stop shopping for >your client variable needs. It just goes through the dictionaries, looking >for the requested key, and once it finds it, it bails and returns the first >value it finds. So the question there is, what order should the >dictionaries be searched in? > >One answer is to provide a way to change this dynamically. Perhaps maintain >a list of dicts to search, and the user can change the ordering of the dicts >in the list. As someone mentioned, you can always implement your own values() method in your SitePage -- the one in HTTPRequest is just a convenience. So I think we should just pick something reasonable. I believe that GET and POST variables already get mixed together in Webware CVS. At least that's what it looks like from reading the source. Maybe those should be split apart. But I'm inclined to just do this for now: - add HTTPRequest.pathVariable(), HTTPRequest.hasPathVariable(), and HTTPRequest.pathVariables(). - have HTTPRequest.value() and .hasValue() search in path variables if not found in fields or cookies. - leave POST and GET variables mixed together in fields for now. -- - Geoff Talvola [EMAIL PROTECTED] _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/webware-devel
