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
Adrian Crum
367ac6cfa5
Fixed forum thread/message editing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571337 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 22:42:12 +00:00
Andrew Zeneski
eb9e049b62
updated mailing services to track messageId in mail messages (in and out), updated mail polling to never create duplicate messages, and better store communication events
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571299 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:38:39 +00:00
Alfred Maxwell Byers
8d5d3eb5d8
I was troubled by the fact that createTextContent did not return the fromDate - making it difficult to get a primary
...
key for the newly created content.
I made changes so that createContentAssoc would return "fromDate", but that did not help "createContent" because it was an eca
and I did not want to specify a "result-map-name" attribute.
So I modified createContent so that it would accept a fromDate as input, so at least I can know what the fromDate value is by
setting it to nowTimestamp before calling createContent.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571052 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 06:46:10 +00:00
Adrian Crum
d2297309f7
Fixed forum create.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569871 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 19:34:55 +00:00
Adrian Crum
0c60962acf
Fixed entitydef comments per David's suggestion.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569574 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 23:36:41 +00:00
Adrian Crum
d6c7cdcd41
More fixes in the forum feature in the content component. I also added a few comments to indicate what different fields are used for.
...
The eCommerce component organized forum data one way, and the content component organized it another way. After discussion on the dev ml, I determined that the content component was storing data incorrectly.
This commit is not backwards compatible with existing forum messages. Existing forum messages will have to have the contents of ContentAssoc.contentId and ContentAssoc.contentIdTo swapped before updating to this revision.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569568 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 23:16:18 +00:00
Adrian Crum
c49fd8b584
Some bug fixes for content manager. Add forum/thread/message now works. Update message still doesn't work.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@568733 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 19:20:41 +00:00
Adrian Crum
9024bed533
The forum.properties file was corrupted during the recent commit/revert/commit cycle. My original intention was to move forum.properties from the ecommerce component to the content component to facilitate making the forum feature standalone.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@568697 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 16:51:45 +00:00
David E. Jones
e3cc06b406
Undo changes from Adrian Crum in rev 567090; different way of addressing this is being discussed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567316 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 19:04:24 +00:00
Adrian Crum
73290f1b58
Moved the ecommain.css file to the ecommerce component. Existing installations will need to update the stylesheet field in their ProductStore entity.
...
Moved forum.properties file to the content component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567090 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 17:22:04 +00:00