Adrian Crum
e4ee374a66
Conversion from java.util.Calendar to com.ibm.icu.util.Calendar. I didn't convert the Cloud component - I wasn't sure if the Calendar class was being passed through SOAP.
...
OFBiz users who have modifications or add-ons can make the same substitution to get them to compile.
I'll let the dust settle from this, then I'll add the user-selected calendar capability.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792987 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 15:39:21 +00:00
Scott Gray
dec24b29f2
Sorry for the big commit, got a bit carried away.
...
Added override and deprecated annotations wherever they were missing
Removed the use of any deprecated classes/methods (except OutputFormat in UtilXml)
A few other random generics and misc. cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791212 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 10:01:19 +00:00
Jacopo Cappellato
5352416ef6
Misc fixes for the Content template/layout code; still a huge lot to do, but at least now it is possible to create a new "layout".
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@782999 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 13:37:32 +00:00
Jacopo Cappellato
3a0d7af071
Removed empty service class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@782939 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 10:02:50 +00:00
Christian Geisert
4dafa44a64
fixed eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778786 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 16:11:43 +00:00
Scott Gray
06c71fa49d
changed location to component:// style
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778566 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 06:04:42 +00:00
David E. Jones
516f6ab653
Fixed issue with classpath reference to the ContentManagementMapProcessors.xml file which was embedded in a Java file; now the ecommerce factoids will render again
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772404 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 19:08:10 +00:00
Ashish Vijaywargiya
82780cedae
Applied patch from Jira issue OFBIZ-1901 (Class cast exception on doing survey [ take survey ] on Customer Profile).
...
Framework part has been committed by Jacopo and here is the code snippet changes in applications & special purpose.
Thanks to Vikas Mayur for working on framework part.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766293 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 10:40:40 +00:00
Hans Bakker
cde952f0db
improve form, remove debug messages and show with demo data how to render an xml datResourceId using an ftl dataResourceId as template
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766217 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 05:33:50 +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
Adam Heath
2549d29560
Fix lines that *only* have whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759248 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 17:00:22 +00:00
Adam Heath
cee09e0576
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757086 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:43:51 +00:00
Jacques Le Roux
0e0519e802
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@755696 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 18:43:49 +00:00
David E. Jones
34f9e0a0f6
Added link-type=hidden-form attribute and parameter sub-element to the menu and screen widget link elements; some refactoring and cleanup to avoid too much code redundancy in this (though there is certainly still quite a bit here); changes the MyPortalMenus.xml#CommSubTabBar to use this since it is an example reported by Bilgin; WARNING: I don't have a good test case for this so testing from Bilgin or I guess Hans would be very appreciated
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755022 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 22:12:30 +00:00
David E. Jones
f3a4873431
Changed SurveyWrapper to support rendering from a flexible location, ie component://, and changed DemoSurvey data to use component://; fixes issue with ecommerce now that it is in specialpurpose instead of applications
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754536 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:53:00 +00:00
Jacques Le Roux
f796e230d2
catch( => catch(
...
}else => } else
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:55:43 +00:00
Jacques Le Roux
dfebb46e4b
}else{ => } else {
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751004 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:51:02 +00:00
Jacques Le Roux
c9d918afa2
}catch => } catch
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751003 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:50:08 +00:00
Jacques Le Roux
ec8e04ad01
try{ => try {
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751002 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:49:18 +00:00
Jacques Le Roux
639a784790
while( => while (
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750998 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:38:03 +00:00
Jacques Le Roux
fc6db9e886
if( => if (
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750997 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:36:09 +00:00
Jacques Le Roux
13a934f823
In spirit of Adam's r749341 and following http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#489
...
The idea is also that a lot of code is duplicated and then changed (copy/paste). Hence having a rightly formatted code help to keep it rightly formatted
1st (simple) step : ){ => ) { (I checked all occurrences but of course other pairs of eyeballs are welcome)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:31:13 +00:00
Marco Risaliti
3741b557f7
Fix wrong package name of ConvertTree java class and changes tabs to 4 spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746337 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 18:54:49 +00:00
Jacques Le Roux
9494db14ae
Fix some bugs and misc. (not sure about functionalities, at least now it does not hang)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745890 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 14:59:58 +00:00
Hans Bakker
564527ce31
add a content navigation tree, demo data and including a DOS tree conversion program to be able to mimic an office file server
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745407 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:04:48 +00:00
David E. Jones
f27b4eeaaa
No functional changes, just reorganizing code: moved email services from content to the framework/common component except the CommunicationEvent related ones which are now in the party component along with other CommunicationEvent resources; changed framework components so that webapp no longer depends on common and common is higher level than the various tool components which was an odd dependency before; one new thing is in here and that is an entity called EmailTemplateSetting which is meant to be a generic version of the ProductStoreEmailSetting entity so we can have configurable email templates without depending on ProductStore, still need to write the service to send email from this (sendMailFromTemplateSetting)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744727 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 19:34:49 +00:00
Jacques Le Roux
56a7b15d30
Revert r743038, Actually r743038 does not fix this error (I mixed up with sendMailDated in log)
...
So I tried using allow-html="safe" and after allow-html="any" in sendMail service definition but none is working (of course the default allow-html="none" is also not working)
I will trace to see where it should be encoded..
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743044 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 18:30:29 +00:00
Jacques Le Roux
7386b8d763
Fix an issue in sendmail when special chars where used but not encoded
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743038 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 18:11:01 +00:00
David E. Jones
c273a99919
Changed ContentWrapper classes to use the new StringWrapper class; some cleanups required like not trying to Base64 and URLEncoder encode the strings coming out of it, instead change those back to a String so that the general html encoder will get them
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742413 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 11:58:47 +00:00
Hans Bakker
0e58b86c96
more checks on missing data, added error message
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741383 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 03:03:58 +00:00
Jacopo Cappellato
e1b1c85e1e
Added two new methods to the ViewHandler interface: getter/setter methods for the "name" field, used to store the name of the view handler as set in the controller.xml file.
...
No functional change, but this mode is required by the upcoming new screen renderer based on Freemarker macros.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739792 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 17:12:19 +00:00
Hans Bakker
6ccdeb9af0
also add the possibility to store screens in a short/long/local data resource text. (if somebody knows an easier way of getting the first entry out of a map, let me know?)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737482 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 03:37:00 +00:00
Jacques Le Roux
572b7683e0
All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Hans Bakker
bfa00a72b6
update blogentry now added which replaces persistBlogAll and renaming of some files to be more to the ofbiz standard. blog Still not complete......
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735627 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 08:09:48 +00:00
David E. Jones
ccd59db32b
Fixed bug reported by Pierre Gaudin in Jira #OFBIZ-2127, wrong context var used
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735393 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 07:27:35 +00:00
Hans Bakker
e46fbe8080
some more updates to mainly the blog functions, but also other problems found on the way, still not finish yet altough the blog post function now works correctly including picture, also did some minilanguage syntax changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735383 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 03:34:57 +00:00
Hans Bakker
b0d8771eda
some more faultfixing and improvements in the blog functions, looks like designed properly but not debugged?
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@734960 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 10:18:04 +00:00
Hans Bakker
264610cbed
screen widget not working in content management system cmssite, however fixed now
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733275 13f79535-47bb-0310-9956-ffa450edef68
2009-01-10 14:11:39 +00:00
Jacques Le Roux
faf32a33a4
A temporary patch (workaround) for the minipoll bug reported on user ML. I will open a Jira issue ASAS I will get access to Jira (DSN resolution issue currently it seems)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732296 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 10:30:38 +00:00
David E. Jones
874f02e9da
Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Hans Bakker
f744a968dc
improved error reporting, get websiteId from websiteWorker, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729829 13f79535-47bb-0310-9956-ffa450edef68
2008-12-29 04:24:22 +00:00
Jacopo Cappellato
5b810b9f29
Minor formatting fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726836 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 22:07:55 +00:00
David E. Jones
3269e7602c
Various cleanups dones while reviewing functionality including formatting, refactoring, better descriptions and consistent defaults. In general no functionality change, though did add a default of N for the require return receive setting on the ProductStore
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@725022 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 07:31:39 +00:00
Hans Bakker
1815b08e3d
send order confirmation from view screen not working: now fixed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@721651 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 08:35:22 +00:00
Si Chen
b2dd6cecdf
email mime types should not be case sensitive when processing emails
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@720237 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 17:52:44 +00:00
Hans Bakker
caf7e4a2e1
show and enable to add content to customer requests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@720114 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 04:44:00 +00:00
Jacques Le Roux
db2fd711a4
Fix "Can't create a customer, nor a prospect and I suppose an employee" ( https://issues.apache.org/jira/browse/OFBIZ-2058 ) - OFBIZ-2058
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@719926 13f79535-47bb-0310-9956-ffa450edef68
2008-11-22 21:50:16 +00:00
Adam Heath
4333ce562f
s/new HashMap/UtilMisc.makeMapWritable/g
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@712927 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 03:28:11 +00:00
Hans Bakker
032f4302b5
small improvement on previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@711948 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 19:14:57 +00:00
Hans Bakker
e84caf1180
show the original filename for display
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@711938 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 18:46:43 +00:00