You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2015/05/28 09:58:55 UTC

svn commit: r1682160 - in /ofbiz/trunk/specialpurpose/projectmgr: data/ProjectMgrSystemPropertyData.xml ofbiz-component.xml

Author: jleroux
Date: Thu May 28 07:58:55 2015
New Revision: 1682160

URL: http://svn.apache.org/r1682160
Log:
A patch from Pierre Smits "Improve configuration options for Search/Find screens in project mgr." https://issues.apache.org/jira/browse/OFBIZ-6162 part of "Improve configurability of OFBiz regarding multi-tenancy" https://issues.apache.org/jira/browse/OFBIZ-6164

In a multi-tenant setup configuration of the number of rows returned as well as the show the result on accessing a search find screens in project mgr needs to be configurable per tenant.


Added:
    ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSystemPropertyData.xml   (with props)
Modified:
    ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml

Added: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSystemPropertyData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSystemPropertyData.xml?rev=1682160&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSystemPropertyData.xml (added)
+++ ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSystemPropertyData.xml Thu May 28 07:58:55 2015
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<entity-engine-xml>
+    <!-- Search/Find configuration data  -->
+    <SystemProperty systemResourceId="projectmgr" systemPropertyId="widget.defaultNoConditionFind" systemPropertyValue="Y" description="No conditions find behaviour for the FindTimeSheet screen"/>
+    <SystemProperty systemResourceId="projectmgr" systemPropertyId="widget.form.defaultViewSize" systemPropertyValue="25" description="Default number of items to be displayed per page in a list form within the projectmgr app"/>
+    
+</entity-engine-xml>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSystemPropertyData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSystemPropertyData.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/projectmgr/data/ProjectMgrSystemPropertyData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml?rev=1682160&r1=1682159&r2=1682160&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/ofbiz-component.xml Thu May 28 07:58:55 2015
@@ -32,6 +32,9 @@ under the License.
     <entity-resource type="data" reader-name="seed" loader="main" location="data/ProjectMgrSecurityPermissionSeedData.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/ProjectMgrSecurityGroupDemoData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/ProjectMgrPortletData.xml"/>
+    
+    <entity-resource type="data" reader-name="seed-initial" loader="main" location="data/ProjectMgrSystemPropertyData.xml"/>
+    
     <entity-resource type="data" reader-name="demo" loader="main" location="data/ProjectMgrDemoData.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/ProjectMgrDemoPasswordData.xml"/>
     <entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/>