Commit Graph
158 Commits
Author SHA1 Message Date
Jacques Le Roux 9fbb7f392c Fix a small encoding bug found in Example Widget form
Set default values for fields 4&5 (time dropdowns)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921401 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 15:29:44 +00:00
Jacques Le Roux 9014106755 A modified patch from Sascha Rodekamp "Some improvements for the layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3524) - OFBIZ-3524
A little fix for the faded background and make fading as default.
I have also refactored a bit the lookups examples fields

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@920061 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 19:23:42 +00:00
Jacques Le Roux 423ce79a21 A slightly modified patch from Sascha Rodekamp " Some improvements for the layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3524) - OFBIZ-3524
A flag was added to fade the background behind the layered lookup (ie all the screen but the lookup) when a layer is opened.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917940 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 10:02:04 +00:00
Jacques Le Roux b632244a4f A patch from Sascha Rodekamp "Refactor fieldlookup.js" (https://issues.apache.org/jira/browse/OFBIZ-3491) - OFBIZ-3491
Mostly changes in the fieldlookup.js to make the code a little bit smaller. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917250 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 18:54:15 +00:00
Bruno Busco 41aeeb3317 Added "create" classes to pertinent buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911187 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 22:02:54 +00:00
Erwan de Ferrieres e717e378ed The auto-completer (in lookup fields) default behavior is "%fieldValue%" (contains operation).
This allows to change the behavior to "fieldValue%"(statrWith operation) when setting to "Y" the searchTypeStartWith field

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910587 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 16:42:00 +00:00
Erwan de Ferrieres 522b4ef150 Reverting rev906020 as it was introducing a dependency with commonext in the framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907308 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 21:05:41 +00:00
Jacques Le Roux 4e1b11a80e Begin to fix things a bit in the example component (related to the layered popups effort)
* consistent names and actions (lookup by Id is not by Name)
* introduces a layered popup for the features
* continue to use height and width as demonstration but with appropriate values

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907270 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 18:37:46 +00:00
Erwan de Ferrieres 95f44ea337 Fixed a missing license header, tabs to spaces and removed trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906981 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 15:56:01 +00:00
Erwan de Ferrieres 5734f37e47 Simplifying example menus writings, closing XML tags directly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906980 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 15:51:41 +00:00
Jacques Le Roux 2b1c7c2292 The syntax of the new attributes introduced by the layer lookup were verbose.
We know we are in a lookup element and no attributes interfere. So I reduced the verbosity by removing the "lookup-" part everywhere it was possible (ie everywhere)
So we go from
    lookup-presentation
    lookup-height
    lookup-width
    lookup-position
to
    presentation
    height
    width
    position
in the lookup element

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906584 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 18:02:38 +00:00
Jacques Le Roux 06aaa2d4b5 Temporary workaround to avoid a bug in FormWidgetExampleForms.xml (complete r906526)
In r906526 I let the tooltip I put while looking for a solution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906538 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 16:07:55 +00:00
Jacques Le Roux dc54b43982 Temporary workaround to avoid a bug in FormWidgetExampleForms.xml.
Looks like it's related to an UEL interpretation error but it's deep rooted and I did not get enough time to debug now. Anyway not a big deal, and I will get back to it soon..

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906526 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 15:33:27 +00:00
Erwan de Ferrieres c0d92376ab changeOrgPartyId.groovy wasn't called in the example component, and then was producing errors when accessing the component with dropping crumbs theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906020 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 12:05:22 +00:00
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
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 3725111736 Fixed headerItem value conflicting with PortalPageId in Example.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898141 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 01:02:52 +00:00
Erwan de Ferrieres 7b978be8f0 geopoints should use dots and not commas, to be displayed.
geopoints were displayed with the locale French with the commas, but not with English

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895950 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 09:10:58 +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
Erwan de Ferrieres 5a07e94c83 Closing OFBIZ-3375 , adding description to checkboxes. When using an entity-options combined with <check>, the description wasn't displayed.
An example form is at <OFBiz instance>/example/control/FormWidgetExamples

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893282 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 19:33:06 +00:00
Erwan de Ferrieres 2c5f74bb7e Complement of rev 892579, adding geolocation by address. An example screen is visible at
<OFBiz instance>/example/control/ExampleGeoLocationAddress
This also closes JIRA-2930

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893277 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 19:11:53 +00:00
Erwan de Ferrieres 1f8dd4049b a container was forgotten in rev. 892982
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893115 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 09:08:15 +00:00
Bruno Busco 48112d1bab Fixed Birt layout issue using bizzness theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892986 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 21:29:47 +00:00
Bruno Busco 6728682197 Fixed geoChart layout issue using bizzness theme.
Thank you Erwan for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892982 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 21:20:25 +00:00
Erwan de Ferrieres 5962b6efc4 Removed trailing spaces and a headerItem was forgotten, so the menu wasn't visually selected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892738 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 09:16:06 +00:00
Bruno Busco 2712c9f5cf Replaced include-screen to decorator-screen. This was causing some error log.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892660 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 21:07:03 +00:00
Bruno Busco cafa721fec Added birt webapp in the example component. This was erroneusly omitted in previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892658 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 20:47:20 +00:00
Bruno Busco 63ebc81a33 Moved Birt demos in the Example application. (OFBIZ-3352)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892633 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 18:22:09 +00:00
Bruno Busco aab5b852bd Extended example TabBar menus from the CommonTabBarMenu.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892584 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 11:13:47 +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
Ashish Vijaywargiya 0507a954f6 Part of OFBIZ-3320 - Now you will see "Find" button on Lookup forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889088 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:50:29 +00:00
Ashish Vijaywargiya 88a092d2f9 Applied patch from jira issue OFBIZ-3320 - improvement in Find screen.
Fix title of buttons to Find, for all the find screens to maintain consistency. 

Thanks Chandan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:29:19 +00:00
Bruno Busco 765c98327a Added an example of non collapsible groupfield in the Widget Example Form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833884 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 15:23:52 +00:00
Bruno Busco aad170f2e6 Added missing submit button in Example portlet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820537 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 05:35:58 +00:00
Jacques Le Roux 089a34d6ad Fix r815974 where a wrong file was commited (ofbiz/trunk/framework/example/widget/example/ExampleForms.xml)
So here we go again :
A patch from Harmeet Bedi "startofbiz.sh does not have a default debug flag." (https://issues.apache.org/jira/browse/OFBIZ-2059) - OFBIZ-2059
$DEBUG flag is not specified even in comments causing people to dig an find it.
JLR's comment : that's not exactly true, there is already another DEBUG "flag" used for RMI, I think both are useful. So I have moved this "new" one near the older



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815982 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 21:54:45 +00:00
Jacques Le Roux 80e9079f1b A patch from Harmeet Bedi "startofbiz.sh does not have a default debug flag." (https://issues.apache.org/jira/browse/OFBIZ-2059) - OFBIZ-2059
$DEBUG flag is not specified even in comments causing people to dig an find it.
JLR's comment : that's not exactly true, there is already another DEBUG "flag" used for RMI, I think both are useful. So I have moved this "new" one near the older


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815974 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 21:20:54 +00:00
Jacques Le Roux b71383f6ac A patch from Nicolas Malin "Add confirm action before do submit action." (https://issues.apache.org/jira/browse/OFBIZ-2916) - OFBIZ-2916
Add this feature to forms in a consistent way with existing feature in menu (enhancing this previous feature)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815734 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 12:16:03 +00:00
Jacques Le Roux b7a941d4f6 Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Jacques Le Roux 141f1d6943 A patch from Nicolas Malin " EditExample form, error in drop-down" (https://issues.apache.org/jira/browse/OFBIZ-2844) - OFBIZ-2844
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810878 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 10:40:22 +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
David E. Jones 6435be1189 Fixed small issue introduced with view-entity entity-condition where non-view entity name was used but conditions were removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792416 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 06:41:54 +00:00
David E. Jones d0d41b3259 Added some examples of slightly more complex view entities, plus simplified some example forms based especially on the ExampleStatusItem view-entity; also cleaned up some names/titles; note that these are proof of concept examples to demonstrate and test the new functionality and are not yet functional
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792397 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 04:37:38 +00:00
Adrian Crum 7a9d9c0fff Removed deprecated CSS styles from Example component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778812 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 17:51:21 +00:00
Adrian Crum 6bcc5b1100 Oops, missed one file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772731 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 18:03:35 +00:00
Adrian Crum 4146f9f466 Removed apostrophe to quote substitution. It caused problems with FreeMarker macros.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772729 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:59:23 +00:00
Adrian Crum a2d620ba6c Example component updated to use operator substitution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772722 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:38:06 +00:00
David E. Jones 2c4cdde4b8 Reverted changes in SVN revs 770084 and 770408; this gets the example component back to the good old security until things settle and patterns are better established and agreed on for the new stuff that Andrew is proponing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771030 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 06:12:46 +00:00
Andrew Zeneski 4163690788 Refactored Example Application to use new security mechanics - JIRA OFBIZ-2392
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770084 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 06:23:18 +00:00