Commit Graph
256 Commits
Author SHA1 Message Date
Jacopo Cappellato 257f417108 Added a new 'runtime' folder, at the same level of 'applications', 'framework' etc..., where all the runtime data such as logs, derby db files and output (such as the pdf report files that can be created with the new service) are created.
Removed the logs and data folders from the framework folder.
Still need to be migrated to the new folder the catalina/work folder: I'm sorry but I don't know how to do this.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522914 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 14:02:57 +00:00
Jacopo Cappellato f76498479e Small change to the print screen service to allow for a different content name for the content of the printer output stream.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522272 13f79535-47bb-0310-9956-ffa450edef68
2007-03-25 14:43:04 +00:00
Jacopo Cappellato c814ec8713 Misc improvements to the service to send print streams to printers from screen definitions.
Added new service to generate file version of the screens; the files are created in the applications/content/output folder but this is configurable thru the config file in the content component.
An example of its usage is in the 'find orders' screen.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522021 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 13:17:36 +00:00
Jacopo Cappellato 70d57647bc Better error handling for printer's invalid URI.
Thanks to Jacques Le Roux for the bug report.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521812 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 17:13:32 +00:00
Jacopo Cappellato fd48f013f1 Added script to select all the printers available in the server.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521619 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 08:25:39 +00:00
Jacopo Cappellato fda2cdde19 There is now a 'print' option in the select box in the header of the find order list.
By selecting it and submitting the form all the orders with the checkbox set will be submitted as async jobs: the user can monitor the status of the print jobs (one per order) in the WorkEffort->Submitted Jobs screen (the status will move from Pending to Running to Finished).
The system will render one postscript stream for each order (out of the screen definition) and send it to the first printer (that can handle postscript streams) that the server's JVM can locate.
OFBIZ-824

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521616 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 07:53:39 +00:00
Jacopo Cappellato 80d34638d7 This new version of the sendPrintFromScreen service is now working.
A lot of improvements can be done (in the way a printer is selected, in the printer options etc) but this is a good start.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521601 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 06:49:50 +00:00
Jacopo Cappellato 0b7918811a Based on bug report by Si Chen, the view definition for fop screens now explicitly set the content-type to 'application/pdf'.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520526 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 19:14:38 +00:00
Jacopo Cappellato 1c6fbf538e First draft of the service that can be called as async to create a (PDF, Postscript, PCL etc...) output from a screen definition and send it to a lan printer.
OFBIZ-824


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520359 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 11:19:14 +00:00
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