Commit Graph
32 Commits
Author SHA1 Message Date
Jacques Le Roux cfed3d3fd4 Improved: Make Create Menu tab bar for Segment consistent
(OFBIZ-8200)

Adds a create Segment tab bar in the main decorator to maintain the consistency 
throughout the tab bar of Segment.

Thanks: Avnindra Sharma for report and patch, Devanshu Vyas for test

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867690 13f79535-47bb-0310-9956-ffa450edef68
2019-09-29 07:01:15 +00:00
Suraj Khurana 9ca5823a8a Improved: Consistency and Readability improvements for include-menu tag.
(OFBIZ-8972)
Thanks Ankush Upadhyay for reporting and Devanshu Vyas for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1845088 13f79535-47bb-0310-9956-ffa450edef68
2018-10-29 08:29:43 +00:00
Nicolas Malin 40fdd2ca73 Implemented: Continue the common-theme upload (OFBIZ-9138 Create a common theme)
Five step 
#9 Change all set screen and script that call widget.properties values replaced by call to modelTheme

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806150 13f79535-47bb-0310-9956-ffa450edef68
2017-08-25 10:02:34 +00:00
Deepak Dixit d09255c0b7 Reverted: Minilang code readability and consistency improvements done at r#1768222, this commit reversed key and description of drop-down in the code.
(OFBIZ-9114)

Thanks  Wei Zhang for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1772880 13f79535-47bb-0310-9956-ffa450edef68
2016-12-06 12:37:42 +00:00
Divesh Dutta 70eb7ff508 Improvement: Minilang code readability and consistency improvements.
(OFBIZ-8929) (OFBIZ-8930) (OFBIZ-8953) (OFBIZ-8965) (OFBIZ-8972) (OFBIZ-8986) (OFBIZ-8991) 

Thanks: Ankush Upadhyay, Anuj Jain, Abhijeet for your patches. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768222 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:34:00 +00:00
Michael Brohl 1b54f7f212 Improved: Marketing: Consistent form name.
(OFBIZ-8077)

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@1761087 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 21:05:17 +00:00
Jacques Le Roux c8ba932772 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux 89212904bd Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
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
2016-06-21 11:37:47 +00:00
Jacques Le Roux 4931db1ed9 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
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
2016-06-21 11:14:16 +00:00
Jacques Le Roux 53ccd2ceb7 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@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Bruno Busco f051693f1a Added proper styles to button bars.
Moved TabBar Menu from the "body" decorator-section to the "pre-body" decorator section.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925624 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:08:03 +00:00
Bruno Busco eb5ec98a7d Marketing component
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
This makes better the rendering of themes such as Dropping Crumbs.

Removed several redundant <section><widget> tags also

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883776 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 16:44:59 +00:00
Bruno Busco 044bd5a92c Part of OFBIZ-3067 - Menus and form widget files location
Marketing component
Moved forms and menus from webapp to widget folder
Removed empty folders



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829365 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 13:40:11 +00:00
Bruno Busco c2f42ae10e Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826472 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:37:00 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \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
2009-04-08 10:54:51 +00:00
Marco Risaliti 80f390b7c3 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 21:08:21 +00:00
Marco Risaliti b1e2d247af Artifact cleaning on marketing component after recent changes on xsd files (OFBIZ-2137)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739656 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 23:56:33 +00:00
Marco Risaliti b999a6e2c8 Some cleaning into Marketing component and some missing italian translations (Part of OFBIZ-1780)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733943 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 22:36:38 +00:00
Ashish Vijaywargiya 44f910b1b6 Patch from Parimal Gain for Marketing Component, part of JIRA issue https://issues.apache.org/jira/browse/OFBIZ-1839.Also improved the Id name.
Based on comments of Adrain.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671192 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 14:34:53 +00:00
Ashish Vijaywargiya e50a848d64 Applied patch from JIRA issue https://issues.apache.org/jira/browse/OFBIZ-1839.
Container  tag to Screenlet conversion is done in this patch.

Thanks Parimal Gain for your patch.
Special thanks to Ratnesh Upadhyay for helping Parimal.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667012 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 09:26:02 +00:00
Vikas Mayur e76571321f Patch from Pranay Pandey for Menu Item highlight fix for Marketing component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660156 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 10:29:33 +00:00
Adrian Crum 68c1dbbaf9 Second sweep through the maincss.css style sheet. Changed the head1, head2, and head3 style names to h1, h2, and h3. Updated affected styles in ftl and xml files.
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
2008-02-12 19:30:09 +00:00
Marco Risaliti 97bce9030c Replace all the head4 style to head3 style.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618302 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 15:12:07 +00:00
Marco Risaliti 309bb5fd07 Segment/Tracking Code/Report forms (ftl/widgets screen) has now the same look and feel (Part of issue OFBIZ-1588)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@614356 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 22:18:56 +00:00
Jacopo Cappellato 5e52cef6f9 Fixed menu selection.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586367 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 10:26:20 +00:00
Scott Gray 98e9701549 Fixed OFBIZ-1053 reported by Jacopo - In the Marketing application, menus are not highlighted correctly when the screen is selected.
I also changed the Segment Group menu from ftl to widgets

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543863 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 09:09:57 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacopo Cappellato 330a0d13d3 Applied patch from Chris Howe to extend support for parametric mainDecoratorLocation to all the screens.
OFBIZ-803

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516675 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 10:11:50 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
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
2007-01-24 17:15:54 +00:00
Jacopo Cappellato 6514683412 Conversion from MIT to ASL2.0 for all the files of the marketing component.
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422379 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 05:50:40 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00