简体   繁体   中英

What is VHTML? How it works? Where can I find information about it?

The code below continues many lines until it ends with a expected /veotherwise /vechoose. I started working on a development firm a little ago where they use this html version called vhtml. I have search the web but it brings different definitions for vhtml. I have seen some posts in Joomla about vhtml but they don't look like the code below. I was expecting to get a pointer on how to understand the language.

It looks very similar to normal html with even very similar commands, or maybe smalltalk. But I just can decipher it. Any help will be appreciated. Please post comments if you want more information.

<vechoose>
  <vewhen criteria='isPortalEdit'>
    widget: practices-landing-page
  </vewhen>
  <veotherwise>
    <veinclude src='private/webportal/webtemplate-content.vhtml'>
      <vesection name='content-body'>

        <% // Determine portlet visibility %>
        <vecalc expression='isEmpty = false' output='none' />

        <vechoose>
          <vewhen criteria='isEmpty'>
            <veif criteria='portlet.ifEmptyDo == "Hide"'>
              <script>getTag( 'portlet_<%=portlet.order%>' ).style.display = "none";</script>
            </veif>
            <veif criteria='portlet.ifEmptyDo == "Show Message"'>
              <%#portlet.ifEmptyMessage%>
            </veif>
          </vewhen>
...

Managed to find this: http://vitrage.sibweb.ru/english/ Looks like it could be an Apache Module called VITRAGE. Not much available in English however so am really unsure if it's a match.

On reading the code sample you posted, it looks like a XML styled procedural language. Are you sure it's available elsewhere or perhaps something that was developed internally?

I think this is an internal language between to bring server side aspect to a display on the browser. I have been unable to find documentation on this language, and I don't think Vitrage explains it. The server uses coyote as web browser, tomcat as a servlet handler and java as the backend.

Any new information please post.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM