Commit Graph
167 Commits
Author SHA1 Message Date
Hans Bakker 56323a459b make the webtools screens use the decorator location from web.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1455024 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 07:35:16 +00:00
Jacques Le Roux 4bc9aff69c Complete the server hour on webtools jobs list, with the help of Adrian and Atul
Remarks: 
* Finally date.format-1.2.3-min.js is quite useful
* I renamed the getServerHour service to getServerTimestamp. It now returns a Long, easier to parse to a date in javascript
* I renamed WindowClockJs.ftl to ServerHour24HourFormatJs.ftl

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1427233 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 19:50:54 +00:00
Jacques Le Roux 98f9905f0b Complete the work on server hour for the webtools job list.
* Now uses real server hour
* Renames getDependentDropdownValues.js into miscAjaxFunctions.js, that it is really
* Introduces a minimized version of date.format: date.format-1.2.3-min.js


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1426904 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 07:33:26 +00:00
Jacques Le Roux e1841ff96b I wanted to have the server hour on the webtools job list, not a bid deal, hé?
As ever, turns it's always more complicated than thought. 
For instance jQuery, even with $.datepicker.formatDate, is not able to format a date + time correctly :/
So I added a new js script: date.format-1.2.3.js. It's only 4kb, I tried to compress it online, did not work, gave up.

This is pretty basic, enough for the needs and can be easily extended when more is needed

5 mins later:

Yikes, this was pretty stupid. I completly forgot about what I thought 2 weeks ago: it's from the server I need the date-time, so I need a json service.
Then, today, I completly forgot about it, and thought again: OK, it will consume less ressources w/out a service, if  I only use javascript. A senior moment  I guess :/

