<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
And with doing a bit more research found that <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</a>
is mapped to /WEB-INF/opencms.tld in web.xml<br>
<br>
<jsp-config><br>
<taglib><br>
<taglib-uri><a class="moz-txt-link-freetext" href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</a></taglib-uri><br>
<taglib-location>/WEB-INF/opencms.tld</taglib-location><br>
</taglib><br>
</jsp-config><br>
<br>
<br>
So CMsJspLoader is going to load taglib.cms from
/WEB-INF/opencms.tld<br>
but still can't track cms.element in tag library file.<br>
does CMsJspLoader actually instantiate cms object when it loads it ?<br>
<br>
even I don't know how ${cms.locale} is being translated.<br>
<br>
Thanks for help.<br>
<br>
Babak<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/20/2014 2:23 AM, Babak wrote:<br>
</div>
<blockquote cite="mid:546DA50E.10804@wjug.ca" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
So I did a bit of research and found that all usable taglibs are
defined in the <b>/WEB-INF/config/opencms-vfs.xml<br>
<br>
</b> <loader class="org.opencms.loader.CmsJspLoader"><br>
<param name="taglib.cms"><a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</a></param><br>
<br>
but still can't figure how to translate ${cms.element.id} or
${cms.element.settings.boxschema}<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/19/2014 8:00 PM, Babak wrote:<br>
</div>
<blockquote cite="mid:546D4B4A.5040203@wjug.ca" type="cite">I am
trying to understand how ${cms.element.id}is being translated in
below source code. <br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/alkacon/vie-related/blob/master/resources/detail.jsp">https://github.com/alkacon/vie-related/blob/master/resources/detail.jsp</a>
<br>
<br>
I mean, where at source code I should look to find the result of
${cms.element.id}? <br>
<br>
I know EL and I know cms is an object but in most of the codes I
don't see any cms object <br>
being instantiated, and it only being used in code. <br>
<br>
Does cms object being instantiated implicitly ? <br>
from which class and how do I find the result of <div
class="box ${cms.element.settings.boxschema}"> <br>
<br>
<br>
Thanks <br>
Babak <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 moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>