Thank you Jasha. This is exactly what I needed. Enrico
On Fri, Mar 26, 2010 at 12:40 PM, Jasha Joachimsthal <j.joachimst...@onehippo.com> wrote: > On 26/03/2010, Enrico Cervato <e.cerv...@sourcesense.com> wrote: >> Hi everybody, >> >> After performing a DASL query I am able to retrieve the lucene >> properties associated to the documents with some code like the >> following: >> >> <c:forEach var="document" items="${docs.documents}"> >> >> ${document.metadata.propertyValue.authorisatie['http://hippo.nl/cms/1.0']} >> </c:forEach> >> >> I wonder if it is possible to retrieve the lucene properties >> associated to a document using an hst tag. What I would really like to >> do is something like the following: >> >> <hippo:content documentPath="binaries/mydocuments/mydocument.xml" >> partName="authorisatie"/> >> >> This way I could decide in the jsp what documents I am interested in >> and retrieve the lucene properties for those ... is that possible? The >> hippo:content works great with fields contained in the xml of the >> documents, but if I am interested in a lucene property, what can I do >> to extract it? >> >> Thank you very much, >> >> -- >> Enrico Cervato - 0031 (0)615293346 >> Open Source Software Engineer >> Sourcesense - making sense of Open Source: http://www.sourcesense.com >> ******************************************** >> Hippocms-dev: Hippo CMS 6 development public mailinglist >> >> Searchable archives can be found at: >> MarkMail: http://hippocms-dev.markmail.org >> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html >> >> > > yes it's very simple. ${repository.fetchMetadata[path]} (or > fetchContent if you want the xml content. > -- > Jasha Joachimsthal > > j.joachimst...@onehippo.com - ja...@apache.org > > www.onehippo.com > Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 > San Francisco - Hippo USA Inc. 185 H Street, suite B, Petaluma CA > 94952 +1 (707) 7734646 > ******************************************** > Hippocms-dev: Hippo CMS 6 development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > -- Enrico Cervato - 0031 (0)615293346 Open Source Software Engineer Sourcesense - making sense of Open Source: http://www.sourcesense.com ******************************************** Hippocms-dev: Hippo CMS 6 development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html