jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From majohnst <m...@lattaoutdoors.com>
Subject Re: OCM stripping file extension of file
Date Wed, 19 Nov 2008 17:33:38 GMT

I answered my own question. I was saving the files in a map:

@Collection
private Map<String, HierarchyNode> files = new
HashMap<String,HierarchyNode>();

In my code, I was passing the wrong value for the map key. Once I changed
the map key to be the filename, like "test.txt", everything worked fine.
-- 
View this message in context: http://www.nabble.com/OCM-stripping-file-extension-of-file-tp20584249p20584847.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message