XWiki Lucene plugin search result and getObject()
22 Aug
2007
22 Aug
'07
7:07 a.m.
Hi, In the XWiki application I developed, I am using Lucene plugin for search. Once the search result comes I am getting the document as follows: #set($myDoc = $xwiki.getDocument($item.name)) When I print $myDoc it prints "com.xpn.xwiki.api.Document@1f16eab". So I assume I am getting the document all right. Now I want to get the Object of the document so that I can display the properties of that document. But the following code doesn't work. #set($myObj = $myDoc.getObject("xxxx.xxxxClass")) $myObj doesn't contain the object after the above code is executed. Any idea what's the problem? Any help is much appreciated, - CP Mishra
6946
Age (days ago)
6946
Last active (days ago)
0 comments
1 participants
participants (1)
-
chandraprakash mishra