Jacques Le Roux
21fc2f91ba
A patch from Fabien Carrion "To permit to have a view with jasperreports to export to excel using the poi api, or the jxls api." ( https://issues.apache.org/jira/browse/OFBIZ-1250 ) - OFBIZ-1250
...
JasperReports is any longer used in OFBIz but this might be helpful in some occasions. As it changes anything (I reviewed but no tested) I prefer to commit than ignore.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604728 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 22:38:02 +00:00
Hans Bakker
13a03ba142
correction on last commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604087 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 02:30:25 +00:00
Hans Bakker
74c76837cd
add 2 fields to the webUserPreference table
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604086 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 02:05:26 +00:00
Adrian Crum
b584b3549b
FOP code improvements, based on https://issues.apache.org/jira/browse/OFBIZ-1414 .
...
The Jira issue mentions rendering to temp files, but I kept that out of the commit. If we get out of memory errors in the future, it will be easy to add it back in.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603483 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 06:38:23 +00:00
Andrew Zeneski
08874971a0
added method to create text content with a optional sub-section of uploaded content (i.e. text with an image/audio/video)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596510 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 01:35:58 +00:00
Andrew Zeneski
1cfe2b4dad
Added new placeholder content types for BLOG and FAQ
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596441 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 20:45:16 +00:00
Andrew Zeneski
baaa3a828f
added code to allow adding objects to the FTL for survey rendering
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596003 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 20:57:23 +00:00
Jacopo Cappellato
056d4e99d1
Separated data resource contextual menu from generic data resource menu.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@591041 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 15:08:55 +00:00
Andrew Zeneski
76441736c3
added new content purpose type: PROJECT_INFO
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590556 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 04:46:48 +00:00
Hans Bakker
64853ccdb4
show data resource image button only when data resource is of type 'image' and do not show text/html buttons
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589554 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 09:14:30 +00:00
Hans Bakker
bcb3806349
fix problem with new/existing edit dataresource button and fix category list on edit dataresource screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589550 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 09:01:32 +00:00
Hans Bakker
1b5527c12e
update title
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589521 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:43:34 +00:00
Hans Bakker
8b2ef54dab
one change too much in the last commit...reverting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589507 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:22:35 +00:00
Hans Bakker
687bf0c4f3
add a navigation option to the dataResource option in the content manager using a dojo tree widget to be able to browse dataresources by datacategories. This following Al's example in the website cms function
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589503 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 06:18:08 +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
David E. Jones
75c26763e5
Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
Adam Heath
c77ec31ac6
Fix stupid problems with javac and type inference.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586925 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 18:19:34 +00:00
Adam Heath
2ff7a8a575
Make use of the single-arg variants of makePK/makeValue, removeAll,
...
and clearCacheLine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585803 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:46:57 +00:00
Adam Heath
56ae98f437
Make use of UtilCache.findCache.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585801 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:41:30 +00:00
Adam Heath
abd5c3b0d6
Used LinkedHashMap/LinkedHashSet, from collections 1.2, instead of
...
using local variants. Deprecated OrderedMap/OrderedSet. The filed
patch removed them, but that might break downstream code, so I'll
leave them in for now. Closes
https://issues.apache.org/jira/browse/OFBIZ-1324
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585679 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 20:37:37 +00:00
Alfred Maxwell Byers
c8af171051
Needed to add code to deal with conditional presence of "outWriter" param.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583562 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 18:00:06 +00:00
Alfred Maxwell Byers
9e111ea1c1
Made outWriter optional in renderContentAsText service.
...
Should probably be removed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583557 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 17:51:08 +00:00
Jacques Le Roux
d971f0ffec
Complete my previous post (I had to change instance because of not related existing changes in controller.xml files)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582731 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 07:08:34 +00:00
Andrew Zeneski
a81553f655
implemented feature to allow setting default values for survey questions; response can be generated by setting v
...
alues (via a map) in the wrapper before rendering
implemented GEO and ENUMERATION types for Survey Questions; now ANY Geo Group or Enumeration Type can be listed
as survey option lists
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582539 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 22:25:35 +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
Jacques Le Roux
9fb098ccbf
A patch from Bilgin Ibryam "survey screen fix" ( https://issues.apache.org/jira/browse/OFBIZ-1227 ) - OFBIZ-1227
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582474 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 09:57:22 +00:00
David E. Jones
ca526c3957
Some improvements to how sequencing is done, including a new method in the GenericDelegator that does a sequence and create all in one, including a single retry with bank refresh on failure because of duplicate ID just in case two sequencers somehow get the same ID bank; in theory that is impossible but it has been observed in production and this is part of the 2 part solution to handle the problem more elegantly than having to restart the servers, and to try to find out just how two sequencers got the same bank of values; this includes changing a number of key code blocks to use the combined sequence and create for retry, and a little bit of code cleanup too
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582142 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 09:02:49 +00:00
Jacques Le Roux
d675018b99
From a David Goodenough's issue "Missing .js file when searching for DataResource" ( https://issues.apache.org/jira/browse/OFBIZ-1272 ) - OFBIZ-1272
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@580760 13f79535-47bb-0310-9956-ffa450edef68
2007-09-30 18:08:19 +00:00
Jacques Le Roux
a10f08410c
From a David Goodenough's patch "Content CSS file contains invalid font-size settings" ( https://issues.apache.org/jira/browse/OFBIZ-1271 ) - OFBIZ-1271
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@580722 13f79535-47bb-0310-9956-ffa450edef68
2007-09-30 13:04:12 +00:00
Alfred Maxwell Byers
7f318b8913
Adding some fixes to this work-in-progress
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@580264 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 09:22:37 +00:00
Alfred Maxwell Byers
d15624c691
Fixing errors in create/updateContentAssoc that I recently added.
...
Was not putting interpolation braces around parameters.contentId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@580263 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 09:18:26 +00:00
Alfred Maxwell Byers
7f00277680
Fixed another bug I added. Was building a fromDate if none was passed and that was the wrong behavior.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@580095 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 16:55:17 +00:00
Adrian Crum
85ca4aa4c6
Fixed invalid CSS property assignments, OFBIZ-1270.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@580073 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 16:08:58 +00:00
Jacopo Cappellato
50fb3b5b77
Fix for bug reported by David Goodenough in OFBIZ-1269: error updating html content for data resource.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@580024 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 14:35:07 +00:00
Jacopo Cappellato
c3c7cdb4c3
Better handling of global variables to set the url for the application logo: now ONE global variable is set in GlobalDecorator and this will affect all the applications; if we need a custom logo for each application then we will have to uncomment the variable setting in the application's main-decorator.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579920 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 06:43:11 +00:00
Alfred Maxwell Byers
3919faa06f
This is a new take on the old rendering tranforms.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579473 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 05:04:09 +00:00
Alfred Maxwell Byers
bd5a3da571
This is what it is supposed to be.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579472 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 05:02:38 +00:00
Alfred Maxwell Byers
db2d36dac5
Fixing a really lame bug that I introduced.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579373 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 20:39:33 +00:00
David E. Jones
85613bb07a
A couple of fixes/cleanup, and added support for state/province and country fields
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578754 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 10:54:59 +00:00
David E. Jones
68b5e5988c
Added a couple of new types, no code/template to use them yet, but there as a placeholder
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578685 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 07:34:16 +00:00
Alfred Maxwell Byers
3c191bdfde
I felt that there was a need to show that a content was "available" instead of in progress, draft, etc.
...
If a content gets published, then deactivated, but is available for republishing - that is the scenario i had in mind.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577933 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 21:32:49 +00:00
Alfred Maxwell Byers
e0d985e8cc
The content widget was not using the dataResourceId attribute. To make it work I had to
...
copy someone's brilliant WidgetContentWorker pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577932 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 21:30:44 +00:00
Alfred Maxwell Byers
6e6c07e12d
updateContentAssoc was failing when when contentId was set to contentIdTo which is what happens when updateTextContent is run.
...
Changed it to first look for parameters.contentIdFrom, then parameters.contentId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577167 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 06:43:52 +00:00
Alfred Maxwell Byers
bdde31286e
Added ability to display subcontent data.
...
Need to add permission checking.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577116 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 23:58:20 +00:00
Alfred Maxwell Byers
42b85a02ec
writeDataResourceText was not getting rootDir correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576751 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 07:43:19 +00:00
Jacopo Cappellato
b7de814348
Formatting fix: tabs to spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576425 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 13:33:36 +00:00
David E. Jones
8757c32d3f
Small improvement to log more info and normally just log one persist or ignore message per email rather that two
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@575491 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 22:49:17 +00:00
Andrew Zeneski
f7fa12953b
updated code to not try to create multiple role records
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574737 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 00:48:14 +00:00
David E. Jones
fb4a0080b3
Fixed bugs in recently refactored FreeMarkerWorker: a Reader was always being created even if the template was cached, also the reader was never closed which means files stayed open until the garbage collector cleaned up these objects which on busy production systems could lead to many thousands of open files
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573442 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:01:25 +00:00
Timothy Ruppert
7827c6d77e
Fixed issue with parameters on sendMailFromScreen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571656 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 00:22:14 +00:00