Hello, On 4/16/08, [Ricardo Rodriguez] Your EPEC Network ICT Team < [email protected]> wrote:
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...
Please, are this summary correct? Thanks!
I think your summary is ok... In fact, I look directly in the code to give you information so if I'm wrong, it means I haven't understand what I read... which happens quite often ;););) Ricardo
-- Ricardo RodrÃguez Your EPEC Network ICT Team
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs