Commit Graph
247 Commits
Author SHA1 Message Date
Scott Gray cc4e08c7db Applied patch from Stefan Huehner (OFBIZ-776), fixes a couple of misc. assignment bugs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519584 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 10:06:49 +00:00
Jacopo Cappellato 8043057452 Applied (slightly different) patch from Leon Torres to allow naming the attachment PDF in sendMailFromScreen. OFBIZ-789
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519583 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 09:40:43 +00:00
Jacques Le Roux 27062a5110 Patches from Mohamed Amine AZZI "Translation of Ofbiz to arabic" (https://issues.apache.org/jira/browse/OFBIZ-804).
More to come I guess.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519306 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 13:17:15 +00:00
Jacopo Cappellato c21dfb4e53 Small layout fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519269 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 09:27:02 +00:00
Jacopo Cappellato afd04bd768 Enabled support to 'screenfop' view definitions for several output types supported by FOP; they are defined using the content-type attribute in the controller's view definition (application/pdf is the default)); try for example:
application/postscript
application/x-pcl
...
This is the first step toward providing print support for laser/barcode printers.
The change is backward compatible with all the existing view definitions, however I had to update all the controller xml files because I've renamed the view handler class name from ScreenFopPdfViewHandler to ScreenFopViewHandler, to better describe its role in the framework.
OFBIZ-823


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519268 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 09:17:54 +00:00
Jacopo Cappellato 34fe8c22b0 Applied patches from Anil K Patel (OFBIZ-798, OFBIZ-799, OFBIZ-800, OFBIZ-801, OFBIZ-802) to clean up redundant style settings from Forms files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516672 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 09:49:19 +00:00
David E. Jones d87948529c Various cleanups in the cmsssite templates and data; implemented a change to support rendering the Content instead of the DataResource when it is decorated, which is necessary in order for the thisContent object to exist and function, which is necessary for including sub-content and such; also implemented the content map facade link element to get a link out of the context that the cms event puts in it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516669 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 09:38:03 +00:00
David E. Jones 31e99f695f Some cleanups, including more consistent use of cache settings; started add of link entry, though still need to look into how to implement that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516640 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 02:24:57 +00:00
David E. Jones 15f9ec0523 Added toString method that renders the content, ie default behavior when printed or treated as a String
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516593 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 22:44:25 +00:00
Andrew Zeneski 03e6b9b455 added support for URL_RESOURCE types
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516574 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 21:52:46 +00:00
Andrew Zeneski 4b43086ab5 updated a CMS content to include decorator content;
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516548 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 20:52:51 +00:00
Andrew Zeneski 66cff5cd2a implemented default page WS content type; changed URL_RESOURCE to support component:// resources
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516536 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 20:12:44 +00:00
Andrew Zeneski 7d671c5ded added default page - website content assoc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516522 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 19:43:18 +00:00
Andrew Zeneski ec4bd6601b added menu container content type
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516520 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 19:40:18 +00:00
Andrew Zeneski 731c3378f5 updated facade/worker to support decorator content; added datamodel for decorator content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516516 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 19:23:12 +00:00
Andrew Zeneski d8516e39b1 added quick way to create publish points for websites
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516320 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 07:42:36 +00:00
Andrew Zeneski f07485a4d8 fixed bug in update content (could not update due to non-optional fields) added data resource info to ContentMapFacade
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516252 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 01:21:49 +00:00
Andrew Zeneski 4994f49696 fixed updating data resource
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516234 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 00:02:59 +00:00
Andrew Zeneski 5d17ac7bac now can use id_CONTENTID for numeric content Ids
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516228 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 23:36:46 +00:00
Alfred Maxwell Byers 50e13a2497 Fixed my last commit with Andrew's fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516207 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 22:42:37 +00:00
Alfred Maxwell Byers f71060fa8d Added "dataResourceTypeId" as unnneeded parameter to "updateElectronicText" so that "updateDataText" seca will work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516200 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 22:36:39 +00:00
Andrew Zeneski dd702b3339 implemented (first pass) ContentMapFacade; used in the context of all content rendering
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516199 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 22:35:32 +00:00
Alfred Maxwell Byers 54789c1eca Added RenderContentTransform which does both content and subcontent rendering.
Linked to it in FreeMarkerWorker, but did not remove other transform defs.
This has not been tested - will be doing that now - just making available to other hackathoners.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516168 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 20:32:39 +00:00
Andrew Zeneski a95b3a70d9 refactored renderContentAsText to invoke content services when called; now requires a dispatcher to render content; all methods using this have been updated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516158 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 19:46:09 +00:00
Andrew Zeneski c4b0c1be30 fixed optional fields on permission service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515903 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:53:03 +00:00
Andrew Zeneski 55f4754541 fixed createContent error view
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515886 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:50:19 +00:00
David E. Jones 86a15f278a Changed runAsUser to run-as-user for the updated attribute
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514603 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 08:42:44 +00:00
David E. Jones 399b958f7d Fixed extraneous relationship def
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514599 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 08:31:57 +00:00
Jacopo Cappellato 82a5bf4147 Applied (modified) patch from Stefan Huehner (OFBIZ-770) to use isEmpty(...) method for null/empty validation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514366 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 06:59:23 +00:00
Jacopo Cappellato a7c598bd9b Removed unused imports: thanks to Stefan Huehner (OFBIZ-513) for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514200 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 17:33:34 +00:00
Jacopo Cappellato 311ca7c08c Applied patch from Adrian Crum (OFBIZ-671) to refactor form, menu, tree widget styles management (now mostly all the styles are defined externally using css): this is still a work in progress.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514099 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 08:14:07 +00:00
Andrew Zeneski 1219c15c53 this was something I was playing with, but decided against; however it slipped in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513986 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 22:04:25 +00:00
Andrew Zeneski 5f079c05b7 Big content rendering refactor; condensed methods used for rendering content into one, flagged to cache or not. This will make maintaining this much easier. Implemented new streaming event which will send all type of files not just images (deprecating the img event); added mime-type templates to remove the hard coded templates in DataResourceWorker; now supports additional types besides image/*; updated all code using the old methods; however left them in place (deprecated) until we are sure no BSH files use these old methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513985 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 22:03:48 +00:00
Andrew Zeneski e49e617b88 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513056 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 23:21:39 +00:00
Andrew Zeneski 4a54cf0b76 now upload services returns the decided mimeTypeId so it is properly reflected on the content record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513020 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:45:39 +00:00
Andrew Zeneski 57343b66ff fixed isPublic field (had wrong name)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513018 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:37:15 +00:00
Andrew Zeneski a3679fa92f added additional mime types for audio/video
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513008 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:17:51 +00:00
Andrew Zeneski 42920eba3f added isPublic to CMS creation; changed isPublic from checkbox to default select so we can actually turn it off once it is enabled
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512841 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 16:50:05 +00:00
Andrew Zeneski 0d7ea8cee7 added sub-content rendering so CMS can render HTML meta-tags
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512592 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 03:38:41 +00:00
Andrew Zeneski f213ee258e added meta-data for content "pages" (quick entry, creates sub-content records); added new data types to CMS, Image, Object, Video, etc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512581 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:52:07 +00:00
Andrew Zeneski 686eecca87 now have update uploaded content working; updates all necessary entities; added a few text based ecas for text content; handles many different text based data resource types now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512510 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 00:06:26 +00:00
Andrew Zeneski 6ee64698ff implemented new data resource types for AUDIO/VIDEO content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512471 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:53:42 +00:00
Andrew Zeneski 672bcb2eb8 added results-to-context for the new text route
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512458 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:32:40 +00:00
Andrew Zeneski 05fa91599e more content refactoring; refactored upload content service; now supports other data resource types; now also can determine which type to use based on mimeType (if none is specified); moved some service defs around, this is a work in progress. Moved data resource services from contentservices.xml to dataservices.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512356 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 18:35:04 +00:00
Jacopo Cappellato 37ec41dee7 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511769 13f79535-47bb-0310-9956-ffa450edef68 2007-02-26 10:11:32 +00:00
Jacopo Cappellato d521f0c604 Applied patch from Stefan Huehner (OFBIZ-513) to remove unnecessary import statements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511254 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:49:42 +00:00
Andrew Zeneski 01b7fa81b8 got rid of request-direct returns, not needed and cause problems with large amounts of data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510756 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 01:46:18 +00:00
Andrew Zeneski 088c04d42e now setting the dataResourceName (as we should)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510741 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 01:03:32 +00:00
Andrew Zeneski 516471ad51 better handling of websites w/ no publish points, better handling of content w/ no data resources
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510737 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 00:54:55 +00:00
Andrew Zeneski e23f6a6335 added dojo based WebSite CMS admin sreens; very rough pass
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510691 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:20:19 +00:00