Commit Graph
125 Commits
Author SHA1 Message Date
Bilgin Ismet Ibryam 2687706c7c Applied the patch from JIRA Issue # List-Multi form column sorting". Thanks to Bruno Busco for helping and patience.
As this is my first commit to framework, I'd really appreciate if you could review this commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@702236 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 19:29:40 +00:00
Adam Heath e410552cc9 No longer *copy* the extra support files into the classes dir;
instead, just add them straight to the final jar.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Adam Heath 1f5adb8461 More generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682061 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 21:40:01 +00:00
Adam Heath b6a1ae5e5e Another minor optimization; no longer need to specify classpathref in
all the build.xml files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
David E. Jones 32c9cdf316 One more enhancement to entity-auto to automatically handle the oldStatusId OUT population and checking StatusValidChange for status changes; note that this does nothing to keep a status history, that should be done in a custom service called by SECA rule
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679301 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 08:24:43 +00:00
David E. Jones 987d4fc1a0 Expanded entity-auto engine to support auto fromDate; a bunch more changes to example component services to eliminate implementations possible so far; now there are just a few left
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679288 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 07:08:10 +00:00
David E. Jones 2ccff0b5d8 An option I've resisted for a while due to limited flexibility when used, but we have a lot of these common cases so this may be worth it; can now define CrUD services and not have to implement them for common cases; the create, update, and delete ExampleItem services now use this entity-auto implementation instead of explicit simple-methods; those are tested and are working, and other variations on create should too but I haven't tested them yet; this also includes various refactorings to expose nderlying tools in simple method code and make it reusable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679058 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 10:24:58 +00:00
David E. Jones 48fe941f31 Removed/commented auto-complete for type/status; those are neat and work fine but make these screens practically unusable unless you know which first character to type for the option you want, left commented for demo/test purposes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678997 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 05:37:09 +00:00
Anil Patel 73f15bf2bd Enhancements contributed by Mridul Pathal for Ajax InPlaceEditor for form widget Display field. Mridul, Thanks for your effort.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678979 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 02:20:39 +00:00
Jacques Le Roux 641ff10050 Update Copyright to 2008
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
David E. Jones 29ee827480 Based on expanded common controller removed a few things here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677646 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 17:37:23 +00:00
Jacopo Cappellato a91db16bb5 Applied patch contributed by Bilgin Ibryam in OFBIZ-1877: definitio of a common menu that can be extended by the application (the menu already contains the main and login/logout items).
A few applications have been updated to use it as well.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676959 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 16:42:20 +00:00
Anil Patel 8e653379d3 enhancements to the Autocompleter integration with form widget dropdown.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@675103 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 06:15:23 +00:00
David E. Jones 204d775174 More entitygroups gone, all of framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672910 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 20:49:10 +00:00
Adam Heath 18391f98a9 The build.xml files are now much smaller and simpler; they reuse a
few global definitions.  1585 lines removed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Anil Patel 06bd17d66c Removed use of form.reset. Set flag to evalStript on Ajax load of html.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672059 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 00:00:28 +00:00
Anil Patel 265e7b46a1 Adding Autocompleter options to form widget dropdown. More improvements to come.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671723 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 04:23:57 +00:00
Anil Patel 6a74345536 JSON handler for simple method events.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671706 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 01:50:39 +00:00
Scott Gray 9b30213f6b Removed an orphaned screen def pointed out by David on the dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671504 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 10:46:18 +00:00
Anil Patel 17d9d62174 Initial version of code to show error messages when form is posted in background.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671424 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 04:47:10 +00:00
Anil Patel d5945e0433 After form is posted in background we should not update the form area. This causes problem if form area has embedded <script> block.
Removed this requirement. Instead now we reset form after update. Now I think we need to check for errors before reseting the form. This will help user to modify data and resubmit. I'll do that next.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671394 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 01:53:49 +00:00
Jacques Le Roux e3aa4bafaf Apply the same solution as in r671235
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671314 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:37:58 +00:00
Jacques Le Roux 72154d608d Fix order in elements. My XML editor was complaining
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671313 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:37:23 +00:00
Adrian Crum 3a3a19ff02 Fix for Example find screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671235 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 16:34:07 +00:00
Jacques Le Roux bfd0fdc03b A patch from Bruno Busco "Example application should use FindScreenDecorator" (https://issues.apache.org/jira/browse/OFBIZ-1846) - OFBIZ-1846
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671230 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 16:06:17 +00:00
Adrian Crum eb102be45f Updated some Find screens to use the new default search result property.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670712 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 19:03:40 +00:00
Scott Gray a34c3ecb15 Removed an invalid attribute, note I haven't reviewed any of the other changes to this form, it's just the red mark in my eclipse editor was bugging me :-)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670470 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 08:03:01 +00:00
Jacques Le Roux a220155ab3 A patch from Bruno Busco "Example application should use FindScreenDecorator" (https://issues.apache.org/jira/browse/OFBIZ-1846) - OFBIZ-1846
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670340 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 11:08:33 +00:00
Scott Gray ea942ee8cb Fix after groovy migration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670298 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 02:10:26 +00:00
Adrian Crum 9106b202c2 Improved lookup screens - contributed by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1841.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670249 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 18:44:43 +00:00
Adrian Crum 33cec52861 Removed deprecated CSS styles from the Example component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@668213 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 16:07:47 +00:00
Scott Gray 5e401fcd53 Updated all simple methods to use the new attributes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667748 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:03:12 +00:00
Jacques Le Roux 38994c4052 Better bsh-groovy migration, thanks to Scott and Ashish for review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667508 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 12:42:32 +00:00
Jacques Le Roux 476c1e4e90 I forgot to update the file name after my remote uppercase change (Windows side effect)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667488 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 11:53:40 +00:00
Jacques Le Roux 9ff785c6d1 Renamed remotely
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667450 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 10:00:16 +00:00
Jacques Le Roux 55123e289a My 1st bsh->groovy migration, please check. I will change the file name (uppercase className) remotely as I'm working on Windows currently (files names case insensitive)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667448 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 09:55:27 +00:00
David E. Jones bd2d32eaba Started effort of cleaning up element and attribute names in simple-methods, there is a lot of work to do here to make things consistent; for more info and a list of all changes see the docs.ofbiz.org Simple Method Cleanup Effort page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@666069 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 11:31:17 +00:00
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
Jacopo Cappellato a5159661af Removed unnecessary position attributes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661743 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 14:49:15 +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 a740aa2ad5 Small fixups for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658351 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:12:35 +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
Adrian Crum efe9694fb8 UI work in the Example and ExampleExt components. Fixed minor layout issues, tested with Firefox and IE7, formatted the screen widget XML files so they have consistent line spacing, and added some comments to help new users.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653865 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 18:12:46 +00:00
Adrian Crum 90f4b839fe Missed one screen in the Example component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652716 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 23:52:06 +00:00