Commit Graph
376 Commits
Author SHA1 Message Date
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
Bruno Busco 25965626af Reverted revision 1042196 as suggested by Adam.
This change introduces framework dependencies from applications.
More work is needed to the patch in https://issues.apache.org/jira/browse/OFBIZ-4037 before committing again.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042250 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 22:29:33 +00:00
Bruno Busco 587e93ba82 https://issues.apache.org/jira/browse/OFBIZ-4037
Moved the feature that allows a new user to register for an account from MyPortal to the framework so that it is available in any application.
It has also been slightly reworked (code cleaning and internationalization).
Two flags in general.properties allows to configure if the register function must be enabled or not and if the captcha function should be used.
The captcha function needs to be improved because at the moment the code is contained in an hidden field so that it is very easy for a computer to bypass it.
A possible fix for this could be to put the MD5 coding of the captcha code in the hidden field.
Then the event that checks the code should compare the MD5 codes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042196 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 14:58:18 +00:00
Bruno Busco 4f1d234a85 ManagePortalPages screen improvements.
The PortalPage list is now collapsible. The form to create a new portalPage has been moved to a dedicated screen.
This allows to have a less crowded screen and the portalPage being configured can be seen almost at full screen.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023447 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 09:46:52 +00:00
Bruno Busco c7b53b7ae4 Removed unused showPortletUiLabelDecorator.
Generally xxxxUiLabelDecorator should not be used. Having a decorator that only adds UiLabel resources creates unnecessary screen dependences.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023429 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 07:33:35 +00:00
Bruno Busco 6d1f3fe479 Removed PortalPageScreen and showPortalPage.ftl since they have been replaced by include-portal-page widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023428 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 07:24:40 +00:00
Bruno Busco 599547f6b5 The retrievePortletAttributes.groovy is not needed any more since it is now embedded in the include-portal-page widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023427 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 07:22:16 +00:00
Bruno Busco 9e6dd1f56c Replaced PortalPageScreen with the new include-portal-page widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023425 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 06:44:14 +00:00
Bruno Busco 53213d0f3e Used include-portal-page widget in ShowPortalPage Screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023286 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 14:02:47 +00:00
Bruno Busco b6db13d60a Added a back button to the screens used to select a portlet to be added, to change the column width and to edit portlet attributes.
The back button can be used to abort the operation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023244 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 11:06:34 +00:00
Bruno Busco f098b68cb3 Introduced the new include-portal-page in the ManagePortalPages screen.
This should be the only change that needs to be reverted if any issue with the new include-portal-page is raised.
I do not proceed further with the widget introduction into other screens for a while (even if I have a local copy of the whole OFBiz converted) so that it will be tested more.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023206 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 08:04:58 +00:00
Bruno Busco 00f98b9644 Remove unused ListPortalPage.groovy. This has been replaced by the PortalPageWorker.getPortalPages method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023195 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 06:03:41 +00:00
Bruno Busco 4e6526182f - No need to calculate sequenceNumMin and sequenceNumMax. Native form widget itemIndex and listSize can do the job.
- Disabled form pagination. We want all PortalPages in one list to set their ordering.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023191 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 05:53:26 +00:00
Bruno Busco 248b36e380 Removed sort-field option in ManagePortalPage portals list.
This caused the form header accept column sorting commands but was not really working.
The PortalPages order in this list is controlled using the ordering arrows and is associated to the PortalPage MenuItems order.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1022709 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 21:02:57 +00:00
Jacques Le Roux fdea7b2527 Change how Webtools/Geo Management is done:
* Now the link from the Find list goes to the Link Geo screen. It opens (focus on Geo field) with selected multiples (in function of assoc type) for the geo selected in Find list, and changes accordingly. In jQuery branch it will use asmselect for that 
* So the Create screen is now a Create/Edit screen with a lookup for Geo choice

This continues to allow geos Edition/Creation and to links them, but now shows also the links between geos in the Link screen. Due to native limitations of select multiples, it's not very useful in trunk but interesting in jQuery branch (I did not try to find an equivalent to asmselect in the Prototype worls, still doable...)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000586 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 19:06:22 +00:00
Jacques Le Roux 8172640f9a Removes dependencies from Example component to Party component by replacing Party lookups by Geo lookups.
Removes useless specific party lookups in Example component

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@999390 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 13:07:57 +00:00
Bruno Busco 2704f7f99f - Removed several ***Adm requests from webtools application. Used view-last/save-last-view pattern instead to have the same portlet handling requests usable from everywhere.
- Replaced AddPortlet request and view-map with addPortlet. This seems to be the standard we use.
- Portlet attributes are now edited using a dedicated screen. This is how it works in the new PortalPage widget. I used the same system in the actual PortalPage system also because it was too complicated to handle it in two different way. In any case it should not hurt.
- Removed a debug string in the PortalPageColumn renderer.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@998686 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 15:46:17 +00:00
Bruno Busco 3bbd2d8598 Added the <include-portal-page> widget. OFBIZ-3625 https://issues.apache.org/jira/browse/OFBIZ-3625
Using this widget, a PortalPage can now be easily rendered in any screen.
At the bottom of the page an "Edit ON/OFF" button can be used to switch the PortalPage edit mode ON and OFF so that the Portal Page can be edited "in place".
All the portlet editing requests are handled using the "save-last-view" request attribute so that a dedicated screen can be shown to set the Portlet attributes and the column width and, when submitted, the user is taken back to the portal page he was editing.

