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
Christian Geisert
0d5d33c740
Setting svn properties (svn:eol-style,svn:mime-type,svn:keywords)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634599 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 10:13:56 +00:00
David E. Jones
95a83c7aaf
Added missing relationship between ExampleItem and Example
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631077 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 03:32:27 +00:00
Adrian Crum
68c1dbbaf9
Second sweep through the maincss.css style sheet. Changed the head1, head2, and head3 style names to h1, h2, and h3. Updated affected styles in ftl and xml files.
...
The ecommerce component is excluded from this commit.
These changes shouldn't break any layout. If you spot something wrong, let me know and I'll fix it.
I won't make any more maincss.css changes for a little while. I'll let the dust settle from these two commits, then I'll go through the file and physically remove the deprecated styles.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627051 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 19:30:09 +00:00
Hans Bakker
2cd043e443
convert all Example language files to xml on adrians request
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@620450 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 10:37:24 +00:00
Adrian Crum
aff0cffce9
Fixed properties file resolver in new UtilProperties code.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608315 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 02:50:58 +00:00
Adrian Crum
987b444bdf
Fix for r607823. The OFBiz custom xml properties file format requires the file extension in the resource name. Detailed explanation in the dev mailing list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608156 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 17:41:16 +00:00
Scott Gray
474906df72
Renamed ExampleXmlUiLabels.xml to ExampleUiLabels.xml, it was either that or rename all the references in the minilang services but this seems to make more sense.
...
I used Subclipse to rename the file so hopefully it comes through as a rename rather than delete and add
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607828 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 11:44:00 +00:00
Scott Gray
6155c32d9e
Fix small bug, wrong default map name
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607805 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 05:37:15 +00:00
Adrian Crum
b584b3549b
FOP code improvements, based on https://issues.apache.org/jira/browse/OFBIZ-1414 .
...
The Jira issue mentions rendering to temp files, but I kept that out of the commit. If we get out of memory errors in the future, it will be easy to add it back in.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603483 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 06:38:23 +00:00
Adrian Crum
b91ca87911
UtilProperties bug fix and enhancements.
...
This commit fixes the bug reported in https://issues.apache.org/jira/browse/OFBIZ-1488 and it includes a few of the improvements mentioned in https://issues.apache.org/jira/browse/OFBIZ-1485 . This commit also lays the groundwork for improved properties file support in the future.
This commit contains a new xsd file - it needs to be included on the apache ofbiz website. XML properties files will generate console error messages until it is.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603024 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 20:04:01 +00:00
Adrian Crum
dcf6a61c50
Improved entity reference screen - now has better field definitions. Based on discussion in https://issues.apache.org/jira/browse/OFBIZ-1425 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601056 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 19:40:38 +00:00
Scott Gray
ccc31cb640
Fixed invalid location
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600862 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 09:55:56 +00:00
Adrian Crum
1367a57349
Updated Example component to new XML properties files. Two languages are still in need of conversion.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600647 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 19:48:39 +00:00
Adrian Crum
e14dd8654f
Minor layout changes in the Example component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596552 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 06:47:40 +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
88abdbd634
Misc improvements to the drop-down examples.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586463 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:04:50 +00:00
Jacopo Cappellato
8065f28732
New examples for date/time fields.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586458 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 13:53:26 +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
Jacopo Cappellato
c3c7cdb4c3
Better handling of global variables to set the url for the application logo: now ONE global variable is set in GlobalDecorator and this will affect all the applications; if we need a custom logo for each application then we will have to uncomment the variable setting in the application's main-decorator.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579920 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 06:43:11 +00:00
Jacopo Cappellato
520547c6e5
Added seed data for VIEW permission to the Oagis and ProjectMgr components.
...
Added base permissions to the Example*, Oagis, ProjectMgr components.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579654 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 13:55:54 +00:00