Follow up:

Since you indicate:

"those documents contains some checkbox say 'actief'."

I suppose you have the 'actief' value in the xml document. You just need
to add an extractor (HippoSimpleXMLExtractor) with the correct xpath. Do
remember, that changing extractors *after* documents are present, you
need to 'touch' (open and save) documents again to have the extractors
run (or use a webdav batch processor if there are too many documents)

-Ard

> 
> Hello,
> 
> > 
> > Make sure you are also asking for "actief" in the top of 
> the DASL; you 
> > need to request the property for DASL for the "eq"
> > to have something to test. 
> 
> No, this is not necessary. You do not have to select 
> properties you want to use in the where clause. 
> 
> > Also, I am assuming that all the
> > other pieces from dasl to JSP work correct (are you SURE 
> that is all 
> > correct?)
> 
> Are you sure the property is really is really set as a webdav 
> property on the document? This is something else then having 
> the property value somewhere in the xml of the document: in 
> this case, you also need to set a correct extractor.
> 
> Anyway, to be sure, do you have some webdav browser? Can you 
> browse to a document and confirm that there is a property on 
> it which is 'actief'.
> Is it a property in the hippo namespace? If you give me this 
> information, I can help you out. 
> 
> You can mail the xml of a document is you like, and your 
> extractors.xml.
> 
> Let me know,
> 
> Regards Ard
> 
> > 
> > toolman
> > 
> > 
> > On Thu, 2008-05-15 at 16:32 +0200, Irahhoten, Abdeslam wrote:
> > > I have made some documents (with teh same type) in my hippo-cms.
> > > 
> > > those documents contains some checkbox say 'actief'.
> > > 
> > >  
> > > 
> > > I want now to select al elements/documents where that property
> > > (actief) is choosen.
> > > 
> > >  
> > > 
> > > Thus I have edited the following tags to my dasl.query
> > > 
> > >  
> > > 
> > > <d:and>
> > > 
> > >       <d:not-is-collection/>
> > > 
> > >       <d:eq>
> > > 
> > >             <d:prop>
> > > 
> > >                         <h:actief/>
> > > 
> > >             </d:prop>
> > > 
> > >             <d:literal>true</d:literal>
> > > 
> > >       </d:eq>
> > > 
> > >        
> > > 
> > > </d:and>
> > > 
> > >  
> > > 
> > > but where I brouwse to my jsp-page I see a blank page.
> > > 
> > >  
> > > 
> > > NB. in the repository; under the pad 
> > > /default/files/default.preview/content/
> > > 
> > > can I see that the property actief has the value "true" for some 
> > > documents..
> > > 
> > >  
> > > 
> > > Thanks in advance
> > > 
> > > Abdel   
> > > 
> > > 
> > > Disclaimer
> > > 
> > > Dit bericht met eventuele bijlagen is vertrouwelijk en
> > uitsluitend bestemd voor de geadresseerde. Indien u niet de 
> bedoelde 
> > ontvanger bent, wordt u verzocht de afzender te waarschuwen en dit 
> > bericht met eventuele bijlagen direct te verwijderen en/of te 
> > vernietigen. Het is niet toegestaan dit bericht en 
> eventuele bijlagen 
> > te vermenigvuldigen, door te sturen, openbaar te maken, op 
> te slaan of 
> > op andere wijze te gebruiken. Ordina N.V. en/of haar 
> > groepsmaatschappijen accepteren geen verantwoordelijkheid of 
> > aansprakelijkheid voor schade die voortvloeit uit de inhoud 
> en/of de 
> > verzending van dit bericht.
> > > 
> > > This e-mail and any attachments are confidential and are
> > solely intended for the addressee. If you are not the intended 
> > recipient, please notify the sender and delete and/or destroy this 
> > message and any attachments immediately.
> > It is prohibited to copy, to distribute, to disclose or to use this 
> > e-mail and any attachments in any other way. Ordina N.V. and/or its 
> > group companies do not accept any responsibility nor 
> liability for any 
> > damage resulting from the content of and/or the 
> transmission of this 
> > message.
> > > ********************************************
> > > Hippocms-dev: Hippo CMS development public mailinglist
> > > 
> > ********************************************
> > Hippocms-dev: Hippo CMS development public mailinglist
> > 
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
> 
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to