[opencms-dev] "org.opencms.frontend.templateone.modules" tags

Jonathan Woods jonathan.woods at scintillance.com
Fri Apr 20 20:15:57 CEST 2007


<%-- --%> is the standard JSP way of introducing a comment into a page
without it appearing in browser-rendered output; so I imagine in your
example it's a way of making code more readable without line breaks
appearing in the output.  Don't you just love taglibs?  (Not.)
 
Jon
 
  _____  

From: Aaron Wagner [mailto:aaronw at technologist.com] 
Sent: 20 April 2007 15:37
To: The OpenCms mailing list
Subject: [opencms-dev] "org.opencms.frontend.templateone.modules" tags


Does anyone know the significance of the <%-- at the end of each line and
the the --%> at the beginning of the next line.  

Is it need, does it do anything special?

I see it alot in the org.opencms.frontend.templateone.modules jsp pages.

~~~~~~~~~~~~~~~~~~~~~~~~~
--%><cms:contentinfo var="contentInfo" scope="request" /><%--
--%><c:if test="${! contentInfo.emptyResult}"><%--
--%><fmt:setLocale value="${locale}" /><%-- 
--%><fmt:bundle
basename="org/opencms/frontend/templateone/modules/workplace"><%--
~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
Thanx
Aaron N Wagner

To err is human; effective mayhem requires the root password! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070420/a236a35f/attachment.htm>


More information about the opencms-dev mailing list