Files
ofbiz-plugins/scrum
Jacques Le Roux fa44ffd18d Fixes "Overview of routings does not paginate" https://issues.apache.org/jira/browse/OFBIZ-5322 and more
Actually it does paginate but the value is not dependent on widget property widget.form.defaultViewSize which default value is 20. It uses a default value of 50 which is defined by

<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="3"/>

You can easily test it using https://localhost:8443/manufacturing/control/FindRouting?VIEW_SIZE=3

This is legacy from pre Apache era. I found 143 cases where a default-value is defined in screens for VIEW_SIZE.

I did not look into details for the 143 cases but I believe most are also legacy.
There are few default values: 10, 20, 30, 50, 500 and even an extreme case of 10000 for InventoryItemTotalsExport!
There is only one comment for LookupBulkAddProducts which is also legacy: <!-- 10 rows seems more appropriate given screen size, etc. -->

I suggest to OOTB replace all those by the widget.form.defaultViewSize value.
Things will then be consistent and easily changeable on a global scale using the widget property.
Or if really needed forcing the default-value as it's done now.

So this would be applied on the 143 cases (I checked, viewSizeDefaultValue does not exist in any screen)

<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
..

How to install the revision of task function.
=============================================

Server requirements
1. subversion

Installation (On server)

1. Install subversion
2. Hook script setting
    2.1 post-commit file is hook script file that will work when users commit source code to subversion repository.
          Copy post-commit file from "scrum/data/hookscripts/post-commit" to hooks folder of repository and then edit file following :
          Example : python /usr/share/subversion/hook-scripts/commit.py "$REPOS" "$REV"
    2.2 commit.py file is python file which will send revision information to Scrum web service.
          Copy commit.py from "scrum/data/hookscripts/commit.py" to "/usr/share/subversion/hook-scripts/" and then edit file following :
          ---------------------------------------------------------------------------------
            CONFIG_PATH = ""    // the path of the revision.properties should begin from home directory.
            Example : CONFIG_PATH = "/home/ofbiz/ofbiz/hot-deploy/scrum/config/revision.properties"
          --------------------------------------------------------------------------------
3. Configure file setting : The original configure file is in scrum component (/scrum/config/revision.properties) you can put it 
          anywhere that you wish but should be set the path of the file in commit.py file ("CONFIG_PATH=").
          Example:
          --------------------------------------------------------------------------------
            revision.url =www.example.com/svn/
            ofbiz.webservice.url =http://www.example.com/webtools/control/SOAPService
            host.name =www.example.com
            host.port =80
            
            #-- subversion admin and password
            svn.user=demoUser
            svn.password=demoPassword
          --------------------------------------------------------------------------------
4. Change the location path of the updateScrumRevision service in .../scrum/servicedef/services.xml file.
          Example:
          --------------------------------------------------------------------------------
          <service name="updateScrumRevision" engine="soap" export="true"
            location="http://www.example.com/webtools/control/SOAPService" invoke="updateScrumRevisionChange">
            <implements service="updateScrumRevisionChange"/>
          </service>
          --------------------------------------------------------------------------------
5. Restart the server.