Commit Graph
427 Commits
Author SHA1 Message Date
Jacques Le Roux 27822125e1 setCountryStatesEventJs.ftl was a specialisation of setDependentDropdownValuesJs.ftl introduced 2 years ago with it. It has never been used and finally whan I thnk about it I don't see any needs to keep (slim down spirit)
So this to remove it and clean duplicated references/comments about setDependentDropdownValuesJs.ftl

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310954 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 05:19:48 +00:00
Jacopo Cappellato 9986094080 Updated all the controller entries for Groovy event to consistently use the same way to define the location for the script file. Now the path and filename are always in the "path" attribute and the "invoke" attribute is reserved for the execution of a method in the file (I am going to add support for this feature in my next commit); if the invoke element is not specified then the whole script is executed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1298904 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 16:17:12 +00:00
Hans Bakker 92397979ed upgrade BIRT to 3.7.2 http://www.eclipse.org/birt/phoenix/project/notable3.7.php
- Addresses BIRT engine with a new POJO based runtime
- Add more content types
  * Post Script
  * Open Document Text
  * Open Document Spreadsheet
  * Open Document Presentation

- Remove warning messages at compile time
- Set an override content type in the view handler

A contribution of Chattree



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293999 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 02:37:16 +00:00
Sascha Rodekamp 0141c39f55 Reintegrating the Jackrabbit Development branch into the turnk.
The Merge contains the basic integration of jackrabbit into ofbiz and provides a simple API for further development.

Features:
API for easy CRUD operations
Versioning 
Multi Language Support
Object Content Mapping
Sample Implementation in Example Area

See this merge as first step. The development is still in progress but this is the stable starting point for all feature developments.


Detailed description can be found in the Wiki: https://cwiki.apache.org/OFBIZ/jackrabbit-branch-development.html

