(OFBIZ-9232)
Refactoring various list forms into grids
Refactoring various list form references in screen widgets
This was reverted and is now back with bugs fixed
Thanks: Pierre Smits
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787185 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9232)
I found 2 errors I did not spot earlier
<grid name="ListAgreements"
uses type="list"
<grid name="ListPaymentGroupMember"
does not end with </grid
I prefer to revert because the grid concept is questionned by Taher. No need to
complicate later if we ever revert it all
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786986 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-8045)
Change all form names to upper camel case for consistency.
Thanks: Tanmay Muley for reporting and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761077 13f79535-47bb-0310-9956-ffa450edef68
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749488 13f79535-47bb-0310-9956-ffa450edef68
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@1526387 13f79535-47bb-0310-9956-ffa450edef68
Also added possibility for passing additional condition to search query. This can be seen in party lookup screens, used to filter disabled parties.
Specifying return field is not required any more - the first field from search fields is used as return field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897412 13f79535-47bb-0310-9956-ffa450edef68
1) Added Lookup for "Gl Reconciliation Id"
2) Added Lookup for "Organization Party Id"
3) Added check to show ReconciledBalance only when GlReconciliation balance is "GLREC_RECONCILED"
4) Added field glAccountId in search criteria .
5) On screen "ViewGlReconciliationWithTransaction" Reconciliation Menu bar should come selected .
Thanks Awdesh for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884402 13f79535-47bb-0310-9956-ffa450edef68
Following things are covered in this patch:
1) at ListPaymentGroupMember form, make paymentId non editable (it is primary key).
2) at AddPaymentGroupMember form, provide a lookup to paymentId.
3) at AddPaymentGroupMember form, add fromDate field.
4) Provide a lookup LookupPaymentGroupMember, so that it can be used if require.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792951 13f79535-47bb-0310-9956-ffa450edef68
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
Following things are covered in this patch :-
1) Create CRUD services for AgreementWorkEffortAppl. This should go in Accounting Component.
2) Create CRUD UI for AgreementWorkEffortAppl in Accounting --> Agreement to Add/Edit/Delete an AgreementWorkEffortAppl for an agreementId.
3) Create another CRUD UI in WorkEffort --> WorkEffort to Add/Edit/Delete an AgreementWorkEffortAppl for a workEffortId.
4) Create Lookups for Agreement and AgreementItems.
Thanks Nitin Bhawsar,Ravindra Mandre for working on this.
Special thanks to Jacopo and Mridul for your helpful comments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663966 13f79535-47bb-0310-9956-ffa450edef68
The ecommerce component is excluded from this commit.
These changes shouldn't break any layout. If you spot something wrong, let me know and I'll fix it.
I won't make any more maincss.css changes for a little while. I'll let the dust settle from these two commits, then I'll go through the file and physically remove the deprecated styles.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627051 13f79535-47bb-0310-9956-ffa450edef68
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68