Commit Graph
1959 Commits
Author SHA1 Message Date
Marco Risaliti 71f4abe621 Remove some java compilation warnings of ContentServices/ContentWorker (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062430 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 14:15:09 +00:00
Marco Risaliti 4012a3c96e Remove some java compilation warnings of DataServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062286 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 22:37:29 +00:00
Marco Risaliti b4e27181f2 Remove some java compilation warnings of UploadContentAndImage (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062277 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 21:31:08 +00:00
Marco Risaliti 28b2697989 Remove some java compilation warnings of LayoutEvents (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062269 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 20:49:16 +00:00
Marco Risaliti 07335eb41f Avoid a null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062264 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 20:40:52 +00:00
Marco Risaliti 8b0ea1f0c8 Avoid a null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062250 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 20:07:24 +00:00
Marco Risaliti 05f0bf2915 Remove some java compilation warnings of ContentServicesComples (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062178 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 15:43:05 +00:00
Marco Risaliti 77c9573f03 Remove java compilation warnings of PermissionRecorder (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062164 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 14:53:40 +00:00
Marco Risaliti 28a951fb7b Remove java compilation warnings of last two old methods of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062146 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 12:46:50 +00:00
Marco Risaliti da4537dd17 Remove java compilation warnings of some old methods of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062141 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 12:12:29 +00:00
Marco Risaliti 3560e173e2 Remove java compilation warnings of createContent/createContentMethod of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 22:23:30 +00:00
Marco Risaliti 6c6fdc6dd9 Remove java compilation warnings of some old methods of ContentServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062047 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 22:16:46 +00:00
Marco Risaliti 6b80b62f9d Remove java compilation warnings of some old methods of content components (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062032 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 21:12:47 +00:00
Marco Risaliti 3f1d4bed2d No functional changes only re-formatting and change long lines slitted to long lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061500 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 20:39:23 +00:00
Marco Risaliti 71c69af454 Remove java compilation warnings from CompDocEvents/CompDocServices and changes some long lines slitted to long lines (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061486 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 20:08:18 +00:00
Marco Risaliti 4067ee4e87 Remove java compilation warnings from OutputServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061483 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 19:55:35 +00:00
Erwan de Ferrieres 7996d65d0b Allowing subsection in help to go deeper than h2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061187 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 10:02:04 +00:00
Marco Risaliti 43fbad62cf Remove java compilation warning from BlogRssServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060994 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 21:17:18 +00:00
Jacques Le Roux 07bebdaea7 A slightly modified patch from Sascha "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
Sascha: There are some more issues in the groovy file
In entity field [ContentAssoc.fromDate] set the value passed in [java.lang.String] is not compatible with the Java type of the field [java.sql.Timestamp]
I'm not quite sure why this is going wrong. Maybe we have to explicitly create an Timestamp here.
DataResourceWorker.getDataResourceTextCache(dataResource, "text/html", Locale.getDefault(), templateRoot, delegator);
should be replaced with
DataResourceWorker.getDataResourceText(dataResource, "text/html", Locale.getDefault(), templateRoot, delegator, true);

JLR: this patch allows now to create a content from CMSContentFind but I'm not quire sure all is resolved. I jave also set the fromDate field in the calling screen as Timestamp type, not sure it's needed but it can't hurt. Nevertheless I think there are still some issues. But at least now it does not break



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060744 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 10:28:01 +00:00
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
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
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 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 ca77476bd3 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059301 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 11:22:00 +00:00
Marco Risaliti 5ecbf7edf5 Reverted revision 1058311 for buildbot failure
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058781 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 22:57:44 +00:00
Marco Risaliti 9ba03238f6 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058311 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 20:54:25 +00:00
Jacques Le Roux 2bfcc945e3 A patch from Martin Kreidenweis "Adding content in CMS using add long text (right mouse click) doesn't work" (https://issues.apache.org/jira/browse/OFBIZ-4079) - OFBIZ-4079
Fixes some bugs in CMS introduced in svn r1036195 when migrating from dojo to jQuery:
* reverted accidental logic change in callDocument() that broke the "new ..." context menu items
* making elRTE "save" toolbar button work: same behavior as the regular "Save" button
* using regular form submit instead of ajax for new content for now
  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
* now always creating editor if corresponsing html element exists
  o editor was not initialized when WebSiteCMSContent screen was loaded by non-ajax call


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058197 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 15:39:29 +00:00
Marco Risaliti c568d2f8d2 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057865 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 21:00:49 +00:00
Marco Risaliti 7c1aa5f489 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057831 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 19:57:04 +00:00
Jacques Le Roux 48eea97f2e A patch from Martin Kreidenweis "Links to Path Alias and Meta Tags in CMS don't work any more" (https://issues.apache.org/jira/browse/OFBIZ-4108) - OFBIZ-4108
* Go to https://demo-trunk.ofbiz.apache.org/content/control/WebSiteCms?webSiteId=WebStore
* Select some content, e.g. "Store Policies"
* Try to click the "Path Alias" or "Meta Tags" links at the top. They cause a JavaScript error: "destroyEditor is not defined"

This patch removes calls to non-existing destroyEditor() javascript function, fixes the url to the path alias, and adds the missing screenlets to the path alias and meta tags screens 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057775 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 18:04:19 +00:00
Marco Risaliti ceafd4dae2 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@1057343 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 20:14:36 +00:00
Jacques Le Roux 461278703f Resolves "The online help navigation panel is too narrow" (https://issues.apache.org/jira/browse/OFBIZ-4066) - OFBIZ-4066
But in Flat Grey, even when you had the content of the bluelight/help.css in flatgrey/help.css...

I have set the default lookup_popup2 size to width=900 height=700, now that anyway OFBiz is designed to be used with at least a 1024*768 screen

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056986 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 17:55:04 +00:00
Marco Risaliti 4e976230d7 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@1056972 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 16:28:21 +00:00
Jacques Le Roux 0d6dbe2977 Useless and faulty log I left there some time ago
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056752 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 18:34:25 +00:00
Jacques Le Roux 0a72fe8793 3 patches from Sascha Rodekamp "Localisation of labels in javascript" (https://issues.apache.org/jira/browse/OFBIZ-3964) - OFBIZ-3964
This cames from Adam's advice: http://markmail.org/message/kai5lfvlnsz7xwki

Sascha comes to this solution
The Idea is to have a method which takes a JSON Object with uiLabel Resources and label entries and returns the resolved labels in a JSON Object which can be used directly in the JS Code.
The advantage of this way, is that we have only one Ajax request which reads all labels. The alternative is an Ajax request for each label, which simplify the request (because you haven't to create a complex JSON Object) but is very expansive.

* Replaces all JS alerts with the new fancy error boxes
* Adds a few uiLabels

I simply fixed some typos. I did not test all cases but did a good review.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056497 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 20:40:31 +00:00
Marco Risaliti 301bc2ccc4 A missed right parentheses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056495 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 20:36:25 +00:00
Marco Risaliti 011c0f3377 Some error due to field-message --> field-property migration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056455 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 18:48:50 +00:00
Marco Risaliti 504a74f1ea Some error due to field-message --> field-property migration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056439 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 18:18:13 +00:00
Bruno Busco 29f5073de7 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052890 13f79535-47bb-0310-9956-ffa450edef68
2010-12-26 14:28:16 +00:00
Erwan de Ferrieres 2daa7716e8 Missing closing tag check-permission
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052527 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 16:12:59 +00:00
Marco Risaliti 8e96e72495 Replace some fail-message to fail-property tag in content component (OFBIZ-1874)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1051607 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 18:45:49 +00:00
Erwan de Ferrieres 877ac7683d A comment slept into the lucene tests...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1051198 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 16:31:26 +00:00
Erwan de Ferrieres 2005fd7716 Resolving deprecated alerts due to itext 2.1.7 in PdfSurveyServices.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050946 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 21:31:50 +00:00
Marco Risaliti 13e8e54219 Replace some fail-message to fail-property tag in content component (OFBIZ-1874)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050902 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 17:12:48 +00:00
Erwan de Ferrieres 660aeb051d Adding test and test data for lucene search
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050883 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 15:57:13 +00:00
Erwan de Ferrieres eaf7180711 Migrating from lucene 2.4.1 to lucene 3.0.3
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050811 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 11:12:53 +00:00
Adrian Crum 652c0b8e4a Moved some ServerHitBin seed data from application/content to framework/common. This change will accommodate a framework-only installation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050457 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 17:55:36 +00:00
Jacques Le Roux c5193ecb5b A patch from BJ Freeman "Update Docbook files and give a nice look to doc" (https://issues.apache.org/jira/browse/OFBIZ-4052) - OFBIZ-4052
Updates all the docbook.css in themes. Remove tags from the <body>

JLR: + Revert r1044062+1044053 (was: Deactivates temporarily the online help. It's currently not working and slowing down too much the demo server)
Actually it was not the real reason (UtilIO.java was)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050385 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 13:58:42 +00:00
Scott Gray 47f43a302a Remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044931 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:31:27 +00:00
Jacques Le Roux 24fe5ff37e Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00