help
Hi, I am working on XWiki. Presently the search tool for searching in attachment contents is case sensitive .If I want to make it case insensitive, what changes I have to make in its code. Here is the code for attachment content search in xwiki. 1.1 Search in attachment file content #set($sql= , XWikiAttachment attach, XWikiAttachmentContent as attachc where doc.id = attach.docId and attach.id = attachc.id and attachc.content like '%$text%' ) #foreach ( $item in $xwiki.searchDocuments($sql , $nb , $start)) #if ($xwiki.hasAccessLevel(view, $context.user, ${context.database}:${item})) #set($bentrydoc = $xwiki.getDocument($item)) * [$bentrydoc.name${bentrydoc.web}.$bentrydoc.name] by $xwiki.getLocalUserName($bentrydoc.author) on $xwiki.formatDate($bentrydoc.date, $formatDate) #end #end Thanks, Anuj
Re: help
Anuj Anuj wrote: I am working on XWiki. Presently the search tool for searching in attachment contents is case sensitive .If I want to make it case insensitive, what changes I have to make in its code. This is a question better asked on the Velocity-User list, not the developer list. If you have a question about implementation, or a possible bug to report, this is the right place. It is not the right place for questions about how to /use/ Velocity. The mailing list you want is [EMAIL PROTECTED] Thanks, -chris signature.asc Description: OpenPGP digital signature
Re: minor Velocity User Guide error
That's kind of a strange omission! Thanks for pointing it out. Will On 8/24/07, Sasha Force [EMAIL PROTECTED] wrote: Hello, Noticed a minor error in the User Guide (or an omission in the VTL Reference). From the User Guide: Velocity has logical AND, OR and NOT operators as well. For further information, please see the VTL Reference Guidehttp://velocity.apache.org/engine/devel/vtl-reference-guide.html Trouble is, logical operators are not covered in the VTL Reference :). Want to emphasize, though, that other than that I've found the documentation very clear and very helpful. Cheers, Sasha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Forio Business Simulations Will Glass-Husain [EMAIL PROTECTED] www.forio.com
[jira] Created: (VELOCITY-563) VTL reference missing logical operators
VTL reference missing logical operators --- Key: VELOCITY-563 URL: https://issues.apache.org/jira/browse/VELOCITY-563 Project: Velocity Issue Type: Bug Components: Documentation Affects Versions: 1.5 Reporter: Will Glass-Husain Priority: Minor Fix For: 1.6 -- Forwarded message -- From: Sasha Force [EMAIL PROTECTED] Date: Aug 24, 2007 7:08 AM Subject: minor Velocity User Guide error To: dev@velocity.apache.org Hello, Noticed a minor error in the User Guide (or an omission in the VTL Reference). From the User Guide: Velocity has logical AND, OR and NOT operators as well. For further information, please see the VTL Reference Guide Trouble is, logical operators are not covered in the VTL Reference :). Want to emphasize, though, that other than that I've found the documentation very clear and very helpful. Cheers, Sasha -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]