[opencms-dev] nullpointer exception while using contentload on empty folder
Corsin Camichel
cocaman at gmail.com
Tue Feb 21 17:17:51 CET 2006
Simple: put a try { } catch (npe) { } arount it
Long: haven't found anything yet :)
On 2/21/06, René Machel <rene.machel at unitb.de> wrote:
>
> hi list,
>
> how can i check if there is xmlContent in my current folder without
> OpenCms throwing a nullpointer exception if there is nothing to load (no
> teaser in that folder) ?
> my contentload jsp file looks like this:
>
> <cms:contentload collector="allInFolderDateReleasedDesc"
> param="${opencms.folder}teaser_${number}|teaser" editable="true">
> do somethin
> </cms:contentload>
>
>
> thx in advance
>
> rené
>
>
> _______________________________________________
> 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
>
--
Corsin Camichel
cocaman at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060221/8bbb30a7/attachment.htm>
More information about the opencms-dev
mailing list