Commit Graph
60 Commits
Author SHA1 Message Date
Adrian Crum acfba61db1 Converted GenericDelegator concrete class references to Delegator interface references.
This commit requires ant clean. Also, external libraries that reference GenericDelegator will need to be updated.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@821643 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 00:08:27 +00:00
Ashish Vijaywargiya a391bc4d7a Encouraging use of Generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@818714 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 04:29:10 +00:00
Jacques Le Roux 908f1a521f Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacques Le Roux 3585b3ea94 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Jacopo Cappellato aaa4cfe1fc Fix for issue happening after that Xalan jars have been added to the classpath: namespaces were added to each and every element.
Thanks to Ashish Vijaywargiya for the bug report and tests.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@810857 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 09:55:14 +00:00
Ashish Vijaywargiya 39649df8b0 Added GUI for GoogleBaseConfig entity - CRUD Operations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@809582 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 13:31:27 +00:00
Ashish Vijaywargiya 058e9bd76c Moving screen definition to appropriate location.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@809555 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 12:24:10 +00:00
Ashish Vijaywargiya 9aa6627c3a Another update on Google Base.
Following things are done in this commit:

1) Added new entity GoogleBaseConfig and reading the values from there. Also kept option to read configuration values from property file.
2) Added new ProductCategoryType record for Google Base - Thanks Jacopo for your suggestion on this.
3) Prepared data for demo purpose in DemoProduct.xml file - This demo contains the association of few product with Google Category.
4) Also prepared demo data for GoogleBaseConfig entity.
5) Provided option to have default value of webSiteUrl on the GoogleExport form - for this refer productsExportToGoogle.groovy file.

Thanks Pranay for discussing few things with me in b/w this phase of development.

In next Commit I will provide UI for GoogleBaseConfig entity(CRUD operations) so it will be easy for end user to update values in this entity easily instead of moving to webtools and do the needful.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@809552 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 12:06:14 +00:00
Ashish Vijaywargiya 4edd8d70bb Done following things on Google Base in this pass:
1) Added the priority tag so Product should be published in 15 - 30 minutes on Google Base instead of waiting for 24 hours.
2) Added ProductType default values - I have put a TODO in code and will work on that thing soon.
The correct product type selection is very important - This helps to enlist product in the resultant list easily or we can say fast.
3) Batch tag was not being created right in the generated string. Fixed that issue.

So the final sring looks like as shown below (Only for single product export): 

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://purl.org/atom/app#" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:g="http://base.google.com/ns/1.0" xmlns:gm="http://base.google.com/ns-metadata/1.0" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">
    <entry>
        <batch:operation type="insert"/>
        <app:control>
            <gm:publishing_priority>high</gm:publishing_priority>
        </app:control>
        <title>Round Gizmo</title>
        <content type="xhtml">Round Gizmo</content>
        <g:id>http://demo.ofbiz.org/ecommerce/control/product/~product_id=GZ-2644</g:id>
        <link href="http://demo.ofbiz.org/ecommerce/control/product/~product_id=GZ-2644" rel="alternate" type="text/html"/>
        <g:item_type>products</g:item_type>
        <g:product_type>Electronics</g:product_type>
        <g:product_type>Business &amp; Industrial</g:product_type>
        <g:price>38.40000000000</g:price>
        <g:currency>USD</g:currency>
        <g:target_country>US</g:target_country>
        <g:condition>new</g:condition>
        <g:image_link>http://demo.ofbiz.org/images/products/large/web_browser.png</g:image_link>
    </entry>
