Excellent. Thank you very much.

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Jerome Velociter
Sent: Friday, February 06, 2009 1:38 PM
To: XWiki Developers
Subject: Re: [xwiki-devs] listing pages with a keyword in their title

Hi,

With something like this :

#foreach($pageName in $xwiki.searchDocuments("where doc.title like
'%Class_%'"))
* [$pageName]
#end

Hope this helps,
Jerome.

WILSON Scott wrote:
> Hi,
>  
> I need to create a page that lists all of the pages in the wiki with a

> keyword in its title.
>  
> For example: List all pages with the phrase 'Class_' in the title.
> It is important it is only the title that is searched - the body of 
> the pages may contain lots of mentions of 'Class_' but we don't want 
> those returned
>  
> I found threads that almost answer this but none that get me 100% of 
> the way so... How do I do this?
>  
> Many thanks,
> Scott
>
> ____
>
> This message and any files transmitted with it are legally privileged
and intended for the sole use of the individual(s) or entity to whom
they are addressed. If you are not the intended recipient, please notify
the sender by reply and delete the message and any attachments from your
system. Any unauthorised use or disclosure of the content of this
message is strictly prohibited and may be unlawful.
>
> Nothing in this e-mail message amounts to a contractual or legal
commitment on the part of EUROCONTROL, unless it is confirmed by
appropriately signed hard copy.
>
> Any views expressed in this message are those of the sender.
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs
____

This message and any files transmitted with it are legally privileged and 
intended for the sole use of the individual(s) or entity to whom they are 
addressed. If you are not the intended recipient, please notify the sender by 
reply and delete the message and any attachments from your system. Any 
unauthorised use or disclosure of the content of this message is strictly 
prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on 
the part of EUROCONTROL, unless it is confirmed by appropriately signed hard 
copy.

Any views expressed in this message are those of the sender.

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to