[opencms-dev] Created by in Search result

Christian Steinert christian_steinert at web.de
Wed Aug 2 21:00:33 CEST 2006


You have to read the file yourself.

The search index gives you just some selected information. If you need more infos then you have to read the file/folder from the virtual file system

Take a look at the class CmsResource and the method CmsObject.readResource(...)

christian


> -----Ursprüngliche Nachricht-----
> Von: The OpenCms mailing list <opencms-dev at opencms.org>
> Gesendet: 02.08.06 18:52:51
> An: The OpenCms mailing list <opencms-dev at opencms.org>
> Betreff: Re: [opencms-dev] Created by in Search result


> I've found the PARAM_EXPLORER_FILEUSERCREATED
> public static final java.lang.String Request parameter name for the 
> explorer file user created from 
> org-opencms.workplace.commons.CmsPreferences, but I don't know how to 
> use it:
> 
> 
> |public static final java.lang.String| 	|PARAM_EXPLORER_FILEUSERCREATED 
> <org/opencms/workplace/commons/CmsPreferences.html#PARAM_EXPLORER_FILEUSERCREATED>| 
> 	|"tabexfileusercreated"|
> 
> 
> 
> Thanks!!!
> 
> 
> 
> maria.freixes_graells at alcatel.es wrote:
> > Hey!
> >
> > Nobody knows a method from a class from I could obtain this value 
> > "created by"?
> >
> > Thanks!!
> >
> > maria.freixes_graells at alcatel.es wrote:
> >> Hello people!
> >>
> >> I'm using the *CmsSearchResult *class for view my searches, but I 
> >> would like to view also de "created by"
> >> field for a file, and this class doesn't have this method. Anyone 
> >> knows how can I obtain the "created by" in my result?
> >>
> >> Thanks and best regards,
> >>
> >> Maria
> >>
> >>
> >> _______________________________________________
> >> This mail is sent to you from the opencms-dev mailing list
> >> To change your list options, or to unsubscribe from the list, please 
> >> visit
> >> http://lists.opencms.org/mailman/listinfo/opencms-dev
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please 
> > visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev


_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071




More information about the opencms-dev mailing list