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
Adrian Crum
2992de7456
IE7 and general layout fixups for the Example and ExampleExt components.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652714 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 23:44:31 +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
5270850556
updated the example menu to include the ajax example
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644894 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 20:38: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
e29b08407b
Moved comments to descriptions in example entity defs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@641641 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 23:28:17 +00:00
Jacopo Cappellato
4e5d5791b3
New attributes for the webapp element in the ofbiz-component.xml files: description, menu-name and position.
...
menu-name is used to separate the menu items in different menus, the position element che be used to sort them (alphanumerically) in the group.
There are now two menu groups: "main", for the main applications, in the top bar, and "secondary" for applications (specialized or not still 'mature'), in the footer.
Thanks to Bilgim Ibryam for the patch OFBIZ-1714, that I have committed with a few changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640307 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 04:07:34 +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