Commit Graph
38 Commits
Author SHA1 Message Date
Jacques Le Roux ec2b84341e Reverted: "Improved: Hyperlink target-type attribute is deprecated and should be replaced by url-mode (OFBIZ-12091)"
This reverts commit 17eb2e4cf7.

It does not work when using <<target="javascript:........>>
I could change those cases but it's easier and safer to simply revert back to
target-type!

Thanks: James for report
2020-12-18 11:08:32 +01:00
Jacques Le Roux 17eb2e4cf7 Improved: Hyperlink target-type attribute is deprecated and should be replaced by url-mode (OFBIZ-12091)
Same for sub-hyperlink
2020-12-11 16:52:04 +01:00
Michael Brohl 595e012bbf Improved: Standardise Layout throughout Applications.
(OFBIZ-10242)

This contains the improvements for the content manager.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827074 13f79535-47bb-0310-9956-ffa450edef68
2018-03-17 11:37:40 +00:00
Jacques Le Roux 8cdb6010a1 Fixed: Fix references where Mime type is displayed in HTML encoded pattern
(OFBIZ-9644)

I found various instances where the mimeTypeId is displayed in HTML 
encoded pattern over UI.

jleroux: this also removes 2 duplicated fields in AddLayout form

Thanks: Ankit Joshi

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806951 13f79535-47bb-0310-9956-ffa450edef68
2017-09-01 12:49:04 +00:00
Jacques Le Roux 83d0294118 Reverts revision: 1806947, changes in UserEvents.xml inadvertently slipped in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806948 13f79535-47bb-0310-9956-ffa450edef68
2017-09-01 12:42:11 +00:00
Jacques Le Roux 7be7ad6179 Fixed: Fix references where Mime type is displayed in HTML encoded pattern
(OFBIZ-9644)

I found various instances where the mimeTypeId is displayed in HTML 
encoded pattern over UI.

jleroux: this also removes 2 duplicated fields in AddLayout form

Thanks: Ankit Joshi

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806947 13f79535-47bb-0310-9956-ffa450edef68
2017-09-01 12:38:47 +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
Jacques Le Roux 99171d0afa Fixed: MimeType displayed in HTML encoded pattern
(OFBIZ-9621)

Steps to Regenerate –
1) Go to Content/DataResourceSetup and select File Ext tab.
2) Create or Update File ext with Mime Types available in the drop-down.
Result: File Ext created or updated with selected Mime Type but Mime Type 
displayed in HTML Encoded pattern. 

This issue also exists on Create DataResource page.

jleroux: checking with trunk demo I did not find it on "Create DataResource page" 
(content/control/EditDataResource) nor in the Search options) of 
"Find Data Resource" (content/control/findDataResource) 
But in the list of this find page and also in Navigate for template 
(content/control/navigateDataResource)
Anyway the patch fixed all the cases I found. 

I think there are more cases like that but I can't remember where.

Thanks: Ankit Joshi


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806036 13f79535-47bb-0310-9956-ffa450edef68
2017-08-24 12:57:40 +00:00
Divesh Dutta 738a12bec1 Improvement: Miniland code readability and consistency improvements
(OFBIZ-8744) (OFBIZ-8745) (OFBIZ-8746) (OFBIZ-8748) (OFBIZ-8829) (OFBIZ-8830) (OFBIZ-8907) (OFBIZ-8908) (OFBIZ-8924) (OFBIZ-8925) 

Thanks: Ankush Upadhyay , Sega patidar , Abhijeet Ashapure for your patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768219 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:14:04 +00:00
Pranay Pandey 236f00469a Improved: Content: Aligned column titles in list forms.
(OFBIZ-8272)

Thanks: Aditi Patidar for reporting and providing the patch.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761197 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:13:24 +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
Deepak Dixit 25b56a03ea (OFBIZ-7223) Relocate .groovy files in the content component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747756 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 17:21:10 +00:00
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +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
Jacques Le Roux 720578ecf3 Replaces all remaining title="${uiLabelMap.CommonEmptyHeader}" by title=" ", and specific case in ListPartyCommEvents
This closes the CommonEmptyHeader chapter

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Jacques Le Roux 9ee7384202 Adrian suggested to removes all widget-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340385 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:32:48 +00:00
Jacques Le Roux 3369dca046 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Hans Bakker 80fc19704c more forms files which were emptied with the recent renaming attempt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160971 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 03:34:18 +00:00
Vikas Mayur 153203cd03 Moved form widgets from webapp to widget folder. Contribution from Deepak Dixit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160233 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 12:14:25 +00:00
Vikas Mayur a9372fbb65 Reverted r1160209 & r1160213 as the files aren't moved correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160226 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 12:03:21 +00:00
Vikas Mayur d6f433a5e1 Moved form widgets from webapp to widget folder. Contribution from Deepak Dixit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160209 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:30:31 +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 1e39c7bd92 Part of OFBIZ-3067 - Menus and form widget files location
Content component
Moved menus from webapp to widget folder


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828872 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:18: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 bf65b1ad7a Converted some content bsh scripts to groovy (Part of issue OFBIZ-1801)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667666 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 22:02:46 +00:00
Ashish Vijaywargiya 670dbfeff3 Patch from JIRA issue # https://issues.apache.org/jira/browse/OFBIZ-1839.
Container to Screenlet conversion is done on Content component.

Thanks Awdesh Singh Parihar for your patch.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667013 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 09:34:05 +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 3c764b0f22 CMS/Content Setup/Data Setup/Layout/CompDoc/Data Resouces forms (ftl/widgets screen) has now the same look and feel (Part of issue OFBIZ-1601)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@617713 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 23:56:39 +00:00
Hans Bakker 42edfa1908 add paging to the content dataresource setup screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@612380 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 07:58:26 +00:00
Jacopo Cappellato 7ed37eb27d A bunch of i18n and i10n improvements by Marco Risaliti: OFBIZ-1062 and OFBIZ-1057
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545461 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 09:06:47 +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
Andrew Zeneski 5f079c05b7 Big content rendering refactor; condensed methods used for rendering content into one, flagged to cache or not. This will make maintaining this much easier. Implemented new streaming event which will send all type of files not just images (deprecating the img event); added mime-type templates to remove the hard coded templates in DataResourceWorker; now supports additional types besides image/*; updated all code using the old methods; however left them in place (deprecated) until we are sure no BSH files use these old methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513985 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 22:03:48 +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 669220064e Fixed content permission errors: OFBIZ-526
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484960 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 10:04:29 +00:00
Jacopo Cappellato 0b47f77b57 One more content screen converted to widgets.
Now there are just 10 remaining JPublish screens (all in the layout/template menu)... I've tried to work on them but I'm giving up since they seem too broken/incomplete/dirty and I'm too ignorant about them to try to understand how they work from the source code:
maybe someone out there that knows better than me that pages (and their statsus) could help with this, at least with a few suggestions.
It would be really great to finalize this effort because these JPublish pages are the LAST 10 ones that we have in OFBiz.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472420 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:11:41 +00:00
Jacopo Cappellato 9b7499c943 A few screens converted from JPublish to Widget.
However the user interface of the content component is a real mess and the conversion/clanups of the whole component is going to be a big, complex and time consuming task.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471222 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 15:58:29 +00:00