[opencms-dev] Do not display a module

Le Nouveau opencms at lenouveau.fr
Fri Aug 9 14:46:24 CEST 2013


Hi,

I have a simple module listing displaying a list. But when the list is
empty, I would like the module not to display.
So, is it possible to not display a module ?

1st solution : a big "<c:if />"
Problem : I don't have data early enough.

2nd solution : throwing an Exception
Problem : It's pretty ugly ^^'

3nd solution : <please enter your response>
Problem : none

Thanks for advises !
Have a nice day.
LeNouveau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130809/c1341e3c/attachment.htm>


More information about the opencms-dev mailing list