Commit Graph
181 Commits
Author SHA1 Message Date
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Jacques Le Roux 14adf43d86 * Especially fix a bug in fieldlookup.js.
When using description-field-name in a layered lookup called from another layered lookup (recursively or not) the description-field-name parameter (target2) in the call from the 2d lookup button was not modified, therefore the link was not working.

Miscellaneous:
* Format and fix some typos in fieldlookup.js
* Removes now useless commented out functions set_value and set_values in lookup.ftl
* Improves comments in FormWidgetExampleForms.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947392 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 10:08:21 +00:00
Jacques Le Roux fda988d301 Closes "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693) - OFBIZ-3693
This commit removes all remaining <presentation="window">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Erwan de Ferrieres ebbef0d683 As suggested by Bruno in this thread, refactoring in charts
http://ofbiz.135035.n4.nabble.com/Charting-in-OFBiz-td2219378.html#a2219378

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945523 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 07:14:50 +00:00
Erwan de Ferrieres a877c6fc4b Adding the capacity to create charts in OFBiz. Examples are based on the example component, and examples must be created to show charts.
Charts are using the flotr library (http://code.google.com/p/flotr/) which is under a MIT license and is based on the Prototype Javascript Framework.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945044 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 09:29:38 +00:00
Jacques Le Roux 62976e36fb We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
It's not related to previous patches committed but an issue which is remaining and we have to face now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Jacques Le Roux 2cec8a31b0 client-autocomplete-field="true" is useless since it's the default value (thanks to Scott for the reminder). I was thinking about lookup descriptions, but Bilgin has activated it by default at r936638, so nothing is needed :o)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942667 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 06:36:43 +00:00
Jacques Le Roux b759c6031b Show client-autocomplete-field usage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942576 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:39:03 +00:00
Jacques Le Roux d8e6120200 By default, the layer is not centered anymore.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942574 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:20:47 +00:00
Jacques Le Roux b9ccc674b9 Clarify things a bit more (from a question on user ML)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942573 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:20:04 +00:00
Jacques Le Roux c44089d6a9 As it's the default, presentation="layer" is not needed anymore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942572 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:13:01 +00:00
Jacques Le Roux dd11ac1b1a A patch from Ankit Jain "Allow to open a layer lookup from a layer lookup" https://issues.apache.org/jira/browse/OFBIZ-3446 - OFBIZ-3446
Uncomment the line to return the name in the calling screen

I have also added groupName in the name returned (when looking for  partyGroup)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940401 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 09:10:49 +00:00
Jacques Le Roux 465213125f Temporary workaround to fix an issue in the lookup in lookup Example
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940248 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 15:48:53 +00:00
Jacques Le Roux 4891c2f0cd A modified patch from Sascha Rodekamp "Missing Buttons on LookUp Search" (https://issues.apache.org/jira/browse/OFBIZ-3745) - OFBIZ-3745
For the pagination issue in bluelight and droppingcrumbs, the calendar issue in bluelight still exists
I have also added 2 lookup and calendar test fields in the 2d lookups.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940234 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 14:15:34 +00:00
Jacques Le Roux ad20beb7a9 An improving patch from Chris Snow "Provide better user help" (https://issues.apache.org/jira/browse/OFBIZ-3702) - OFBIZ-3702
Answers 3 of 4 points Scott outlined on dev ML



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939216 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 06:39:25 +00:00
Jacques Le Roux 2f6a7c3d09 A slightly modified patch from Chris Snow "Provide better user help" (https://issues.apache.org/jira/browse/OFBIZ-3702) - OFBIZ-3702
Provides help by hovering over the field label. See Example for... an example :o) And also https://issues.apache.org/jira/secure/attachment/12442717/fieldLabelTooltip2.png


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938844 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 10:02:57 +00:00
Jacques Le Roux 4cd873d37c A slightly modified "only one lookup decorator" patch from Sascha Rodekamp related to "Replace popup lookups by layer lookups" (https://issues.apache.org/jira/browse/OFBIZ-3442) - OFBIZ-3442
Merge the 2 lookup decorators in only one and dynamically adapt the rendered content

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935578 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 14:03:41 +00:00
Jacques Le Roux f390b092a3 Change the lookups in example to better demonstrate the differences between popup and layer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935075 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:38:53 +00:00
Bilgin Ismet Ibryam 82a5bf6b02 A patch from OFBIZ-3555 "Show lookup value descriptions". This enhancements allows displaying a description for the IDs in lookup fields. To enable this feature set widget.lookup.showDescription to Y in widget.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933130 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 07:54:10 +00:00
Adrian Crum da42890638 A patch from Blas Rodriguez Somoza - XHTML validation errors (framework excluding widget) (https://issues.apache.org/jira/browse/OFBIZ-3622).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930701 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 15:29:58 +00:00
Bilgin Ismet Ibryam de0b52bfe6 Removed hardcoded width and height pixels from google map template, which now allows setting them also in percentages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928733 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 11:51:49 +00:00
Jacques Le Roux 5a64b4b0da In order to fix issues after issues, I commit this patch from Sascha Rodekamp that fixes "Allow to open a layer lookup from a layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3446) - OFBIZ-3446
This patch does not fix an issue with calendar in layered lookups. So I will create a new Jira for that.
Also it introduces a small drawback: you can't no longer close a layered lookup with the right left cross button. But Esc. is still working, so it's not a blocker. I will have a look at this and if needed will create a new Jira 







git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928292 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 21:56:24 +00:00
Hans Bakker e237fe0ba6 if menu and portalpage options are mixed, tomahawk did not display correctly in the example component and other places as reported by Bruno in the mailing list. should work now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928131 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:39:08 +00:00
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