Liferay 6.2 改造系列之十四:修改组织的表单内容

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

#
# Input a list of sections that will be included as part of the organization
# form when adding an organization.
#
organizations.form.add.main=details,organization-site
organizations.form.add.identification=
organizations.form.add.miscellaneous=
#
# Input a list of sections that will be included as part of the organization
# form when updating an organization.
#
organizations.form.update.main=details,organization-site,categorization
organizations.form.update.identification=addresses,phone-numbers,additional-email-addresses,websites,services
organizations.form.update.miscellaneous=comments,reminder-queries,custom-fields

修改为:

#
# Input a list of sections that will be included as part of the organization
# form when adding an organization.
#
organizations.form.add.main=details,organization-site
organizations.form.add.identification=
organizations.form.add.miscellaneous=
#
# Input a list of sections that will be included as part of the organization
# form when updating an organization.
#
organizations.form.update.main=details,organization-site,categorization
organizations.form.update.identification=addresses,phone-numbers,additional-email-addresses,websites
organizations.form.update.miscellaneous=

  

 

时间: 2024-12-11 19:26:54

Liferay 6.2 改造系列之十四:修改组织的表单内容的相关文章

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

为简化用户编辑,删除无用内容: 在/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.ide

Liferay 6.2 改造系列之十:修改系统登录相关配置

1.关闭自动登录功能: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Set this to true to allow users to select the "remember me" feature to # automatically login to the portal. # company.security.auto.login=true 修改为: # # Set this to true

Liferay 6.2 改造系列之十六:关闭OpenID模式的单点登录

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Set this to true to enable OpenId authentication. If set to true, then the # property "auto.login.hooks" must contain a reference to the class # com.liferay.portal.security.auth.Ope

Liferay 6.2 改造系列之十九:修改站点设置的表单内容

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will be included as part of the form when # updating a site. # sites.form.update.main=details,categorization,site-url,site-template sites.form.update.seo=si

Liferay 6.2 改造系列之十八:修改登录Portlet配置,去除无用链接

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will be included in login form navigation. # login.form.navigation.pre=anonymous,sign-in,facebook,open-id login.form.navigation.post=create-account,forgot-p

Liferay 6.2 改造系列之十二:修改Portal设置页面表单内容

将Portal设置页面中无用的内容删除: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will be included as part of the company # settings form. # company.settings.form.configuration=general,authentication,users,mail-host-n

Liferay 6.2 改造系列之十五:修改默认可用语言

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Specify the locales that are enabled by default. # locales.enabled=ca_ES,zh_CN,en_US,fi_FI,fr_FR,de_DE,iw_IL,hu_HU,ja_JP,pt_BR,es_ES 修改为: # # Specify the locales that are enabled by defa

Liferay 6.2 改造系列之九:修改用户信息填写规则

为了让用户信息更贴近实际需求,修改如下信息: 1.让登录名可以使用数字.“.”.“_”等 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Set this to true when you want the validation to allow for creation of # numeric screen names. # users.screen.name.allow.numeric=false # # In

Struts(十四):通用标签-form表单

form标签是struts2标签中一个重要标签: 可以生成html标签,使用起来和html的form标签差不多: Strut2的form标签会生成一个table,进行自动布局: 可以对表单提交的值进行回填:从栈顶对象开始配置属性,并把匹配的属性值赋到对应的标签value中,若栈顶对象没有对应的属性,则依次向下栈中找对应的属性. 为什么form标签可以实现填充form表单? 示例:写一个这样的form页面,提交form页面后跳转到自身页面 form-tags.jsp页面: <%@ page lan