For any questions, requests, issues use the jira post: https://issues.apache.org/jira/browse/OFBIZ-4659

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231647 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 10:41:50 +00:00
Sascha Rodekamp c8d37ad7d5 Example Application Is Badly Broken (https://issues.apache.org/jira/browse/OFBIZ-4619). A Bug reported by Adrian Crum:
Go to https://localhost:8443/example/control/main

Click the New Example button. In the popup window, click Create. You are taken to the Find Example screen and it contains an error message.

Look at the current URL. Try navigating to it: https://localhost:8443/example/control/createExample The Find Example screen is displayed with an error message.

Click your browser's Back button. The popup dialog appears again.

In summary: There is no way to correct an invalid entry.

I added a required flag for the mandatory fields. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230474 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 10:21:36 +00:00
Sascha Rodekamp 91ffcbdae6 Update jQuery:
jQuery library to version 1.7
jQuery UI to version 1.8.16
jQuery Validation to version 1.9
jQuery Flot to version 0.7
jQuery datetimepicker to version 0.9.7
and jsTree

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1199218 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 12:35:33 +00:00
Adrian Crum 4b7cd7434a Changed the screen widget boundary comment behavior per a discussion on the dev mailing list. Setting the widget.properties file widget.verbose property to false now acts like a "master switch" to turn off all widget boundary comments - it ignores all other settings. If the property is set to true, then the setting can be overridden in web.xml or in the screen context.
This commit also removes the demonstration widgetVerbose setting in the Example component's web.xml file - which caused some confusion, and it comments out the setting in the web.xml file that is used for creating new components.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172954 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 02:55:44 +00:00
Sascha Rodekamp 28eff53625 Update to the current jQuery Version 1.6.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1163547 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 09:26:56 +00:00
Hans Bakker 0a59303a34 remove the rest of the website definitions from seed data, the ones that are left are in the demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158099 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 03:43:06 +00:00
Sascha Rodekamp 27e16a61c9 Update - jQuery update to version 1.6.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1124336 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 16:54:55 +00:00
Jacques Le Roux 18fcf5b74a A patch from Nicolas Malin "Add famfamfam icons has generic and add possibility to surchage" https://issues.apache.org/jira/browse/OFBIZ-4259
JLR: Reopened because it should follow https://cwiki.apache.org/OFBADMIN/html-and-css-best-practices.html or provide another solution

Nicolas: First quick step, I remove img on menu. Second step, I begin a reflexion to improve my enchancement (see msg in dev ML)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096457 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 11:08:32 +00:00
Jacques Le Roux 849f4016e5 A patch from Nicolas Malin "Add LookupPortalPage on common components" https://issues.apache.org/jira/browse/OFBIZ-4260
To test :

    * apply patch
    * apply patch from OFBiz-4262
    * load seed
    * Go to example and add examplePortlet2 to an example pagePortal
    * Edit examplePortlet2

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096290 13f79535-47bb-0310-9956-ffa450edef68
2011-04-24 09:35:28 +00:00
Jacques Le Roux 48c6114143 A patch from Nicolas Malin "Add famfamfam icons has generic and add possibility to surchage" https://issues.apache.org/jira/browse/OFBIZ-4259
Adds the possibility to use famfamfam icons contained in framework/images/webapp/images/famfamfam/icons.
If you want use a specific icon, it's possible to define an attribute VT_ICONS_LOC that contains the location to themes icons directory to use
It improves form rendering to pass a flexible string on image-location attribute and screen and form renderer to display an image with a text.

JLR: I just added à   before menus texts

After Erwan's remark I wondered If I should remove the CSS on buttons. But I finally found that it was complementary. Because when no image is used on a specific button you still have the default CSS style applied (typical for Add buttons as Erwan outlined). And when no default CSS style is applied you can have an image like now shown OTTB on print button when editing an Example. So I see these 2 features as complementary for now. Maybe one day, one will replace the other, but at this stage both are welcome IMO.

BTW the famfamfam (strange name ;o) icons lib is well done and really full of possibilities...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095984 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 18:51:10 +00:00
Adrian Crum edbcc68dcd New feature: i18n entity descriptions in Web Tools. New feature demonstrated in Example component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095037 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 11:23:07 +00:00
Erwan de Ferrieres 20eb38ee17 missing link in French help to the documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094006 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 15:07:09 +00:00
Erwan de Ferrieres cc247e81e2 Now OFBiz is able to run HTML selenium testsuites. Non specific java code is coming from SeleniumHtmlClient (https://github.com/takamori/selenium-html-client-driver) which is under the Apache2 license.
A testsuite is provided with the commit, just go to the selenium webtools' page, and execute it. For now, you still need to change the url.properties file, and start the selenium server.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092706 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 13:55:38 +00:00
Sascha Rodekamp fb880c80a1 Update - i18n from DateTime display fields (https://issues.apache.org/jira/browse/OFBIZ-4014). Ofbiz can now show and interprete i18n dates and times. The Patch uses the datejs library to i18n the displayd date and time fields from the datepicker this works vice versa.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090231 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 13:05:42 +00:00
Sascha Rodekamp 7cc04db7d3 Update - Update to jQuery Version 1.5.2, the new version fixes some bugs in the library.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088502 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:36:05 +00:00
Erwan de Ferrieres 076910e971 Adding a new field for seleniumTestSuitePaths, testSuiteType, which should be filled with HTML or XML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084551 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 11:51:33 +00:00
Erwan de Ferrieres c83a564abc Moving the example selenium testsuite from it belongs and make it loads only when loading demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083861 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 16:37:42 +00:00
Jacques Le Roux 0436f7f6f9 Complete r1082174 (Resizing the new example modal form so there is no more scroll-bar
), this was not enough for at least FF 3.6.15 on Windows

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083002 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 18:17:58 +00:00
Sascha Rodekamp e11f878458 Update - Update the jQuery library to version 1.5.1. A few changes were necessary for this step. I updated the jQuery flot library to the current release, because the old one doesn't work with the new jQuery version, i also updated the jsTree Plugin to make it work with the new jQuery Version.
Note in jQuery 1.5 the implementation of the ajax function has been changed.

For more Information have a look at: http://blog.jquery.com/2011/01/31/jquery-15-released/


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082916 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 13:37:29 +00:00
Sascha Rodekamp 6b6a8c145d Update - Update to jQuery 1.4.4, Fix a bug in the fieldlookup.js to make it work with the new jQuery lib. This patch is to orepare the update to jQuery version 1.5.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082227 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 17:25:15 +00:00
Erwan de Ferrieres da4c56a43e Adding missing property-map when calling an ajax-link, as it is not using a decorator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082183 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 16:20:08 +00:00
Erwan de Ferrieres f1e6fa4e7e Resizing the new example modal form so there is no more scroll-bar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082174 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 15:56:56 +00:00
Adrian Crum 050ef03215 Partially revert a change made in rev 894330 - put multi-column screen elements back in the GlobalDecorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082004 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 23:49:07 +00:00
Erwan de Ferrieres d7ad06b90c Adding a masked input capability to the date fields, use mask=Y and the field type will be taken for it. jQuery pPlugin is from http://digitalbush.com/projects/masked-input-plugin/ and under a MIT license
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081333 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 11:15:24 +00:00
Erwan de Ferrieres f35561fab7 Removing trailing spaces, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081317 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 10:33:27 +00:00
Erwan de Ferrieres cfb5b8f963 Avoiding portalPageId in context when using screens so the right help is displayed when called
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076186 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 12:11:10 +00:00
Erwan de Ferrieres 791bbded63 More improvements on help, adding more descriptions and a French page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075324 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 13:45:02 +00:00
Erwan de Ferrieres af56c858e8 Using the right syntax for caution, important, note, tip and warning in docbook documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075125 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 19:49:39 +00:00
Erwan de Ferrieres 57eefd55cd Misc. French translations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073485 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 20:18:48 +00:00
Sascha Rodekamp 007a92695b Bug - Screen Link Ajax Windows (https://issues.apache.org/jira/browse/OFBIZ-4183) - Erwan found a bug regarding the layered links in the example screens, it's fixed, i created a seperated screen for the layered link. Thanks Erwan for reporting.
Orig. Msg.:
now there is a problem when you click on an example to edit it, the decorator is no more present on the form.

to reproduce
In example component, search all examples the click on an id.
    


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072303 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 10:47:53 +00:00
Erwan de Ferrieres 51f8bdc022 Adding caution, important, note, tip, warning to docbook formatting possibilities. Those can be used inside a para element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071917 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 08:31:52 +00:00
Sascha Rodekamp f51f4fdff2 Feature - Screen Link Ajax Windows (https://issues.apache.org/jira/browse/OFBIZ-4183)
I created a new Screen <link feature. Similar to the Form Lookups a link can be opened in a layered JS Box (see Screenshot in Jira Task). It looks nice and is helpful in some cases.

You can add any screen u want. It's expected that you create a certain screen for the layered link which only contains the information you need.

The layered box doesn't contain any logic it's just a container for the screen which should be opened. So the screen it self can decide what to show. i.e  if you load a form, the form itself implement the way how it react on a submit (either reload the site or perform the submit as Ajax request in the background).

There is also an example in the example section. Try to create a new Example on the mainpage.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071698 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 17:01:07 +00:00
Erwan de Ferrieres 80d2dc710d Adding a new feature for date-time fields: step, which will format the minutes drop-down with or a 1, 5, 10, 15 or 30 step-size
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070570 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 16:57:31 +00:00
Jacques Le Roux dc0ff25b68 Replaces obsolete comment by a better information on what is really possible to do with getDependentDropdownValues.js
Also removed tabs in SetupScreens.xml and formatted correctly



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068490 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 17:41:04 +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 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 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 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
Jacopo Cappellato c4ff3a401c Another group of missing licence heders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058590 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 14:51:38 +00:00
Jacques Le Roux 6fc5e54c79 Fixes the last issue related to "Ajax example creation has somme issues" (https://issues.apache.org/jira/browse/OFBIZ-1994) - OFBIZ-1994
The issues already fixed were
* A Save File dialog box pop up to save a json file     
* Creation did not update the list
* You can't edit the column "Name" content
* Sometimes it worked on an instance, not another (both with same configuration)
* Sometimes the same instance, which did not work before, worked

I found another issue, the line
<on-event-update-area event-type="submit" area-id="EditExampleAjax" area-target="CreateExampleFormOnly"> 
was duplicating the list and hiding the create section. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056824 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 22:34:50 +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
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
Marco Risaliti bc4a6bc27d Replace some fail-message to fail-property tag example component (OFBIZ-1874)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052054 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 19:55:14 +00:00
Marco Risaliti 47d750084c Replace some fail-message to fail-property tag all entityext/example components (OFBIZ-1874)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052050 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 19:51:55 +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
Adam Heath d241a1049a Fix several xml files that had DOS line endings; converted them to UNIX,
so that on fresh checkouts they will be auto-converted to native.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040833 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 00:15:17 +00:00
Jacques Le Roux 46035ac2f9 Fix sort-field names
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1028228 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 08:52:25 +00:00