I will rewrite that later, to have the real server hour...
However, the mechanism I quickly built can still be pretty useful in some cases...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1426848 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 22:08:19 +00:00
Adrian Crum b499717344 Updated Web Tools Thread List screen to reflect changes in the Job Scheduler.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374625 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 18:06:44 +00:00
Jacopo Cappellato 8693969ac4 Refactored the very old code in the org.ofbiz.service.job package to leverage the Executor framework of java.util.concurrent rather than relying on ad-hoc synchronization and thread management: the new code is simpler, smaller and it is now easier to review and change the execution policy; two attributes of service-config.xsd have been deprecated as they are not used in the new version ("jobs" and "wait-millis").
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362422 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 09:20:42 +00:00
Adrian Crum cfc9f619c3 New feature - performance metrics. Webtools UI.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361724 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:09:26 +00:00
Jacques Le Roux feecb15093 "Housekeeping of jar files" https://issues.apache.org/jira/browse/OFBIZ-4833
Moves Minerva and XAPool to Attic

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1356471 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 20:29:54 +00:00
Jacopo Cappellato 6ba24ed4bc As discussed in the dev list a few months ago, this commits removes Seleniumxml from the trunk.
Seleniumxml was a subcomponent of the framework/testtools intended to facilitate the usage of Selenium tests in OFBiz.
However it was never upgraded to the new version of Selenium and it has not been widely adopted by the community; the OFBiz community agreed to remove components/tools like this from the core distribution if they are optional/very specific or not well maintained or if there is (as in the case of Selenium) a valid external alternative to perform the same actions.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1354380 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 09:19:20 +00:00
Jacopo Cappellato fc099856c1 Small enhancements to the job search form (drop down maintains last selected value for all fields) and to the schedule job form (max retry is set to 0 by default to avoid to run forever on error by default).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1353898 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 09:46:58 +00:00
Jacopo Cappellato 6684c46b74 Improved memory usage information in the webtools->cache screen: the approx size in bytes is now shown for each cache in the list and the total memeory used by caches is also reported at the top of the screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352578 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 15:46:49 +00:00
Jacopo Cappellato 99d58d0330 Implemented screen that shows details about JobSandbox records, including their input data (RuntimeData.runtimeInfo deserialized) if available.
)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352171 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 15:53:39 +00:00
Jacques Le Roux 720578ecf3 Replaces all remaining title="${uiLabelMap.CommonEmptyHeader}" by title=" ", and specific case in ListPartyCommEvents
This closes the CommonEmptyHeader chapter

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Jacques Le Roux 9ee7384202 Adrian suggested to removes all widget-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340385 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:32:48 +00:00
Jacques Le Roux 028b8497d8 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="smallSubmit"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340374 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:48:24 +00:00
Jacques Le Roux 3369dca046 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Jacopo Cappellato cef1cccf82 OFBIZ-4864
* enabled by default the DebugManagedDataSource wrapper around ManagedDataSource
* enhanced the DebugManagedDataSource wrapper to:
** print log messages only at verbose level (instead of always as it was before)
** if possible print additional information about the connection status
** added new method that returns information about the connection pool settings/status
* added new static method to DBCPConnectionFactory to return information about the pools
* new screen in the webtools where information about each pool/helper is shown
The information provided by the screen can be very useful to analyze the status of the connection pools.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338230 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 14:45:43 +00:00
Jacques Le Roux c3443466d3 Minor Webtools improvements. I was actually trying to see why client-autocomplete-field was not working on SERVICE_NAME runService form field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1325701 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 10:04:50 +00:00
Ashish Vijaywargiya 692d148175 Adding support of securityGroupId on portal admin screen. securityGroupId field support is available in PortalPage entity. Thanks Ankush.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1309519 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 18:27:32 +00:00
Jacopo Cappellato 172d49de9b Improved ui flow for "run service" requests: when an error occurs it returns to the "run service" screen instead of the "submit job" screen (OFBIZ-3571)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1214680 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 10:00:12 +00:00
Jacques Le Roux a410f8fd1d Fix a bug here, there was a circular reference to EditGeo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182308 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 10:55:52 +00:00
Jacques Le Roux da9f389cb5 A small change to more easily see current pending jobs and possibly cancel some others while canceling one manually
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103667 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 10:03:39 +00:00
Bruno Busco 258ace98d6 No funtional changes only layout.
Screenlet title bars and H1 titles have been removed when they simply duplicate the tab menu.
Fixed some missing tab menu highlighting.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098406 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 20:38:38 +00:00
Adrian Crum 050ef03215 Partially revert a change made in rev 894330 - put multi-column screen elements back in the GlobalDecorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082004 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 23:49:07 +00:00
Bruno Busco 692f251bee Added other button styles in the Layout demo.
Added Italian localization.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065018 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 14:22:28 +00:00
Adrian Crum 2e1ad5b135 Fixed Freemarker-generated list navigation introduced in rev 930660. That code never worked. Also fixed some Webtools FindGeneric screen issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064944 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 02:35:22 +00:00
Adrian Crum 74cb3f0103 Made the Find Screen "Search Results" text match the "Search Options" text. Also includes a layout demo and the CSS changes needed for the Flat Grey visual theme.
This is kind of kludgy. We need a screenlet-title style.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 23:09:37 +00:00
Adrian Crum c9c512948a One more fixup for the Layout Demo page move.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060923 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 19:33:55 +00:00
Adrian Crum f4e001a3fe Fix screenlet title in Layout Demo screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060703 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 07:56:27 +00:00
Adrian Crum 4c01ad9512 Moved new layout demo page to Webtools component. After thinking about it, Webtools seemed to be a more logical place to put it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060219 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 07:25:06 +00:00
Adrian Crum 3b8d628d9b Small fixup for my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053265 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 05:44:20 +00:00
Adrian Crum 17e1916e8a Finished moving security-related UI artifacts to the common component, plus added a Security UI to the webtools component.
Internationalization note: This commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053259 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 05:19:49 +00:00
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
Adam Heath d241a1049a Fix several xml files that had DOS line endings; converted them to UNIX,
so that on fresh checkouts they will be auto-converted to native.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040833 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 00:15:17 +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
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 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
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 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