Commit Graph
56 Commits
Author SHA1 Message Date
Ashish Vijaywargiya d267053dc7 Applied two patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods. Thanks Arun for your recent contribution where you have included changes from specialpurpose and product component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647937 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 06:54:50 +00:00
Ashish Vijaywargiya aff06fcbc6 Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacques Le Roux 438fb59265 Puts a better comment in templates/web.xml
Remove useless and confusing websiteId in web.xml files

I did not remove some others, but I believe they don't make sense as they are.
Take for instance those data
<WebSite webSiteId="EBAY_STORE1" siteName="eBay Store1" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90101"/>
<WebSite webSiteId="EBAY_STORE2" siteName="eBay Store2" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90102"/>
<WebSite webSiteId="GOOGLEBASE" standardContentPrefix="http://demo.ofbiz.org" productStoreId="9000" />

Sorry but http://demo.ofbiz.org/ leads nowhere!

And do we need to keep those referring to productStoreId="9000" in web.xml files? They have not their own webapps
<WebSite webSiteId="CmsSite" siteName="CMS Web Site"/>
<WebSite webSiteId="OfbizSite" siteName="OFBiz Web Site"/>
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />

I think we should keep in web.xml files, only ecommerce/clone and webPos (uses POS store)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526686 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 21:07:10 +00:00
Adam Heath 05383b9311 DEPRECATION: specialpurpose/assetmaint: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343491 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:14:29 +00:00
Hans Bakker 0a59303a34 remove the rest of the website definitions from seed data, the ones that are left are in the demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158099 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 03:43:06 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +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
Vikas Mayur fc0ce521d0 Added missing svn properties to files under assetmaint component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915274 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 10:45:08 +00:00
Ashish Vijaywargiya 64d8c49966 Applied patch from jira issue - OFBIZ-3380 - Convert simple events in FixedAssetMaintEvents.xml to services.
Thanks Mridul for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893756 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 13:21:59 +00:00
Hans Bakker 1269be8503 tested asset maint component for new calendar porlet and found unused controller entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791109 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 12:07:26 +00:00
Jacques Le Roux 08134723d2 In Controller.xml
path="org/ofbiz/(\w*)/(.*)" (.*) => path="component://$1/script/org/ofbiz/$1/$2" $3
path="org/ofbiz/(\w*)/(.*)" => path="component://$1/script/org/ofbiz/$1/$2"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765798 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 23:07:52 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Bruno Busco a36cb4dd3e Changed WebSiteId parameter description to be more general
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Marco Risaliti 7712182402 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746406 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 22:53:32 +00:00
Marco Risaliti 201290e8db A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746341 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 19:11:06 +00:00
Bruno Busco 87958df45c Added webSiteId definition for every webapp.
This will be used to link online help pages to OFBiz screens.
The webSiteId will also be used to associate VisualThemeSets to webapps.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 14:35:56 +00:00
Bruno Busco 843ebe1f7e Replaced appheader.ftl with a standard AppBar menu widget in Assetmaint application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735543 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 20:59:50 +00:00
Anil Patel 8f390f4f59 First version of application for tracking IS assets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@720118 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 06:07:28 +00:00
Adrian Crum 8605f51560 Reverted part of my previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701151 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 15:20:28 +00:00
Adrian Crum 8668dc0f49 Fixed problem with Asset Maintenance screens, reported by ChristopherJ on the user mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701143 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 15:06:54 +00:00
Adrian Crum 9214c344f6 Added missing error.jsp file to the Asset Maint component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@700805 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 15:04:11 +00:00
Marco Risaliti a2abd9f9f2 Convert a bsh script to groovy.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@697423 13f79535-47bb-0310-9956-ffa450edef68
2008-09-20 21:26:16 +00:00
Scott Gray c98e7dc59f Removed unnecessary "error" response elements from the controller files, if no event is defined then "success" will always be the response name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686577 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:00:49 +00:00
Adrian Crum 0e6044098d Updated the Asset Maintenance component to use the new Facility screen. I also removed the restriction that displayed only Warehouse facility types.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680018 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 17:24:53 +00:00
Adrian Crum f0637b264b Some fixups in Asset Maintenance.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679258 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 01:01:17 +00:00
Adrian Crum 7c21b6ae17 Some Asset Maint fixups based on the previous commit. Now the Asset Maint calendar works better.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677758 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 22:08:26 +00:00
Adrian Crum 2325671d8c More Asset Maint work - eliminated redundant controller.xml entries, fixed a Fixed Asset screen reuse issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677639 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 17:09:29 +00:00
Adrian Crum 765fbfd2db More work in the Asset Maintenance component:
1. Eliminated UI label redefinitions.
2. Fixed a bug I introduced in a previous commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677012 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 19:20:15 +00:00
Adrian Crum caec38b735 Asset Maintenance improvements:
1. Demo Data.
2. Product Maintenance screen.
3. Fixed non-functional product lookup buttons

