Simple: put a try { } catch (npe) { } arount it<br><br>Long: haven't found anything yet :)<br><br><div><span class="gmail_quote">On 2/21/06, <b class="gmail_sendername">René Machel</b> <<a href="mailto:rene.machel@unitb.de">
rene.machel@unitb.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi list,<br><br>how can i check if there is xmlContent in my current folder without
<br>OpenCms throwing a nullpointer exception if there is nothing to load (no<br>teaser in that folder) ?<br>my contentload jsp file looks like this:<br><br><cms:contentload collector="allInFolderDateReleasedDesc"
<br>param="${opencms.folder}teaser_${number}|teaser" editable="true"><br> do somethin<br></cms:contentload><br><br><br>thx in advance<br><br>rené<br><br><br>_______________________________________________
<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Corsin Camichel<br><a href="mailto:cocaman@gmail.com">cocaman@gmail.com</a>