<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thank you Kai,<br>
    <br>
    Yes, That is what I was looking for.<br>
    <br>
    <div class="moz-cite-prefix">On 11/20/2014 11:04 AM, Schliemann, Kai
      wrote:<br>
    </div>
    <blockquote
cite="mid:2d0deae9100d49f7b233b63ec69a828f@DB4PR03MB507.eurprd03.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        color:black;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
p.Default, li.Default, div.Default
        {mso-style-name:Default;
        margin:0cm;
        margin-bottom:.0001pt;
        text-autospace:none;
        font-size:12.0pt;
        font-family:"Arial","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">Hi Babak,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">maybe this helps:<o:p></o:p></span></p>
        <p class="Default"><b><span style="font-size:14.0pt"
              lang="EN-US">8.2 Accessing OpenCms functionality via the
              EL
            </span></b><span style="font-size:14.0pt" lang="EN-US"><o:p></o:p></span></p>
        <p class="Default"><span style="font-size:11.0pt" lang="EN-US">OpenCms
            comes with several Java beans to provide access to
            OpenCms-specific functionality in JSPs. In general, if
            required, an object of each bean could be made available
            separately in a JSP. Also several tags of the <cms:>
            taglib initialize and expose objects of such beans (see
            section 8.1).
            <o:p></o:p></span></p>
        <p class="Default"><span style="font-size:11.0pt" lang="EN-US">Since
            OpenCms 9.0.1 the variable
          </span><span style="font-size:11.0pt;font-family:Consolas"
            lang="EN-US">cms </span>
          <span style="font-size:11.0pt" lang="EN-US">is present in the
            page scope for each JSP. It makes an object of type
          </span><span style="font-size:11.0pt;font-family:Consolas"
            lang="EN-US">org.opencms.jsp.util.CmsJspStandardContextBean
          </span><span style="font-size:11.0pt" lang="EN-US">available.
            The object provides a convenient way to access the most
            important OpenCms functions via JSTL/EL. Thus, in most cases
            no bean at all has to be included and initialized manually,
            and also formerly required use of scriptlet code becomes
            obsolete. <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">The
            standard context bean has a very rich interface. In
            particular, access to several other Java beans shipped with
            OpenCms is granted. A complete overview of the functionality
            exposed via the standard context bean can be looked up in
            the JavaDoc of the current OpenCms version. Look up the
            documentation of the class
          </span><span style="font-size:11.0pt;font-family:Consolas"
            lang="EN-US">CmsJspStandardContextBean</span><span
            style="font-size:11.0pt" lang="EN-US">. Starting there, you
            can easily explore the interfaces of all other beans
            accessible via the standard context bean as well. Aware of
            the naming conventions for Java Beans, you obtain an
            overview of the properties available in EL.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">Taken from the documentation pdf shipped with
            OpenCms 9.0.1.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">If you need it, let me know.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">Best regards<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">Kai<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>
                [<a class="moz-txt-link-freetext" href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a>]
                <b>Im Auftrag von </b>Babak<br>
                <b>Gesendet:</b> Donnerstag, 20. November 2014 17:56<br>
                <b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
                <b>Betreff:</b> Re: [opencms-dev] Java Expression
                Language EL Question<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">And with doing
          a bit more research found that
          <a moz-do-not-send="true"
            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 moz-do-not-send="true"
            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>
          <o:p></o:p></p>
        <div>
          <p class="MsoNormal">On 11/20/2014 2:23 AM, Babak wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal" style="margin-bottom:12.0pt">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"
              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>
            <o:p></o:p></p>
          <div>
            <p class="MsoNormal">On 11/19/2014 8:00 PM, Babak wrote:<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal" style="margin-bottom:12.0pt">I am
              trying to understand how ${cms.element.id}is being
              translated in below source code.
              <br>
              <br>
              <a moz-do-not-send="true"
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"
                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>
              <o:p></o:p></p>
          </blockquote>
          <p class="MsoNormal"><br>
            <br>
            <br>
            <br>
            <o:p></o:p></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>This mail is sent to you from the opencms-dev mailing list<o:p></o:p></pre>
          <pre>To change your list options, or to unsubscribe from the list, please visit<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
        </blockquote>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <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>