opencms

O2OA教程-业务开发与设计-门户管理与应用包装

廉价感情. 提交于 2020-02-27 11:17:30
通过简单的拖拉设计组件方便的搭建企业门户、二级门户以及需要展示内容的页面。 一、表单设计 各面板介绍,组件面板、内容区块、dom树、样式,事件等。 各种设计组件的使用。 表单导出、表单导入,dom复制黏贴等 二、部件设计 部件相当于一个子页面,部件中元素的和页面中元素用法一致。您可以在门户有页面中插入部件或者部件内的元素。 创建部件 新建部件 选择容器元素创建 从页面/部件中,选择容器元素(Div),创建部件,容器内的元素是作为新部件的元素保存 部件的使用 插入部件 可以在页面中插入部件,如果当前页面在设计PC端,那么插入的是部件的PC模式内容;如果当前页面在设计Mobile端,那么插入的是部件的Mobile模式内容。 1、计算部件 如果使用计算部件,可以通过条件计算来插入部件。如: if ( this . page . get ( "type" ). getData () == "yes" ){ return "部件1" ; //需返回部件名称或部件ID } else { return "部件2" ; } 2、参数 可以在页面的部件属性中传参数给部件。可以通过固定值或者是脚本传参。 参数脚本 return { //如果使用脚本,需要返回参数对象 "par1" : "参数值1" , "par2" : "参数值2" } 在 部件中可以通过· this.page

How to get rid in opencms of the CmsVfsResourceNotFoundException when listing WebDAV '__properties' folders?

百般思念 提交于 2020-01-17 04:10:10
问题 With the standard OpenCms WebDAV config, you can get a CmsVfsResourceNotFoundException error when accessing resources via WebDAV. This is very annoying, because whenever you list the content of any __properties folder, OpenCms dumps 36 stacktrace loglines per file in that folder! If you scan your WebDAV dirs often during debugging (see note 1), these logs makes your life harder. (Of course, you could change the log level to something higher than INFO , but for me that's not acceptable.) The

Is Joomla good for social networking site? Un-biased pros and cons on Joomla [closed]

℡╲_俬逩灬. 提交于 2020-01-02 07:02:56
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . We have used Joomla as an out-of-box CMS for our company website. Now we got a requirement from customer to create a travel

Is Joomla good for social networking site? Un-biased pros and cons on Joomla [closed]

与世无争的帅哥 提交于 2020-01-02 07:01:13
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . We have used Joomla as an out-of-box CMS for our company website. Now we got a requirement from customer to create a travel

Programmatically convert a video to FLV [closed]

南楼画角 提交于 2019-12-29 14:18:14
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . i am currently working on a web application that needs to accept video uploaded by users in any format (.avi, .mov, etc.) and convert them to flv for playing in a flash-based player. Since the site is OpenCms

Integration of Java application with OpenCms

眉间皱痕 提交于 2019-12-29 05:36:27
问题 I want to know how to integrate a Java web application with OpenCms contents. Is it possible to integrate a Java application with OpenCms? 回答1: Yes, it's possible. For example you can integrate SpringMVC or Struts into OpenCms, or other tools like JForum, an open source java forum, which also supports single-sign-on (SSO). You can find information here & a small sample OpenCms+Spring integration project: http://www.opencms-wiki.org/wiki/Integration_HOWTOs Since OpenCms is open source and

OpenCMS学习笔记

可紊 提交于 2019-12-22 04:41:23
2019/12/21 在Linux下安装OpenCMS提示警告信息如下: 在 tomcat/bin/catalina.sh 的 第一行#!/bin/sh 下添加 JAVA_OPTS="-server -Xms512m -Xmx1024m -XX:MaxNewSize=512m -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.awt.headless=true" 仍然报这个警告信息。忽略这个问题,可以继续安装。 不安装Demo将会登录到workspace。登录路径是/system/login 从一台电脑移植到另一台电脑可以用导出、导入模块的方法。在workspace能看到导入成功,但是,网站不能正常显示。 数据库的导入、导出与模块导入、导出有什么区别? 要导入模块和数据库吗? 怎样把opencms从一个服务器迁移到另一个服务器! 首先从数据库中导出opencms的数据(包括表结构),然后在要迁移的服务器上新建一个数据库,把opencms得数据导入。这时把opencms在tomcat下的项目复制到现在的服务器,修改opencms项目下WEB-INF\config下的opencms.properties,把数据库连接和用户名密码改成你现在的,之后再修改opencms-system.xml中的url,如果有远程的url,修改成localhost

Migrating a website from OpenCms to LIferay

橙三吉。 提交于 2019-12-12 01:44:18
问题 A website is currently in OpenCms which needs to be migrated to Liferay framework as is. There is a concept of JSP templates in OpenCms. Is it possible to replicate the concept of jsp templates which is present in OpenCms into themes/layouts in liferay? OpenCms templates use cms tags like <cms: /> How will it be possible for me to transfer this entire website from OpenCms into Liferay? I have googled a lot regarding this but I did not get any answer for this. Help will be appreciated. EDIT:

How to acces a file under WEB-INF from a Java web application

强颜欢笑 提交于 2019-12-11 07:04:57
问题 Do you have any idea how to access files in WEB-INF/index folder from my application? I'm using OpenCMS for my application and I want to open a Lucene search index (with the help of Lucene IndexReader class) located at WEB-INF/index folder. Lucene jar is stored in WEB-INF/lib folder. 回答1: If you want to lookup a file on the RFS (real file system) under the WEB-INF folder, you can get the path via: String filepath = pageContext.getServletContext().getRealPath("/") + "WEB-INF" + java.io.File

How to find an analyzed term with a fuzzy (approximate) search in Lucene-3x?

泪湿孤枕 提交于 2019-12-11 01:58:43
问题 The query ' laser~ ' doesn't find ' laser '. I'm using Lucene's GermanAnalyzer to store documents in the index. I save two documents with "title" fields "laser" and "labor" respectively. Afterwards I perform a fuzzy query laser~ . Lucene only finds the document that contains "labor". What is the Lucene-3x way to implement such searches? By taking a look at the Lucene source code, I guess that fuzzy searches are not designed to work with "analyzed" content, but I'm not sure whether this is the