Commit Graph
1089 Commits
Author SHA1 Message Date
Ashish Vijaywargiya 468b6ec109 Bug fix.
Removed hard coded viewSize value from FindGeneric.groovy file. If viewSize is not available in parameters then read defaultViewSize from widget.properties and set it as a viewSize. Hard coded view size create inconsistency in pagination. i.e If result contains 15 items then view size displayed in dropdown is 20 and only (1 - 10 of 15 ) items displayed as a search result.

Thanks Deepak & Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040091 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 12:46:58 +00:00
Jacques Le Roux 66c5dd10a0 A patch from Dukian "Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup" (https://issues.apache.org/jira/browse/OFBIZ-4031) - OFBIZ-4031
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039574 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 21:56:14 +00:00
Jacques Le Roux 03515798f6 A patch from Eric de Maulde "Service Engine can't display sendMail service" (https://issues.apache.org/jira/browse/OFBIZ-4019) - OFBIZ-4019
There's an error into file AvailableServices.groovy to open sendMail service


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037560 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 21:12:43 +00:00
Bruno Busco f5b9ee91e0 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1030271 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 22:52:35 +00:00
Bruno Busco 8fa35dff06 Added proper menu button styles
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1029281 13f79535-47bb-0310-9956-ffa450edef68
2010-10-31 09:19:30 +00:00
Bruno Busco 8c89d58f9a Removed uiLabelDecorators. This is a pattern that should not be used. It does not really help but creates dependences instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023430 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 07:42:36 +00:00
Bruno Busco f365825491 Replaced permission PORTALPAGE_MAINT with PORTALPAGE_ADMIN
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023344 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 18:22:43 +00:00
Bruno Busco bc9f49bf3f Used include-portal-page widget in Portal Admin Screen.
Removed editPortalPage.ftl not needed any more.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023285 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 14:01:19 +00:00
Bruno Busco 16388ee23a Commented lookup reference to "LookupUserLoginAndPartyDetails" in the EditPortalPage form.
This lookup was not present (in the same file) and caused an exception whenever the form was showed.
I did not change it to reference to the LookupUserLoginAndPartyDetails in the Party component because this would add a framework dependence from Party.
If we decide to put a part of the Party component in the framework the lookup can be used again.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1022725 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 21:26:40 +00:00
Jacques Le Roux e09edea40a I had reversed the 2 events
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000638 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 21:31:25 +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 e842192d80 Better French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1000521 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 16:16:19 +00:00
Bruno Busco c48b8741de - Used the standard Find screen/forms pattern for FindPortalPage screen.
- Added localization of all fields.
- Enabled sorting on all columns of the PortalPages list
- Added missing column fields in the PortalPages list

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@998747 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 22:44:51 +00:00
Bruno Busco 45bce4d112 Removed request "ManagePortalPagesAdm" in WebTools. This is not used any more.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@998746 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 22:41:57 +00:00
Bruno Busco 44d6f3b2d1 - Removed more ***Adm requests from webtools application. Used view-last/save-last-view pattern instead to have the same portlet handling requests usable from everywhere.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@998691 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 16:13:12 +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 845121a07e Removed all AddPortletAdm stuff from webtools application (request, view-map and screen).
There is no need of such a duplication, since the AddPortlet features already available in the common component is now usable from every application thanks to the view-last/save-last-view pattern.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@998618 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 08:55:17 +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
Erwan de Ferrieres cd6c9502c2 OFBIZ-3912 -- Impossible to check DB by webtools https://issues.apache.org/jira/browse/OFBIZ-3912 -- A patch from Nicolas Malin\n DatabaseUtil needs a GenericHelperInfo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993407 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 16:02:38 +00:00
Bruno Busco cca950be37 Converted WebTools->Logs->Service logs screen from FTL to form widget
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992791 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 14:19:11 +00:00
Bruno Busco 05113af8b5 Converted WebTools->Entity performance test screens from FTL to form widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992785 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 13:54:46 +00:00
Bruno Busco 4a5126fd9c Added some content to the WebTools main help page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992720 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 07:59:03 +00:00
Bruno Busco 610b0291bc Added column sorting feature to WebTools cache forms.
It should be further improved since at the moment numbers are sorted as strings (10 is sorted before 2).
This is a new pattern that can be used to sort columns in forms where data come from Maps not directly retrieved from Entities.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992682 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 21:19:56 +00:00
Bruno Busco de3b9362a8 Changed indentation from 2 to 4 spaces.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992615 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 14:48:12 +00:00
Bruno Busco 1eecb10890 Converted WebTools->Cache screens from FTL to form widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992613 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 14:37:32 +00:00
Bruno Busco 9b22452922 Converted WebTools->Statistics screens from FTL to form widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992491 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 21:58:57 +00:00
Bruno Busco 156d8b1a74 Converted part of thread list screen from FTL to form widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992447 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 20:05:55 +00:00
Bruno Busco fbbe6a7c31 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992400 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 18:14:28 +00:00
Scott Gray 2dcb051ff1 Minor groovy tidy up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990343 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 11:21:33 +00:00
Jacques Le Roux 910296c01f A patch from Sascha Rodekamp "Xml Ds Dump Iterator Fix - Webtools" (https://issues.apache.org/jira/browse/OFBIZ-3906) - OFBIZ-3906
Issue with the Xml Export: it seems that there is an issue with the each() loop in Groovy, during the export OFBiz throws a lot of warnings which regards to an wrong used iterator. 
So i changed the each() loop into a normal iterator which solves the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990339 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 10:53:03 +00:00
Jacques Le Roux dc96c0990c Fix a bug when there are no comments at all.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989166 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 15:19:05 +00:00
Bruno Busco b7ea12ceba Enabled column sorting feature to temporal expression screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988443 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 09:03:37 +00:00
Bruno Busco 4300a7aae9 Fixed TabBar menus highlights in WebTools configuration screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988434 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 08:47:40 +00:00
Jacques Le Roux 4ced84dd08 A patch from Karl Pitrich "When editing Portal Pages, Drag & Drop for Portlets does not work" (https://issues.apache.org/jira/browse/OFBIZ-3889) - OFBIZ-3889
When editing Portlet Pages, either in MyPortal or PortalAdm, Drag & Drop of Portlets does not work.
Where are several Issues in the MyPortal, some have fixes, none is commited to trunk.

Problems:

    * in myportal.js, function getDestinationInformationPortlets(): DOM ID's are not handled correctly
    * in framework/webtools/widget/PortalAdmScreens.xml: required javascript + css files are not included


JLR: 
While working on this I have found other issues: the login.ftl files used in hhfacility and myportal were not tenant enabled. They are different  but by chance in myportal very close to common so I was finally able  to do both at along with  Karl's changes. Actually I wanted to do 2 commits but forget to uncheck the files while doing a second attempt to commit.

MyPortal
 * The login process in MyPortal was not tenant enabled, it's done in this commit.
 * I kept its specificity : newRegisterLogin and wonder why it has not been extended to common?

hhfacility
The login process in hhfacility was not tenant enabled, it's done in this commit. Doing so, I saw there i18n is not done, not an issue for me...







git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985163 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 11:43:38 +00:00
Adam Heath da0da53f2a Fix importing of data in webtools xml file import.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982871 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:47:01 +00:00
Adrian Crum de50263021 Built out the new service parameter description feature. Descriptions defined in service interfaces are not being copied to the implementations - so that needs to be fixed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981067 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 15:16:46 +00:00
Scott Gray 4448c4a866 No functional changes, just removing a whole bunch of unused imports and reorganizing them along the way.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981019 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 08:28:34 +00:00
Jacques Le Roux 4c6376259c Fix r979204 on Adam's remarks in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@979430 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 20:24:28 +00:00
Jacques Le Roux a81e990353 A patch from Deyan Tsvetanov "Service SaveLabelsToXmlFile omits labels for new locales that did not exist prior to calling service" (https://issues.apache.org/jira/browse/OFBIZ-3869) - OFBIZ-3869
1) Use LabelManagerFactory and try to add labels for a locale that does not exist in the resource bundles - for example en_US.
2) Invoke the service SaveLabelsToXmlFile

Expected behavior: the resource bundle should contain the newly added locales
Experienced behavior: the resource bundle does not contain the labels for the newly added locales. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@979204 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 09:01:56 +00:00
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
Adam Heath 92d004a866 Fix open file leak; the InputSource is only processed when a freemarker
template is given, so only attempt to create one if a template has been
specified.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965916 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:14:17 +00:00
Adam Heath 76e9fc1b9a Remove use of deprecated ModelIindex.getIndexFieldsIterator().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958272 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:29 +00:00
Jacques Le Roux 9ef845d0ad A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Erwan de Ferrieres 928f68c016 Unexistant uilabel was used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953326 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 14:06:37 +00:00
Adam Heath 9cc1b3e521 Revert wrongly committed 950265
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950269 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 21:55:59 +00:00
Adam Heath 0a84a9166c Minor fixes to make webtools work underneath webslinger(not ready to go
public).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950265 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 21:47:24 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Jacques Le Roux f59221875d Fix a bug due to multi-tenant introduction. I guess this bug appears only if you use the multi-tenant mode.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947988 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 09:53:56 +00:00
Erwan de Ferrieres 1769a48bb1 Missing screen when using the portal admin in webtools
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945728 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 16:10:10 +00:00
Jacques Le Roux df9963f0e5 A patch from Nicolas Malin "Pass eCommerce label to Common Label" https://issues.apache.org/jira/browse/OFBIZ-3694 - OFBIZ-3694
Some labels changes, no functional changes



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942818 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 16:41:18 +00:00