Hans Bakker
00a9e08354
if the visual scheme not found use the one from general properties for the cmssite display of docbook files
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819467 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 07:34:39 +00:00
Hans Bakker
68060069ae
some enhancements suggested by MR Ashish
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818802 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 10:05:24 +00:00
Hans Bakker
2b095cfc84
check if no visual scheme defined in previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818782 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 09:30:11 +00:00
Hans Bakker
4533720a3e
docbook files now converted to html using a first (simple) visual scheme dependent css stylesheet. This css is now also used for the display of the help files
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818780 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 09:16:26 +00:00
Scott Gray
a46440d697
spaces for tabs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818327 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 00:38:31 +00:00
Jacques Le Roux
24cbb5aec6
A patch from Wickersheimer Jeremy "compilation error with uno libs" ( https://issues.apache.org/jira/browse/OFBIZ-2940 ) - OFBIZ-2940
...
The OpenOfficeServices.java does not build due to some errors after the ByteWrapper refactoring.
Since it is an optional package and not built by default it got unnoticed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816863 13f79535-47bb-0310-9956-ffa450edef68
2009-09-19 07:18:21 +00:00
Hans Bakker
d6a65c264a
helpscreens placeholders now converted to the docbook V5 format inclusive of namespace support, updated the apache ofbiz document to explain how to create helpscreens, created an ftl template to display the docbook help screens, docbook pdf generation now almost working: it can create a local pdf file, but streaming to the browser does not work..if anybody interested to help me check modelscreenwidget.java line 1206
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811787 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 09:39:20 +00:00
Scott Gray
12566c26b9
Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
...
and memory performance if a cursor isn't being used on large result sets quite a bit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Hans Bakker
59040b5ec8
Added the possibility of processing/displaying xml files in the docbook format in verious other formats like html pdf etc. To view the Example document in HTML format go to content -> content -> navigate -> documents -> 'apache ofbiz in html format' The HTML version is working however the pdf version does not work yet. If you want to help, have a look in ModelScreenWidget.java where at the moment the complete processing from xml to pdf is concentrated the problem is the empty pdf output document with the wrong mimetype.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808744 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 03:40:33 +00:00
Hans Bakker
9115ad2dc1
file did not compile anymore after r808734
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808737 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 02:47:17 +00:00
Hans Bakker
39dc4d9e44
add list/map formats
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808734 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 02:27:46 +00:00
Hans Bakker
d34ad96ab6
extended the help template, moved help xmlfiles for easy editing into the file system, started to look at docbook for ofbiz documents
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805338 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 10:01:45 +00:00
Jacques Le Roux
4c442ee379
Some fusiness
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804895 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:20:38 +00:00
Hans Bakker
63a818ab65
extended the help system so that help pages can also be used from within the content component when available. If not found, the page within ofbiz.apache.org will be displayed. as is the case now. See the my portal component for an example. Still need to extend the <content tag so that an override template can be specified.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803416 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 08:48:19 +00:00
Jacopo Cappellato
f3b5e63912
Added ability to define 'alternate content' for different party roles, in a similar way that alternate contents can be defined for different locales.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801691 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 16:08:03 +00:00
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