Thanks!

Pascal Voitot wrote:
>
> this is because in the Todo tutorial, it uses $xwiki.searchDocument which
> already brings one part of the HQL request...
> so what you write is the end of the request that's why you put "," at the
> beginning:)
>
> but in my sample, this is pure HQL so no problem of this kind!

Great. It is clearer for me now. Sorry if I am quite slow understanding 
things, but I would like to get this issue "absolutely" clear :-)

1. By using $xwiki.searchDocument, the first part of the HQL sentence 
comes given by the method itself.

2. By using $xwiki.search, it will accept any HQL or XPath sentences as 
parameter.

I found this clearly documented in...

http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki%2Dcore%2D1.3.2%2Djavadoc.zip/index.html

Please, are this summary correct? Thanks!


Ricardo



-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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

Reply via email to