[opencms-dev] hit.getExceprt() returns "null"
Mario Jäger
m.jaeger at alkacon.com
Thu Dec 17 09:31:47 CET 2009
Hi Christoph,
Please, check if these PDF-files are password protected.
--
Kind Regards,
Mario.
-------------------
Mario Jäger
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
Christoph P. Kukulies schrieb:
> I'm wondering why some searches return "null" from getExcerpt().
>
> I have this code snippet:
>
> <p>
> <a href="<cms:link><%=cms.getRequestContext().removeSiteRoot(hit.getPath()) %></cms:link>">
> <%= cms.getRequestContext().removeSiteRoot(hit.getPath())%></a><br/>
>
> <%= hit.getExcerpt() %><br/>
> </p>
>
> On some PDF-files the excerpt text is empty (null is shown). How come?
>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>
>
> _______________________________________________
> 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
>
More information about the opencms-dev
mailing list