</feed>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@808331 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:04:55 +00:00
Ashish Vijaywargiya 19b36cca1b Few more modifications in google base code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@808099 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:20:35 +00:00
Ashish Vijaywargiya 2dc135a6ac More imporvement in Google Base code to support namespace specific tags along with the generated XML feed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@808053 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:28:10 +00:00
Ashish Vijaywargiya 74aace60c0 The google base code was broken.
In the previous code the namespace specific tag support was not present in UtilXml so google base server was not accepting the request coming in the form <item_type>. The correct tag will be <g:item_type>.
Also did minor modification in code to avoid NPE.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@807959 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 10:55:53 +00:00
Adrian Crum 5573fdfbdd Chinese translation for the specialpurpose folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2723.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@798580 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 15:59:04 +00:00
Jacques Le Roux 2693f9eddb Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux 97bb3073c9 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/specialpurpose@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux 4fb56aa2f7 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Jacques Le Roux 9e8fe90fd5 Securing URLs, link element in screens and menus : 22th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@761214 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:14:40 +00:00
Jacques Le Roux c54fcd6aa7 Securing URLs, link element in screens and menus : 10th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@760787 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 05:50:07 +00:00
Adam Heath a8a35e8202 Fix lines that *only* have whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@759260 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 17:02:10 +00:00
Adam Heath 77663ead41 Fix purely empty whitespace lines, and remove trailing whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@757100 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:47:49 +00:00
Jacques Le Roux a27e48ff47 All tabs to 4 spaces in *.groovy, *.java, *.xml
Done with Eclipse S/R "\t"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@755696 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 18:43:49 +00:00
Bruno Busco cde214ae99 Changed WebSiteId parameter description to be more general
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Jacques Le Roux 3b088bf178 catch( => catch(
}else => } else

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:55:43 +00:00
Jacques Le Roux cd43ec38c9 while( => while (
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@750998 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:38:03 +00:00
Hans Bakker 59e2ae640a rename applicationext component to commonext
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@748388 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 04:05:47 +00:00
Hans Bakker 88631b87de introduction of a common component for applications. moved the 2 lines containing party info to this component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@748144 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 13:36:51 +00:00
Hans Bakker 72e3f958cd improvement with exception handling, double -> bigdecimal, error message improvement. Component now communicates with google again. Todo:google is complaining some data is missng...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@745399 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 07:42:59 +00:00
Bruno Busco 55a2ae8011 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/specialpurpose@744502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 14:35:56 +00:00
Marco Risaliti d70190adad Artifact cleaning on various specialpurpose components after recent changes on xsd files (OFBIZ-2137)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@739779 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 15:21:46 +00:00
Jacques Le Roux 6e7499e197 <if-empty field-name= => <if-empty field=
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@739739 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:07:47 +00:00
Jacques Le Roux ea40a85e51 <entity-one entity-name=(.*)value-name => <entity-one entity-name=$1value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@739732 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 10:27:43 +00:00
Bruno Busco 5ebdbbf122 - Extended Google Base AppBar from CommonAppBarMenu
- Removed redundand inclusion of StyleSheets and JavaScript (already done in GlobalDecorato). The explicit inclusion of the default maincss.css was the cause of the wrong rendering of the Menu with the new bluelight theme.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@737492 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 09:07:32 +00:00
Marco Risaliti f91ea8186d A lot of cleaning into MyPage/MyPortal/Pos/ProjectMgr components and some italian translations (Part of OFBIZ-1780)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@735131 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 21:03:44 +00:00
Hans Bakker 7dd1f1b65a show the component name at the login screen for all components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@734074 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 08:47:35 +00:00
Jacques Le Roux ee0ed02999 French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@728914 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 10:04:42 +00:00
Jacques Le Roux fd8816ed9e A modified patch from Erik Wegner "Patch for all language files (*Labels.xml) to correct language order, find duplicates or invalid entries" (https://issues.apache.org/jira/browse/OFBIZ-2073) - OFBIZ-2073
I removed some hunks, see https://issues.apache.org/jira/browse/OFBIZ-2073?focusedCommentId=12656651#action_12656651



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@726808 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 21:28:06 +00:00
Bilgin Ismet Ibryam 1ac17d0852 A patch from Bruno Busco "Replacement of FTL TabBars with menus widgets in catalog application" OFBIZ-1950.
The patch contains also a style change, which works fine with FF3 and IE7.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@705940 13f79535-47bb-0310-9956-ffa450edef68
2008-10-19 00:22:57 +00:00
Jacques Le Roux 8f97f4037c More consistent French translation for User Login and misc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@705926 13f79535-47bb-0310-9956-ffa450edef68
2008-10-18 21:29:17 +00:00
Adam Heath 5e00789519 No longer *copy* the extra support files into the classes dir;
instead, just add them straight to the final jar.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Bilgin Ismet Ibryam 6e5b4e4fc7 Applied the patch from JIRA Issue # OFBIZ-1918 "Unable to go on the find screen of google base component." reported by Ravindra Mandre.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@685121 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 11:34:42 +00:00
Adam Heath f1ba2a8694 Another minor optimization; no longer need to specify classpathref in
all the build.xml files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Jacopo Cappellato 496b991873 Fixed bug reported by Sam Hamilton in the dev ml.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@674413 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 07:53:38 +00:00
Adam Heath f4db945fe7 The build.xml files are now much smaller and simpler; they reuse a
few global definitions.  1585 lines removed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Bilgin Ismet Ibryam 07d49c9920 Replaced col-right style with opposed from my previous commit and other places. Thanks to Adrian for pointing out.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@668202 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 15:43:11 +00:00
David E. Jones 29242ccc12 Finally deprecating the old workflow engine which hasnt been used in years; moving it to the specialpurpose directory and have pulled out the order task list stuff in the order manager that used to use it and though that stuff still exists the controller entries and such are in comments in the screen def file; also moved shark to the specialpurpose directory as it is also rarely used and is not used in any OFBiz applications as it requires LGPL libraries, among other issues that leave it short of complete
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@665981 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 04:53:52 +00:00
Scott Gray d67768af21 Replaced the Tigra calendar with Calendar Date Select (http://code.google.com/p/calendardateselect/) - OFBIZ-1808
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@663501 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 08:45:10 +00:00
David E. Jones 56eae1f8cf More cleanups of now deprecated constructors and what what
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@660844 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:24:25 +00:00
Scott Gray eab8d7f1c7 Removed the rest of the calls to deprecated GenericDelegator methods, except for the findListIteratorByCondition which takes a DynamicViewEntity as a parameter not sure what to do about that one.
There's still all the bsh files to check though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@655235 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 03:29:04 +00:00
Jacopo Cappellato 1102666aeb New attributes for the webapp element in the ofbiz-component.xml files: description, menu-name and position.
menu-name is used to separate the menu items in different menus, the position element che be used to sort them (alphanumerically) in the group.
There are now two menu groups: "main", for the main applications, in the top bar, and "secondary" for applications (specialized or not still 'mature'), in the footer. 
Thanks to Bilgim Ibryam for the patch OFBIZ-1714, that I have committed with a few changes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@640307 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 04:07:34 +00:00
Christian Geisert c271e44816 Setting svn properties (svn:eol-style,svn:mime-type,svn:keywords)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@634226 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 11:33:26 +00:00