Internationalization note: this commit contains a new UI label.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673532 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 22:37:58 +00:00
Adrian Crum 395ebdb032 Asset Maintenance functional change. Maintenance tasks were assigned to the currently logged-in user and there was no way to assign them to other parties. This commit adds that capability, plus it adds asset maintenance specific party roles. The Edit Task screen is much improved.
Internationalization note: this commit contains a new UI label.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@666189 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 16:41:04 +00:00
Adrian Crum ba9712bf0c More UI work in the Asset Maintenance component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@664377 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 20:03:44 +00:00
Adrian Crum 48ad91247e More UI work on Asset Maintenance. Better re-use of existing screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663785 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 23:36:48 +00:00
Adrian Crum aac9a3a774 More work on the Asset Maintenance component. I added a task list screen and made it the main (initial) screen. It seems to me a maintenance worker would want to see his/her tasks first.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662931 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 00:10:24 +00:00
Adrian Crum e51600f312 Oops, I accidentally disabled the Find Maintenances screen in my last Asset Maint commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662866 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 19:52:29 +00:00
Adrian Crum 974e15d4a5 Changes to Asset Maint component to re-use existing screens better.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662307 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 02:05:07 +00:00
David E. Jones 05d4eb1eb1 More cleanups of now deprecated constructors and what what
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660844 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:24:25 +00:00
Adrian Crum cdc36e86ea Updated the Asset Maint component to reuse existing screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658473 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 22:43:21 +00:00
Adrian Crum 3fdb19f5d0 Updated Asset Maintenance report to use new FOP decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602519 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:28:35 +00:00
Adrian Crum bececad582 Fixed print Maintenance.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@595906 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 04:11:59 +00:00
Adrian Crum 085e65e5b8 Eliminated redundant code by switching components over to the common login and password change screens. I didn't change the hand held component - since it will probably need its own login screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588474 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 02:29:49 +00:00
Adrian Crum 4503af892a Step two of OFBIZ-1230. Reduced redundant code by including common-requests.xml in each component's controller.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 17:25:42 +00:00
Adrian Crum 1647f500c8 Functional change. I replaced the existing Asset Maintenance calendar feature with one that displays maintenance tasks. The previous calendar only displayed production capacity - not very meaningful for this component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574663 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 18:46:09 +00:00
Adrian Crum 5ede42cffb Some UI changes to the Asset Maintenance screens - I made the component look more like the other components. No functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573018 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 18:12:52 +00:00
Anil Patel cb797951d7 modified to use workeffort lookup that has limited fields applicable to the context.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569783 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 09:16:54 +00:00
Jacopo Cappellato 4e8e2dac8e Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
Jacopo Cappellato 93f726c106 Added index.jsp files (used to redirect to control/main) to a few applications. Thanks to Ashish Vijaywargiya for the initila patch. OFBIZ-1052
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543441 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 09:18:14 +00:00
Jacques Le Roux 7d5f071fbe A patch from Ashish Vijaywargiya refactored by Adrian Crum "AssetMaint Component UI Improvement." (https://issues.apache.org/jira/browse/OFBIZ-981)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540865 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 07:08:08 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacopo Cappellato afd04bd768 Enabled support to 'screenfop' view definitions for several output types supported by FOP; they are defined using the content-type attribute in the controller's view definition (application/pdf is the default)); try for example:
application/postscript
application/x-pcl
...
This is the first step toward providing print support for laser/barcode printers.
The change is backward compatible with all the existing view definitions, however I had to update all the controller xml files because I've renamed the view handler class name from ScreenFopPdfViewHandler to ScreenFopViewHandler, to better describe its role in the framework.
OFBIZ-823


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519268 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 09:17:54 +00:00
David E. Jones 02cf351f8e Applied patch from Anil Patel for printing a fixed asset maint; Jira #OFBIZ-748
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516580 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 22:05:46 +00:00