Those new requests will be used in a later commit to eliminate all the duplicated ****Adm requests that have been introduced when the Webtools portal admin screen has been created.
A simple use of the widget has been added in the Example application.

TODO:
- At the moment the portal page editing is performed on the portal page itself and no portal derivation from the "main" one is performed. This will be done in a later commit.
- The portlet moving controls both manually and by drag and drop have not been implemented yet.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@998570 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 00:09:39 +00:00
Jacques Le Roux 68ef437347 New simple Geo Management in Webtools. It still misses a Geo Assoc Find Screen.
For the moment in trunk the Link Geos screen use a standard multiple dropdown. It's not easy to use (see why at http://www.ryancramer.com/journal/entries/select_multiple). In the jQuery branch I have used the asmselect plugin, much easier for end users. Actually I'm not totally satisfied by it either. It's a beta and seems to be freezed. Also the way the field is shown is not flexible enough. It's a fixed size area and I tried to work around. I could be done better though. I will have a look. Sascha thought we could use jQuery.ui.sortable but I don't think it exactly corresponds to the feature needed.

I have also changed some labels names and removed/grouped some requests (only in common now)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996658 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 19:35:40 +00:00
Jacques Le Roux de2a709e43 Fix a bug while working on future Webtools/Geo Management (soon coming). Working from a branch I really begin to think about using Git, though using Eclipse is flexible enough for now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996565 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 15:00:21 +00:00
Erwan de Ferrieres ab43dfbf0e Showing the title when a portal page is displayed on screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@991947 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 14:27:17 +00:00
Bruno Busco 6cb038332c Removed settings of hideSearch field. This is not used any more.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989397 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 22:54:50 +00:00
Jacques Le Roux 9fd01fcd31 Removes a framework dependency on Marketing component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989389 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 22:20:18 +00:00
Jacques Le Roux 7a285eed10 Miscellaneous improvement in Form Widgets examples. Notably introduces an, as much as possible generalized (so far), dependent drop-downs example. I have introduced 2 couples of dependent drop-downs.
The 1st one, country/states, is a common one and does not need (ie it's better to not) to be generalized. It can be used as is. It needs some pieces which are all included, see comments and follow... 

The 2d, category/products, have been taken as example but is not a good candidate. What if you get much categ or/and products? Anyway it's a good OOTB example and I had it at hand, so I used it. I have tried to generalize (abstract the couple of dropdowns) and it's almost there. The only issue I crossed, is when you want to use a couple of dependent drop-downs in the same form. As it's not a common case, the setDependentDropdownValuesJs.ftl template-script can be used in most cases...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986370 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 16:18:24 +00:00
Jacques Le Roux f2fbad78d5 Improvement on r960336. Fix a problem reported by Scott on dev ML.
I tested locally, and I think I have done it right this time


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960491 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:10:19 +00:00
Jacques Le Roux 82aba53fa5 Improvement on r960336 (should fix a problem reported by Scott on dev ML.)
I tested locally, but I'm not quite sure it's sufficient


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960401 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 21:23:47 +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
Erwan de Ferrieres 58dbbf00fd new improvement for portals : administrative interface, same as ManagePortalPages but for all pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937230 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 10:18:41 +00:00
Erwan de Ferrieres 264d7b7099 Corrections on rev 935923
* corrected a wrong controller entry
* added a missing decorator (uiLabelDecorator)
* added a collapse button for the GenericScreenlet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936385 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 16:16:40 +00:00
Erwan de Ferrieres 6f2642a5dd Adding a whole set of generic portlets. Those are more designed to be customised
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935923 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 13:57:26 +00:00
Erwan de Ferrieres a290ba895d misc. corrections on portal :
* when editing a portlet, getting the previous values
* displaying portlets with the right order
* portletId was not retrieved in showPortlet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935898 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 13:04:17 +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
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
Bilgin Ismet Ibryam 4b60bfb7f9 Cleanup autocompleter fields. Removed type fields from the list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930707 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 16:06: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
Bruno Busco 203894c260 Added a new common menu "CommonButtonBarMenu". This should be extended to create the screens button menus.
Right now many of the button menus are written using container and link widgets.
Whenever some of them is replaced with a menu widget a CommonButtonBarMenu extension will ensure the proper menu styles.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925843 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 17:49:13 +00:00
Hans Bakker 3daaf0a95e show portlets with/without decorators
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925723 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 04:05:31 +00:00
Adam Heath f1c942842f Remove hard-coded BIZZNESS_TIME theme settings, so the default in
general.properties gets used.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915651 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 03:32:26 +00:00
Jacques Le Roux 90cb99c795 To be consistent with r915397 which switched default theme to TOMAHAWK.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915461 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 18:08:24 +00:00
Hans Bakker c021cd1379 corrected: used field name as a value for fieldname defaultCurrencyUomId as reported in OFBIZ-3482
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910460 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 10:45:16 +00:00
Bilgin Ismet Ibryam 1502b94baf Added autocomplete support to LookupLayerPopupDecorator screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907456 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 17:48:22 +00:00
Jacques Le Roux d34b256f41 While working at layering lookups I found that some of them are inappropriately named lookups and are actually lists (at least for now, locales, timezones and themes)
In this commit I rename them List (instead of Lookup) to avoid future confusion. If this has too much impact we may revert it of course...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907310 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 21:33:01 +00:00
Hans Bakker baeb94be10 removed framework dependency on the commonext component introduced in 816083 and as reported in he mailinglist by Adrian
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904970 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 03:59:51 +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
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