Jacques Le Roux
4e78c6d974
A patch from Sascha Rodekamp "UI upgrade, new lookups" ( https://issues.apache.org/jira/browse/OFBIZ-3374 ) - OFBIZ-3374
...
It's not perfect, but hopefully this time I will not have to revert it. I think it's time to introduce it, to let everybody have an idea and test.
Anyway, it can't hurt as it's only used in the Form Widget Examples screen for now. To test: https://localhost:8443/example/control/FormWidgetExamples
I find that the positioning mechanism is only working with the bizznesstime theme (at list centering, the only case I tried with all themes). But it should not be a big deal to fix since it works already in one theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904047 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 11:57:12 +00:00
Hans Bakker
afbdeab656
moved the helpscreens into the framework: a first step. core parts of the content manager to follow. Removed the references to the help screens in confluence
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903589 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 10:09:49 +00:00
Bruno Busco
9aee1dda33
Changed back forgotPassword screen to use main-decorator instead of login-decorator.
...
This fixes an error that has been erroneously introduced in trunk rev. 894330
Thank you Mridul Pathak and Scott for reporting this in ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902138 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 16:02:33 +00:00
Jacques Le Roux
c58797b529
I revert r900950 because it introduces a bad side-effect when using a lookup by name, at least as far as I can tell.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901197 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 13:36:25 +00:00
Jacques Le Roux
7e1e785844
A patch from Sascha Rodekamp "THanks" ( https://issues.apache.org/jira/browse/OFBIZ-3374 ) - OFBIZ-3374
...
A great enhancement IMO (like the calendar some time ago)
The idea came from http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities
which can be summarized to <<having lookups poping up as fast as the calendar>>. Lookups open in a page layer instead of a separate windows, faster!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900950 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 20:48:13 +00:00
Bruno Busco
eecf528cd6
Added a new "PortalPageScreen" common screen. This can be used to include a portalPage wherever needed (showPortalPage.ftl shouldn't be directly used anymore). The screen needs only the portalPageId input parameter.
...
Used this new "PortalPageScreen" screen in place of all showPortalPage.ftl includes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900156 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 15:15:14 +00:00
David E. Jones
e9358cebe3
Small change to not blow up if there is neither an appheaderTemplate nor an applicationMenu* in place, and simply do nothing in that case
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899068 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 05:52:57 +00:00
David E. Jones
c2c6aa6b40
If user it not logged in don't include the CommonAppBarMenu as it only has the main link, and that is disabled if the user isn't logged in resulting in a funny empty menu
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899060 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 04:56:08 +00:00
Erwan de Ferrieres
232ed5588f
In lookup screens, the default currency wasn't selected, and was always showing the first of the list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897843 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 11:42:45 +00:00
Bruno Busco
5f1b4fdcd2
Used the new if-empty-section condition tag
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894613 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 13:46:13 +00:00
Bruno Busco
1c0b238799
[OFBIZ-3274] - Using decorator sections to control the left-bar
...
The leftbar content is now defined using the "left-column" ApplicationDecorator section instead of setting the variables "leftbarScreenName", "leftbarScreenLocation" and "MainColumnStyle".
The logic that checks if the "left-column" section has content, and thus if a left column must be rendered, has been moved from the GlobalDecorator to the ApplicationDecorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894330 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 09:22:45 +00:00
Bilgin Ismet Ibryam
bd19dc7e9f
Applied a modified patch from jira issue OFBIZ-3211 - Ajaxifying lookup fields.
...
To add ajax support to a lookup screen, you have to add two fields: entityName and searchFields. As a reference please check LookupPartyName and LookupPerson screens in party manager. You can see ajaxed lookups in action in any screen using form widgets and the above lookup screens (findInvocies screen in accounting for example).
This commit also fixes a bug in controls.js from scriptaculous library, but I reported it in its project list and I will track it further.
To hide the returned values (shown as [ID])from the autocompleter or change the number of items there, you have to modify widget.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894149 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 11:30:40 +00:00
Bruno Busco
d9ea486930
Added the geoChart common screen. (OFBIZ-3348)
...
This can be used to show a set of geo points on a Google map.
The screen takes as input a geoChart map containing:
* dataSourceId -> select the map system to be used (google, yahoo etc.)
* width -> map dimensions
* height -> map dimensions
* center -> the center point of the map
* points -> the points array to be showed on the map
Several example screens have been also added to the Example application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892579 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 09:41:03 +00:00
Jacques Le Roux
5cac36d5c5
Complete calendar i18n initialization
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887454 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 23:38:25 +00:00
Jacques Le Roux
3dd84d9f25
A patch from Sascha Rodekamp " Colors and localisation for the calendar" ( https://issues.apache.org/jira/browse/OFBIZ-1825 ) - OFBIZ-1825
...
Simple and clear implementation!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886143 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 13:54:17 +00:00
Jacques Le Roux
39d105f92f
Reverted changes 836044 following Adrian's issue report in https://issues.apache.org/jira/browse/OFBIZ-3206 "Recent Markup Changes Break Layout"
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880658 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 08:27:36 +00:00
Jacques Le Roux
5fc931c191
A patch from Bruno Busco "A new droppingcrumbs theme" ( https://issues.apache.org/jira/browse/OFBIZ-3156 ) - OFBIZ-3156
...
An updated patch to be used to show correctly the tabbars with this theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@836044 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 22:47:44 +00:00
Anil Patel
52e7a3ad66
Removed extra container around labels. Apply h1 (or h2, h3) style to label instead.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834376 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 07:38:24 +00:00
Adrian Crum
0c084368db
Added a new CSS class "page-title" intended to be used for the page title in the main content area of the page. Patch provided by Bruno Busco, https://issues.apache.org/jira/browse/OFBIZ-3044 with a minor modification by me.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828882 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:38:57 +00:00
Adrian Crum
6281f15b38
Improved screenlet-body handling, patch from Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-3012 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826469 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:09:37 +00:00
Jacques Le Roux
20a3ba3f33
A patch from Bruno Busco "The screenlet Global decorator is not needed any more" ( https://issues.apache.org/jira/browse/OFBIZ-3048 ) - OFBIZ-3048
...
In the attached patch I just removed the "screenlet" global decorator that is not used any more since we have now the screenlet widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826437 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 13:42:51 +00:00
Anil Patel
ae2521e332
Removed extra container around labels in FindScreenDecorator. Applied style to label. This will eliminate extra div around text and also renders h1, h2 tags instead of using div with style=h1 (h2).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822581 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 04:22:19 +00:00
Hans Bakker
0b7fe13bb1
On request of adrian, put the VISUAL_THEME default record back in the database, however added the function that values in general properties can override this value. Combined the implementation with the definition of the defaultOrganizationPartyId
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820178 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 05:16:17 +00:00
Jacques Le Roux
29722f9a96
A patch from Bruno Busco "Bluelight theme does not support the new help system." ( https://issues.apache.org/jira/browse/OFBIZ-2972 ) - OFBIZ-2972
...
The attached patch adds all the required files to the Bluelight theme to be compatible with the new help system.
Few styles have also been changed to get Bluelight theme better.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819400 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 20:41:40 +00:00
Jacques Le Roux
0c9df22a34
A patch from Erwan de FERRIERES "still some references to smooth_feather" ( https://issues.apache.org/jira/browse/OFBIZ-2952 ) - OFBIZ-2952
...
There was still some references to smooth_feather theme. This patch replaced them with a call to bizzness time
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816125 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 10:18:55 +00:00
Hans Bakker
03430a2895
added a 'setup' component to create a system from seed data only. After the required data is created with this component it is possible to enter a salesorder and quickship it and create an invoice successfully. The 'setup' component will only show in the tab selection if there is no accounting organization. Check the ofbiz document for more info or look in the file applications/commonext/documents/Setup.xml. Created and sponsored by Antwebsystems. Programmed by employee Tukkata
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816083 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:43:05 +00:00
Jacopo Cappellato
57f222bf51
Put back set operation, removed by commit 811020 (but without invalid default values, as suggested by Adrian Crum) because without them the ui is broken; part of OFBIZ-2885
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811077 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 18:38:43 +00:00
Jacques Le Roux
851b777cb5
Fix https://issues.apache.org/jira/browse/OFBIZ-2885 as suggested by Adrian - OFBIZ-2885
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811020 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 16:43:08 +00:00
Jacques Le Roux
7befd1d25e
no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Adrian Crum
1f76c2f5ec
Moved user preferences code from Global Decorator to ScreenRenderer.java. Now user preferences can be queried before the Global Decorator is run.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796896 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:27:27 +00:00
Scott Gray
cfcb6f5feb
Added missing containers required for ajax pagination to the common LookupDecorator, part of OFBIZ-2661
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791104 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 11:17:32 +00:00
Jacopo Cappellato
9eaac35f4d
Implemented macros for new renderers methods for creen widgets; cleaned up SimpleDecorator.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768213 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 07:59:08 +00:00
David E. Jones
70f8da92bb
Moved logo and icon images back to images component and removed from everywhere else; all references to these should be to there only now; fixes issue with logo in ecommerce and other little things
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766426 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 06:12:55 +00:00
David E. Jones
32e673754a
Moved old default theme data and files to new flatgrey theme; small corrections for use of messages.ftl; added setting in general.properties for the default theme ID; changed default theme to smoothfeather
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765862 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:29:09 +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
9aa57f3ea4
A patch from Bruno Busco "Linking End User Documentation to OFBiz" ( https://issues.apache.org/jira/browse/OFBIZ-2133 ) - OFBIZ-2133
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748884 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 16:29:24 +00:00
Hans Bakker
5192a24e48
introduction of a common component for applications. moved the 2 lines containing party info to this component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748144 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 13:36:51 +00:00
Hans Bakker
2cc045c1f7
correction formatting problems
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745756 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 06:45:36 +00:00
Jacques Le Roux
aa1259c96e
Another time caught by Eclipse (editing a file while replacing strings in other files)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739766 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 14:05:29 +00:00
Jacques Le Roux
5d9fd471dc
<field-map(.*)env-name => <field-map$1from-field
...
<service(.*)result-map-name => <service$1result-map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739764 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 13:54:08 +00:00
Jacques Le Roux
08915956a1
<if-empty field-name= => <if-empty field=
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739739 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:07:47 +00:00
Jacques Le Roux
290534059d
<entity-one entity-name=(.*)value-name => <entity-one entity-name=$1value-field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739732 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 10:27:43 +00:00
Jacques Le Roux
805a5f7058
A patch from Bruno Busco "Selected Visual Theme not shown as selected" '( https://issues.apache.org/jira/browse/OFBIZ-2144 ) - OFBIZ-2144
...
Signaled by Michael Pätzold
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@738879 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 15:05:02 +00:00
Jacques Le Roux
ce297d5a9b
Add geolocation screens to Facility ContactMechs, FacilityLocation and FixedAsset + miscellaneous enhancements, also in data.
...
I have began to refactor toward putting as much as possible geolocation artifacts in framework/common with the idea of creating an applications/common component where all shared (transversal) features/artifacts would be. More explanations on dev ML soon...
There is also an unused taxAuthorityVATReport request/view-map in accounting controller (part of another task I slowly work on)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@738452 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 11:03:20 +00:00
Jacques Le Roux
90264b4180
Add popup address Geolocation in party profile
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737369 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 14:48:25 +00:00
David E. Jones
806eb98c1b
Applied patches from Bruno Busco in Jira #OFBIZ-2118 to add flexibility to menus and themes for more dramatic changes in themes, includes patches AppMenuDropDown.patch and VisualThemeMessage.patch
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@736887 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 01:50:28 +00:00
Jacques Le Roux
0500d6baef
A 1st commit for "Add geolocation to data model" ( https://issues.apache.org/jira/browse/OFBIZ-1923 ) OFBIZ-1923
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735404 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 09:09:32 +00:00
Adrian Crum
63742aaa00
Added main navigation template location to the Visual Themes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@734455 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 17:42:02 +00:00
Hans Bakker
a796f4e551
only show application buttons when logged in
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733630 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 05:58:35 +00:00
David E. Jones
c9e848d99e
Cleanups for new more consistent attribute names; changed AddExampleFeatureAppl form to use the newly possible combination of ajax autocomplete and lookup box, good for when user has no clue what the ID might be
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733489 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 16:39:33 +00:00