Commit Graph
21879 Commits
Author SHA1 Message Date
Jacques Le Roux 9aa97b692c A slightly modified patch from Anil Soni "In Content Manager's CMS sub-module CMSContentFind page doesn't show the content list." (https://issues.apache.org/jira/browse/OFBIZ-2746) - OFBIZ-2746
This modified patch solves the find issue but not the create. I have simply kept 
if (dataResourceId) {
instead of 
if (!dataResourceId) {
in CmsEditAddPrep.groovy
because it's an obvious error (NPE the line after else). But it does not solve another error.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060546 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 19:46:11 +00:00
Marco Risaliti 029c8e0f35 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060536 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 18:54:55 +00:00
Jacques Le Roux 59a6ad1b7d Revert r1060229 for now (see https://issues.apache.org/jira/browse/OFBIZ-4119)
Thanks Adrian for the reminder


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060417 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 15:32:17 +00:00
Jacques Le Roux 7ebf2fb35b A patch from Sascha "Small issues in Content/CMS " (https://issues.apache.org/jira/browse/OFBIZ-4111) - OFBIZ-4111
Martin Kreidenweis fixed some issues in Content/ CMS (see https://demo-trunk.ofbiz.apache.org/content/control/WebSiteCms?webSiteId=CmsSite)

So now it works, but he simultaneoulsy signaled some points.
    * He used regular form submit instead of ajax for new content for now, thus:
          o ajaxSubmitForm() can't handle new content, it won't reload the form because it doesn't know the new contentId
            + some controller changes would probably be necessary to make that work (return new contentId as JSON)
          o nav tree is not updated with ajax submit currently

Sascha:I think there is no need to rewrite all the create content methods to return a JSON Object, we can simply use the initial select function from the js tree.
When i now create a new long/short text and do a "real" form submit the tree notice the new contentId from the parameters and select the corresponding tree node.

JLR: I agree with Sascha, it works well


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060377 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 13:51:10 +00:00
Jacques Le Roux ee0b81a549 Fix a bunch of issues reported by Paul Foxworthy in OFBIZ-4114
* For calcHeaderAdj as it's not a service but a private method we should not use return ServiceUtil.returnError here but BigDecimal.ZERO (return was missing Paul reported)
* Same for createInvoiceTerms but not return as it returns void
* Fix all other cases by adding return as suggested by Paul



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060368 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 13:41:15 +00:00
Jacques Le Roux e36993624f Remove duplicates line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060351 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 12:43:50 +00:00
Jacques Le Roux dc18a3824e Fix an issue reported by Paul Foxworthy in OFBIZ-4114
As it's not a service but a public method we should not use return ServiceUtil.returnError here but return null (return was missing Paul reported)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060261 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 09:18:19 +00:00
Jacques Le Roux dffdff9daa A patch from Arun Patidar "Some misc issues in ebay component." (https://issues.apache.org/jira/browse/OFBIZ-4118) - OFBIZ-4118
JS is blocking during Export Product to ebay from ebay component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060236 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 08:28:58 +00:00
Jacques Le Roux 09029298c4 A patch from Ankit Jain "The id attribute is not set in the <a> tag." (https://issues.apache.org/jira/browse/OFBIZ-4119) - OFBIZ-4119
By adding id attribute in the <a> tag then its helpful for developers to perform action on it using js or css. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060229 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 08:00:37 +00:00
Jacques Le Roux c7dd042c71 A patch from Ankit Jain "Duplicate view map entry in controller." (https://issues.apache.org/jira/browse/OFBIZ-4122) - OFBIZ-4122
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060220 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 07:29:56 +00:00
Adrian Crum 4c01ad9512 Moved new layout demo page to Webtools component. After thinking about it, Webtools seemed to be a more logical place to put it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060219 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 07:25:06 +00:00
Adrian Crum 93c983d147 Fixed style on Party view profile button bar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060147 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 00:20:11 +00:00
Adrian Crum cfef6fcee8 Some more Flat Grey style fixes/improvements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060146 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 00:18:19 +00:00
Marco Risaliti 8c800bd4d7 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060096 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 21:24:47 +00:00
Marco Risaliti 141fef9aed Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060092 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 21:07:06 +00:00
Marco Risaliti 239211806d Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060087 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 20:42:02 +00:00
Marco Risaliti 27dafb9e75 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060070 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 20:10:56 +00:00
Adrian Crum 134846ee66 Added "required" style to layout demo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059935 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 14:42:45 +00:00
Adrian Crum 7b8d0d1487 Improved hr style for Flat Grey theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059924 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 13:43:05 +00:00
Jacques Le Roux fa9697b615 Themes French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059844 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 10:22:37 +00:00
Hans Bakker 6c2167ab00 improve some more perfreview forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059778 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 07:50:23 +00:00
Hans Bakker 4805f78664 improve the perfreview list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059761 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 06:39:34 +00:00
Hans Bakker 8d96a191fb fieldname error in HR type data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059760 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 06:27:21 +00:00
Hans Bakker ad62f8a616 redirect error in update perfReview
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059757 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 05:56:34 +00:00
Hans Bakker e478604103 more enhancements to performance review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059755 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 05:41:54 +00:00
Adrian Crum 687fd48046 More focus style fixups for the updated Flat Grey visual theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059684 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 21:31:49 +00:00
Adrian Crum 477ce7bfa9 Some small fixups for the updated Flat Grey visual theme:
1. Fixed "required" style
2. Improved focus style


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059679 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 21:19:10 +00:00
Marco Risaliti 0d3351b9ee Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059668 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 21:05:02 +00:00
Marco Risaliti 019f328557 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059662 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 20:54:20 +00:00
Marco Risaliti 80c7d141b8 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059659 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 20:51:22 +00:00
Marco Risaliti d97f862b68 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059654 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 20:31:09 +00:00
Marco Risaliti 234a9b37ba Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059643 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 19:29:13 +00:00
Marco Risaliti 36f8021333 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059632 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 18:50:53 +00:00
Marco Risaliti 3250702b0e Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059618 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 17:25:00 +00:00
Adrian Crum e1e10c6c3b Fixed some bugs in Flat Grey RTL layout.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059597 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 16:05:40 +00:00
Hans Bakker 7b554bf873 change the view size in peformanc reviw to a bit more reasonable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059574 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 14:38:17 +00:00
Marco Risaliti 4b4f972813 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059573 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 14:36:43 +00:00
Adrian Crum 8dac73e8db Updated Flat Grey visual theme. Design contributed by Ryan Foster - https://issues.apache.org/jira/browse/OFBIZ-4092 with bug fixes and minor design changes by me.
I reorganized the main style sheet and pushed the deprecated styles down to the bottom. I also moved the jQuery styles to a separate file.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059564 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 14:12:46 +00:00
Hans Bakker 63b9ad9b44 some more improvements to the peformance review item list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059556 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 13:39:29 +00:00
Marco Risaliti e7ff46ac25 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059541 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 11:57:05 +00:00
Marco Risaliti 3c977e455b Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059538 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 11:34:10 +00:00
Marco Risaliti 263bc76b31 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
Please advice if you see some issues, I have tested but it could be some errors due to the migration.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059536 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 11:23:59 +00:00
Marco Risaliti dc90fc119b A missing translation of production run report, better italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059535 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 11:18:05 +00:00
Bilgin Ismet Ibryam 9904b2b1a9 Allow calling simple method in form actions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059529 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 10:47:31 +00:00
Hans Bakker f275958aaf add some meaningfull table data for the review item and change the order of the fields in a more meaningfull way
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059520 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 09:22:07 +00:00
Adrian Crum b22caf0d18 Small fixup for previous commit - "test page" sounds less technical than "test jig."
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059437 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 02:51:20 +00:00
Adrian Crum fd2b63c3d8 Fixed a bug in HtmlMenuRenderer.java - menu item widget-style attribute was being ignored.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059433 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 02:18:43 +00:00
Adrian Crum 805555b0f1 New feature - Page Layout Best Practices demonstration and visual theme test jig.
Based on a recent dev mailing list discussion, I added a page to the Example component that demonstrates some basic layout concepts. The idea is to display the page, then look at the screen widget definition and the HTML markup to see how the page is constructed.

The page can also be used for visual theme development - because most of the common UI elements are all on one page.

This could be improved - it needs a multi-column layout example, a tree widget example, and a form widget field group example.

Internationalization note: This commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059429 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 01:14:21 +00:00
Adrian Crum 78682e55ee Parameterize form widget odd-row-style, header-row-style, and default-table-style attributes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059425 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 00:10:25 +00:00
Adrian Crum 8254c6930a Fix capitalization on CommonSelected UI label.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059424 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 00:08:21 +00:00