为简化用户编辑,删除无用内容:

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置:

#
# Input a list of sections that will be included as part of the user form
# when adding a user.
#
users.form.add.main=details,organizations,personal-site
users.form.add.identification=
users.form.add.miscellaneous=
#
# Input a list of sections that will be included as part of the user form
# when updating a user.
#
users.form.update.main=details,password,organizations,sites,user-groups,roles,personal-site,categorization
users.form.update.identification=addresses,phone-numbers,additional-email-addresses,websites,instant-messenger,social-network,sms,open-id
users.form.update.miscellaneous=announcements,display-settings,comments,custom-fields#
# Input a list of sections that will be included as part of the user form
# when updating a user.
#
users.form.update.main=details,password,organizations,sites,user-groups,roles,personal-site,categorization
users.form.update.identification=addresses,phone-numbers,additional-email-addresses,websites,instant-messenger,social-network,sms,open-id
users.form.update.miscellaneous=announcements,display-settings,comments,custom-fields

修改为:

#
# Input a list of sections that will be included as part of the user form
# when adding a user.
#
users.form.add.main=details,organizations,personal-site
users.form.add.identification=
users.form.add.miscellaneous=
#
# Input a list of sections that will be included as part of the user form
# when updating a user.
#
users.form.update.main=details,password,organizations,sites,user-groups,roles,personal-site,categorization
users.form.update.identification=addresses,phone-numbers,additional-email-addresses,websites
users.form.update.miscellaneous=display-settings#
# Input a list of sections that will be included as part of the user form
# when updating a user.
#
users.form.update.main=details,password,organizations,sites,user-groups,roles,personal-site,categorization
users.form.update.identification=addresses,phone-numbers,additional-email-addresses,websites
users.form.update.miscellaneous=display-settings

转载于:https://www.cnblogs.com/luoruiyuan/p/5788584.html

Liferay 6.2 改造系列之十三:修改用户编辑页面表单内容相关推荐

  1. 前端学习(1908)vue之电商管理系统电商系统之渲染修改用户的表单预先验证

    目录结构 router.js import Vue from 'vue' import Router from 'vue-router' import Login from './components ...

  2. 前端学习(1907)vue之电商管理系统电商系统之渲染修改用户的表单的重置操作

    目录结构 router.js import Vue from 'vue' import Router from 'vue-router' import Login from './components ...

  3. 前端学习(1906)vue之电商管理系统电商系统之渲染修改用户的表单

    目录结构 router.js import Vue from 'vue' import Router from 'vue-router' import Login from './components ...

  4. Liferay 6.2 改造系列之三:删除Docbar中的添加内容功能

    在/portal-master/portal-web/docroot/html/portlet/dockbar/add_panel.jsp文件中 将以下内容: if (hasAddContentAnd ...

  5. JavaWeb学习总结(十三)——使用Session防止表单重复提交

    在平时开发中,如果网速比较慢的情况下,用户提交表单后,发现服务器半天都没有响应,那么用户可能会以为是自己没有提交表单,就会再点击提交按钮重复提交表单,我们在开发中必须防止表单重复提交. 一.表单重复提 ...

  6. EasyUI加zTree使用解析 easyui修改操作的表单回显方法 验证框提交表单前验证 datagrid的load方法

    带参提交一次查询,从服务器加载新数据.这是一个神奇的方法 $('#dg').datagrid('load',{code: '01',name: 'name01' }); easyui修改操作的回显方法 ...

  7. WSS页面定制系列(1)--如何启用表单页面的编辑模式

    wss的大多数页面右上角的"站点操作"菜单都有一个编辑网页菜单项,用这个菜单项,可以启用当前页面的设计模式,修改或添加webpart. 但是奇怪的是,所有的表单页面(用来新建,编辑 ...

  8. EasyUI加zTree使用解析 easyui修改操作的表单回显方法 验证框提交表单前验证 datagrid的load方法...

    带参提交一次查询,从服务器加载新数据.这是一个神奇的方法 $('#dg').datagrid('load',{code: '01',name: 'name01' }); easyui修改操作的回显方法 ...

  9. oracle 修改用户信息表,Oracle批量修改用户表table的表空间 | 学步园

    一.修改用户表table的表空间 1.修改用户表table的表空间:alter table 表名 move tablespace 新表空间名; 2.查询所有用户表:select * from user ...

  10. 前端JavaScript DOM BOM 自学复盘 D1(DOM-获取DOM元素、修改HTML标签/表单/css样式属性、定时器-间歇函数)

    内容概要 1. Web API 基本认知 1.1. 作用和分类 1.2. 什么是DOM 1.3. DOM作用 1.4 DOM树 1.4.1. DOM树是什么? 1.4.2. DOM 树的作用 1.5 ...

最新文章

  1. 瑞友虚拟服务器网页登录,瑞友云端虚拟专网系统
  2. (剑指Offer)面试题19:二叉树的镜像
  3. Maven添加Oracle的依赖及驱动
  4. python 百度词典_python在线抓取百度词典的翻译结果翻译单词
  5. how to extend odata service
  6. modernizer的意义
  7. Dreamweaver Flash Photoshop网页设计综合应用 (智云科技) [iso] 1.86G​
  8. HDU-5718 Oracle
  9. Shell脚本编程之(七)Shell脚本的追踪与debug
  10. VIM插件——vimplus安装(centos 7)
  11. 哦?你会视频剪辑?是的。好,录用你!
  12. 显示lib包_Java 添加、删除、移动、隐藏/显示Excel工作表
  13. 有趣的小事——程序员难!
  14. 现汇买入价/现钞买入价/卖出价/基准价/中行折算价的概念
  15. Python学习之查询IP地址
  16. u盘引导不能识别惠普服务器硬盘,如何解决惠普电脑uefi识别不了u盘
  17. C switch 语句
  18. 具象的东西_艺术家宋永红:我喜欢具象的东西
  19. 【《Unity 2018 Shaders and Effects Cookbook》翻译提炼】(九)Physically - Based Rendering
  20. 毕业设计 基于大数据住房数据分析与可视化 - python

热门文章

  1. 曲线运动与万有引力公式_粤教版第三章第一节万有引力定律
  2. 【HDU5869】Different GCD Subarray Query(求[L,R]内有多少个不同的区间gcd---树状数组+思维)
  3. 【数位dp】HDOJ2089:不要62( 真· 数位dp入门题目)
  4. mysql如何设置数据库内存溢出_MySQL数据库之关于MySQL的整型数据的内存溢出问题的应对方法...
  5. 翻译: 4.2. 从零开始实现多层感知器MLP pytorch
  6. 极客大学架构师训练营 微服务网关 领域驱动设计 DDD OAuth 2.0 中台架构 第20课 听课总结
  7. android勾选控件_【Android 开发】:UI控件之复选框控件 CheckBox 的使用方法
  8. linux 防火墙 80端口,Linux配置防火墙,开启80端口、3306端口
  9. java 父类获取子类名称_Java入门第十六课:如何用继承的方法定义类
  10. java算术表达式求值-中缀表达式转后缀表达式