Commit Graph
86 Commits
Author SHA1 Message Date
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
Jacques Le Roux b057011c26 No functional change, reverts r1781366
I did not even notice I committed this bunch of WIP stuff. I guess I clicked 
somewhere while my machine was too buzy

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1781367 13f79535-47bb-0310-9956-ffa450edef68
2017-02-02 10:54:06 +00:00
Jacques Le Roux e130654d28 No functional change, this was reverted in r1781367
I did not even notice I committed this bunch of WIP stuff. I guess I clicked 
somewhere while my machine was too buzy



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1781366 13f79535-47bb-0310-9956-ffa450edef68
2017-02-02 10:33:59 +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 1337db5cb2 Improvement: Minilang code readability and consistency improvements.
(OFBIZ-8926) (OFBIZ-8927)

Thanks: Ankush Upadhyay for the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768235 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 16:11:36 +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
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
Divesh Dutta 85ce444748 Improvement: Minilang code readibility and conistency improvements
(OFBIZ-8445) (OFBIZ-8447) (OFBIZ-8448) (OFBIZ-8450) ( OFBIZ-8451) (OFBIZ-8653) (OFBIZ-8740) (OFBIZ-8741) (OFBIZ-8742) (OFBIZ-8743)

Thanks: Devanshu Vyas, Anuj Jain, Sega Patidar, Abhijeet Ashapure for your patches

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768209 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 12:41:35 +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
Deepak Dixit 9f279ed58b (OFBIZ-7043) Remove commented code labeled as "TO BE REMOVED" since 2008.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742503 13f79535-47bb-0310-9956-ffa450edef68
2016-05-06 06:48:38 +00:00
Deepak Dixit 84ad66589e (OFBIZ-7021) Renamed content component ftl file name from lower case to upper case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742457 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 18:11:54 +00:00
Deepak Dixit cee0263cef (OFBIZ-6815) relocate .ftl files in the content component
Thanks Pierre for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740446 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 06:12:08 +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
Adrian Crum 888b7c08cc Fix for rev 1649090. In that rev I removed the hard-coded Content default entity, but that broke trees that didn't specify Content as their default entity. This commit specifies the Content entity in the Content tree definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1649222 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 17:30:50 +00:00
Jacques Le Roux ef9582c387 A patch from Pierre Smits for "User with update permission can't access screens in content application" https://issues.apache.org/jira/browse/OFBIZ-5676
When a user has security permission 'CONTENTMGR_UPDATE' he should be able to access various screens in the content application, but he can't.

This applies to screens associated to menu-items:
Content
DataSource
Content Setup
DataResource Setup
Template
CMS

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609885 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 07:13:49 +00:00
Jacques Le Roux b81b183404 A patch from Rong Nguyen amended by Nicolas Malin for "Approvals function doesn't work for first time" https://issues.apache.org/jira/browse/OFBIZ-5555
Scenario:
1. Go to content webapp
2. Go to CompDoc
3. Find all record
4. Edit any record
5. Click Approvals tab

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1581997 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 18:38:25 +00:00
Jacques Le Roux bd6c3c7dad A slightly modified patch from Rong Nguyen for "Render multiMenu problem when linktype="hidden-form"" https://issues.apache.org/jira/browse/OFBIZ-5557
Scenario:
1. Go to Content webapp
2. Go to CompDoc menuitem
3. Search
4. Go to 'Tree' view
5. We can not use 'Up' and 'Down' function

When menu with linktype="hidden-form" was render for each menu, they has the same name for form element, so it cause error.
My solution is add extra attribute(extra-index) for Menu, and then in menu definition we provide this attribute and the forms with different name will be rendered.
My implement was tested in this bug for Content webapp

jleroux: I have simply amended the up and down labels to have them more legible. I'd have preferred to not have all uppercased, but ran out of time for such a trivial change


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576891 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 20:37:56 +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
Jacques Le Roux fda988d301 Closes "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693) - OFBIZ-3693
This commit removes all remaining <presentation="window">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Jacques Le Roux 62976e36fb We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
It's not related to previous patches committed but an issue which is remaining and we have to face now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Erwan de Ferrieres fb5493bbaf Badly formed from-field values (mis-matched curly braces) OFBIZ-3631 (https://issues.apache.org/jira/browse/OFBIZ-3631)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930202 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:21:53 +00:00
Bruno Busco 11c1256111 Added a "create" class to the buttontext for buttons that represents "Create New" operations.
This allows themes to style these buttons with additional "+" icons or whatever.
The idea is to add a "functional" class wherever needed so that the button-bar can be styled better by the theme.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899899 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 08:19:35 +00:00
Bruno Busco c30c24b95c Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826269 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:11:32 +00:00
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux c1e68e9eda A patch from Divesh Dutta "Some errors and bugs coming on console" https://issues.apache.org/jira/browse/OFBIZ-2280
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 11:48:42 +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
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Jacques Le Roux 1387b36824 Securing URLs : last non regular formattings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762097 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 14:46:47 +00:00
Jacques Le Roux 9fe85c7878 Securing URLs, link element in screens and menus : 32th set + tabs to 4 spaces
Begin to end with non regular formattings

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762010 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 21:06:20 +00:00
Jacques Le Roux 76352e305a Securing URLs, link element in screens and menus : 24th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761238 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 10:27:18 +00:00
Jacques Le Roux 5eb19ca370 Securing URLs, link element in screens and menus : 17th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760990 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 18:13:18 +00:00
Jacques Le Roux ca876f93ce Securing URLs, link element in screens and menus : 11th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760789 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 06:16:07 +00:00
Jacques Le Roux 2ae583d0a1 Securing URLs, link element in screens and menus : 10th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760787 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 05:50:07 +00:00
Jacques Le Roux d3a9f8bf04 Fix bugs from previous commits
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760711 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 22:56:21 +00:00
Jacques Le Roux b1a100f172 Securing URLs, link element in screens and menus : 8th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760684 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 22:23:40 +00:00
Jacques Le Roux 96144462be Securing URLs, link element in screens and menus : 7th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760609 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 20:53:06 +00:00
Jacques Le Roux 247d8436ea Securing URLs, link element in screens and menus : 5th set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760588 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 20:26:18 +00:00
Jacques Le Roux 85de0c1d3a Securing URLs, link element in screens and menus : 3rd set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760586 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 20:20:29 +00:00
Jacques Le Roux 47fe522fae Securing URLs, link element in screens and menus : 2st set + content label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760581 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 20:06:09 +00:00
Jacques Le Roux 0f8961511e Here we go again : securing URLs, link element in screens and menus : 1st set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760577 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 19:53:29 +00:00