> -----Original Message----- > From: Angela Schreiber [mailto:[EMAIL PROTECTED] > Sent: Thursday, 7 February 2008 8:24 PM > To: [email protected] > Subject: Re: properties in collections; nailed the bastard > > hi roland > > thanks for the great summary in the post before. > > Roland Porath wrote: > > Seems I found the issue; > > cool. > > > Jackrabbit persists the properties just fine; it was just the export > handler > > (DirListingExportHandler) that has a hardcoded list of properties to be > > exported. > > > Got a hack now that works and will write a new handler class that is > > suitable for Webdav users and send it to this mailing list. > > if you want to contribute that, feel free to attach it > to an issue... (i will create one).
Will do. > > the actually issue is from my point of view: > DirListingExportHandler should not implement PropertyHandler > at all. it's only use is to display a nice HTML page in case > the collection is requested using GET. > It should not deal with PROPFIND at all... That sounds like a good idea and it explains a number of things in that class. The current DirListingExportHandler has a large section devoted to handling properties which should be it's own class (WebDAVCollectionPropertyExportHandler seems like a nice and descriptive name) Is that what you mean? I assume that also means taking the DirListingExportHandler out of the <propertymanager> in config.xml and replacing it with the WebDAVCollectionPropertyExportHandler > > I'm going to fix that. > > > Where is a good place to document things like this? > > I would state limitations in the JavaDoc and in the resource > configuration... but maybe other would look for that in the > Wiki? Don't know. I'll put it in the WebDAV section of the wiki. Seems like the natural habitat for that kind of information. > > > There might be more > > people out there who fall into that trap. Well at least I hope I'm not > the > > only one. Would make me feel a bit stupid. > > oh no! No worries. I'm used to it. > please keep finding issues and writing your > experiences to the list. > > angela > > > !DSPAM:47aacdf655271608511473!
