[opencms-dev] nullpointer exception while using contentload onempty folder

Jonathan Woods jonathan.woods at scintillance.com
Tue Feb 21 17:18:51 CET 2006


Rene -

The contentcheck tag is meant to help you here.  Documentation at
/alkacon-documentation/documentation_taglib/docu_tag_contentcheck.html (if
you've installed the Alkacon documentation module).

Jon 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of René Machel
Sent: 21 February 2006 16:15
To: opencms-dev at opencms.org
Subject: [opencms-dev] nullpointer exception while using contentload onempty
folder

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





More information about the opencms-dev mailing list