Commit Graph
38 Commits
Author SHA1 Message Date
Adrian Crum 1f1f2552c1 A basic implementation of a help system, based on work contributed by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1750.
There is an example of how it is used in the EditExample screen of the Example component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663378 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 21:49:38 +00:00
Jacopo Cappellato 42723effc3 Implemented new event handler for Groovy scripts; converted two Beanshell events to Groovy.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662337 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 06:28:55 +00:00
Adrian Crum 2d89f0f365 Form widget Ajax refinements.
Changed attribute-based ajax calls to on-event-update-area elements. Fixed bug in autocomplete. Cleaned up some of the rendering code.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661450 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 19:48:24 +00:00
David E. Jones 82df3529e2 More cleanups of now deprecated constructors and what what
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660840 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:16:36 +00:00
Jacopo Cappellato 15d63246d6 Added support for xsl-fo and xml templates to the platform-specific screen widget element. Now it is possible to define the same screen that can be rendered with different renderers. An example of this is the SimpleDecorator that is now used to render simple PDF report (xsl-fo), xml export and printer friendly html output. You can test it in the Edit Example screen (and some other screens as well): the PDF and Printer Friendly links in that page both share the same screen definition. Misc fixes to the widget FO and XML renderers, for issues found while testing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659935 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 08:00:10 +00:00
Jacopo Cappellato 1d44046832 Fix for security hole I have introduced while working on the Ajax autocompleter fields.
This is a temporary approach that can be improved.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659658 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 20:57:27 +00:00
Jacopo Cappellato 27bdcf64db Continued work done by Anil Patel about implementation of Ajax.Autocompleter enhancement for form widget text box.
There is now a generic screen (and controller entries) that can be used by Ajax autocompleter fields.
See the example in the example component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659488 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 10:10:48 +00:00
Anil Patel 9ded85445a Fist pass of implementation of Ajax.Autocompleter enhancement for form widget text box. I'll be working on improving this over next few days.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659454 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:54:15 +00:00
Adrian Crum 6aea39757d Improved screen widget Ajax support.
The original Ajax work was a great start, but there were limitations. These changes open things up a bit: 1) Ajax rendering falls back to plain HTML when the user has JavaScript disabled. 2) You can have more than one area updated during an event.

IE7 updates only <div> elements, so be aware of that when using the Ajax feature.

See the Example component for a demonstration.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658281 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 15:33:22 +00:00
David E. Jones 0ba6bdd4eb Added background-submit-refresh-target to form field submit, auto-update-target to screen container; also added example that uses thetainer; also updated example to use these new ajax features
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@645115 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 15:13:09 +00:00
Andrew Zeneski 9228490a8f added a simple example of using prototype (ajax) with screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644429 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 18:03:53 +00:00
David E. Jones 1e4baaf319 Small cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@638241 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 06:53:55 +00:00
Jacques Le Roux b6b7c017c8 A patch from Adrian Crum "Screen widget show where code came from in html" (https://issues.apache.org/jira/browse/OFBIZ-1318) - OFBIZ-1318
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594042 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 08:06:40 +00:00
Jacopo Cappellato 69cf27f071 Added new screen and form to the Example application as a proof of concept for a way to create a library of tricks and best practices for form widget definitions; the Example application could then be used as a repository of easily accessible examples for widgets. In this example I've started to document some useful ways to use the drop-down fields.
What do you think? I did this change using the CTR (commit-then-review) policy: if you don't like this idea I will immediately revert.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586349 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 09:39:51 +00:00
Jacopo Cappellato fa7284ec00 Converted appbar of the Example application from ftl to widget menu.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586303 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 08:02:28 +00:00
Jacopo Cappellato 89f3fd0098 Applied patch from Adrian Crum as a first pass to share the same common login screens in all the applications.
OFBIZ-1320


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585393 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 06:24:17 +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
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
Adrian Crum b16dfa61f9 Small fixup from last commit. Too many lines were deleted from Example component's controller.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582512 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 16:14:47 +00:00
Jacques Le Roux 13842bd64b A patch from Adrian Crum "Move common requests to a separate xml file to reduce component's controller.xml file size" (https://issues.apache.org/jira/browse/OFBIZ-1230)
Thanks to BJ Freeman to review and suggestion

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582509 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 15:17:08 +00:00
Jacques Le Roux 72684a3064 A 2st patch (ofbiz-642-locale_tz.patch)from Adriam Crum "Make OFBiz more dial-up friendly" (https://issues.apache.org/jira/browse/OFBIZ-642)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@555997 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 13:48:00 +00:00
Jacopo Cappellato 4e8e2dac8e Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
David E. Jones 583cfeed38 Some improvements to the example component, and added an exampleext component which extends the example webapp to demonstrate extension and overide mechanisms; note that this works except for menu extension which doesn't appear to be working on the framework level
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539833 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 06:39:54 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacopo Cappellato ac33217ca3 Applied patch from Adrian Crum to clean up the layout of the Example application: OFBIZ-887
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529140 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 06:28:12 +00:00
David E. Jones 4ee2edf5a4 Small formatting cleanup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526145 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 12:55:26 +00:00
David E. Jones 544ea7410f A few cleanups, nothing major and no real functionality changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525960 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 21:16:55 +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
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
David E. Jones 71a25d953d Remove JPublish and EdenLib, now they are gone; includes doc/notice file updates too
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@485565 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 08:59:37 +00:00
David E. Jones c8e57799cc Appled patch from Bilgin Ibryam to fix missing controller entries for setSessionLocale; ASF Jira #OFBIZ-390
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465669 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 16:10:54 +00:00
Jacopo Cappellato bf0711f3c8 Maybe it's not strictly necessary, but I think it's however fine to add the license headers to these files too (mostly text files).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463907 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 10:01:06 +00:00
Jacopo Cappellato bf32f1f46d Applied patch from Marco Risaliti to removed some $id tags.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454293 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 06:02:40 +00:00
Jacopo Cappellato a2a9b0618d Removed author information from all the files of the "entityext", "example" components: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454125 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 10:44:53 +00:00
David E. Jones c84ed3c644 Moved the more core login methods from LoginEvents to LoginWorker as they don't depend on the applications stuff but are used by the framework stuff; also updated various text references to the new locations
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431021 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 12:12:18 +00:00
David E. Jones 31fe1cbfea Changed references to LoginEventListener to use new package name
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431017 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 11:30:07 +00:00
Jacopo Cappellato 9ea4e08993 License change from MIT to ASL2.0 for the files of the example component.
Thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423842 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 09:02:21 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00