[opencms-dev] Serach fields - urgent

M Butcher mbutcher at grcomputing.net
Mon Apr 19 21:13:02 CEST 2004


These fields (Title, Description) are hard-coded. Look at the 
BodylessDocument class to see what I mean. Adding different fields would 
be trivial.

Matt

Vinod Kumar wrote:
> Hi,
>  
> How can I add more fields to a document returned from a search.?
>  
> I have added a field "role"  through property management to a page .
> Now I want to retrieve the values stored in this field  in the document 
> returned from search.
> How can I do that ?
> doc.get("title") gives me the title of the page . but
>  
> doc.get("role") produces null
>  
> Please Help. This is very urgent
>  
> Thanks
> Rk
> 
> ------------------------------------------------------------------------
> Tired of spam? Get advanced junk mail protection 
> <http://g.msn.com/8HMBEN/2734??PS=> with MSN 
> 8._______________________________________________ This mail is send to 
> you from the opencms-dev mailing list To change your list options, or to 
> unsubscribe from the list, please visit 
> http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list