This would not work because the current space would always be 'XWiki'. You would need to pass a param to the WebSearch page to give the current space.. That would mean modifying the link to WebSearch by adding ?space=$doc.web (The current space is the 'web' field in a document) Ludovic Stephen Schaub wrote:
I would like to modify the search form in the default Toolbar to include a checkbox "Search this space only." I think I can figure out how to do this if someone could provide the Velocity code to obtain the name of the current space.
Any suggestions would be appreciated!
Stephen
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic