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.
下面的代码会继续许多行,直到它以预期的/ veotherwise / vechoose结束。我刚开始在一家开发公司工作,他们使用这个名为vhtml的html版本。我在网上搜索,但它为vhtml带来了不同的定义。我在Joomla中看到过一些关于vhtml的帖子,但它们看起来不像下面的代码。我期待得到如何理解语言的指针。
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.
它看起来非常类似于普通的html甚至非常相似的命令,或者可能是smalltalk。但我只能破译它。任何帮助将不胜感激。如果您想了解更多信息,请发表评论。
<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>
...
2 个解决方案
#1
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.
管理找到这个:http://vitrage.sibweb.ru/english/看起来它可能是一个名为VITRAGE的Apache模块。但是英语不多,所以我真的不确定它是否匹配。
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?
在阅读您发布的代码示例时,它看起来像XML样式的过程语言。你确定它可以在其他地方使用,或者也许是内部开发的东西吗?
#2
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.
我认为这是将服务器端方面带到浏览器上的显示器之间的内部语言。我一直无法找到关于这种语言的文档,我不认为Vitrage会解释它。服务器使用coyote作为Web浏览器,tomcat作为servlet处理程序,java作为后端。
Any new information please post.
任何新信息请发布。
#1
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.
管理找到这个:http://vitrage.sibweb.ru/english/看起来它可能是一个名为VITRAGE的Apache模块。但是英语不多,所以我真的不确定它是否匹配。
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?
在阅读您发布的代码示例时,它看起来像XML样式的过程语言。你确定它可以在其他地方使用,或者也许是内部开发的东西吗?
#2
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.
我认为这是将服务器端方面带到浏览器上的显示器之间的内部语言。我一直无法找到关于这种语言的文档,我不认为Vitrage会解释它。服务器使用coyote作为Web浏览器,tomcat作为servlet处理程序,java作为后端。
Any new information please post.
任何新信息请发布。