Files
ofbiz-plugins/ecommerce
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 use Janrain Engage Social Login.
======================================

1.Get API Key from http://www.janrain.com/products/engage/social-login.
2.Configure file setting : ecommerce.properties you can put it 
          Example:
          --------------------------------------------------------------------------------
            # -- Enable janrain engage (Y/ N) default N
            janrain.enabled=N
            
            # -- Janrain api key (secret)
            janrain.apiKey=exampleKey
            
            # -- Janrain application domain
            janrain.baseUrl=https://example.rpxnow.com
            
            # -- Janrain application name
            janrain.appName=exampleAppName
          --------------------------------------------------------------------------------
3.Restart the server.


How to test Janrain Engage Social Login.
=======================================

1. Go to Login screen.
2. Look the Social Login Widget and you can use these existing accounts to sign-in to your website.
3. First time if account does not exists then system will create new account.
4. After account existing in the system you can use "Social Login Widget" to login account.

===================================================================================================