Commit Graph
24 Commits
Author SHA1 Message Date
Hans Bakker 7801aaf359 add a explanation how the 'widgetVerbose' parameter can be used in web.xml and comment out the setting in the example component because widget comments should be shown out of the box there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@962392 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 02:34:22 +00:00
Jacques Le Roux 2f6a7c3d09 A slightly modified patch from Chris Snow "Provide better user help" (https://issues.apache.org/jira/browse/OFBIZ-3702) - OFBIZ-3702
Provides help by hovering over the field label. See Example for... an example :o) And also https://issues.apache.org/jira/secure/attachment/12442717/fieldLabelTooltip2.png


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938844 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 10:02:57 +00:00
Bilgin Ismet Ibryam 4513ee6a09 Enabled lookup descriptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936638 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 07:46:41 +00:00
Bilgin Ismet Ibryam 82a5bf6b02 A patch from OFBIZ-3555 "Show lookup value descriptions". This enhancements allows displaying a description for the IDs in lookup fields. To enable this feature set widget.lookup.showDescription to Y in widget.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933130 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 07:54:10 +00:00
Bilgin Ismet Ibryam bd19dc7e9f Applied a modified patch from jira issue OFBIZ-3211 - Ajaxifying lookup fields.
To add ajax support to a lookup screen, you have to add two fields: entityName and searchFields. As a reference please check LookupPartyName and LookupPerson screens in party manager. You can see ajaxed lookups in action in any screen using form widgets and the above lookup screens (findInvocies screen in accounting for example). 
This commit also fixes a bug in controls.js from scriptaculous library, but I reported it in its project list and I will track it further.
To hide the returned values (shown as [ID])from the autocompleter or change the number of items there, you have to modify widget.properties

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894149 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 11:30:40 +00:00
Jacopo Cappellato 6afe2f634d Removed xml encoder for xsl-fo that was causing the wrong rendering of special characters (like Chinese fonts).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833080 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 16:54:52 +00:00
Hans Bakker 7248f6db66 Jira issue: https://issues.apache.org/jira/browse/OFBIZ-3128
1. New SFA Account/contact/lead find/list screens replacing ftl/partysearch with form/performfind.
2. SFA now compatible with the party manager with the 'all' option still have the previous 'my' option
3. added new widget property: 'text find' to set the default here and not in the xsl
4. added 'container' as a field to the form in order to insert forms dynamically with an ajax request
5. fix bug for using radio field.
6. Implemented comments on this jira issue including using the find decorator 

Contribution by Chattree, an employee of Antwebsystems Co.Ltd.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832294 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 03:59:01 +00:00
Jacopo Cappellato 80c6b31e7f Improved the way encoding is treated in the MacroFormRenderer, now encode-output attribute is always considered.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816522 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 08:18:12 +00:00
Jacopo Cappellato 5a48eefcc0 Fix for error happening when using a csv export with fields containing quotes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812483 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:46:28 +00:00
Jacopo Cappellato 16a1a6e98a Implemented CSV screen macro renderer; cleaned up existing csv widget forms that are now much more clean.
This is a good example of the great flexibility of widgets and the new macro renderer (no code was needed to implement the CSV renderer).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802400 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 15:49:04 +00:00
Jacopo Cappellato a02c3abaa8 A bunch of fixes and enhancements to the new widget renderers based on Freemarker macros.
Converted to new technology the xsl-fo renderer and view handler.
Better handling of platform dependent templates included in screens: the proper one is now choosen according to the name of the renderer; the name is returned by a new method of the widget renderer interface.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763511 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 04:14:38 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacopo Cappellato 640e11b07c Misc fixes and enhancements to the new Macro renderer stuff.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762727 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 12:06:03 +00:00
Jacopo Cappellato 64b3ffefd3 Added some code, commented out, for upcoming (hopefully) implementation of macro renderers for menu and tree widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761664 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 13:14:51 +00:00
Jacopo Cappellato ceb610498a This is a work in progress for a refactoring of the various screen and form widget renderers; the new renderer will create output by calling Fremarker macros defined in external (configurable) files; the work is still not complete, and for this reason it is not enabled yet. Part of task OFBIZ-1235
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@756369 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 08:21:11 +00:00
Hans Bakker 27775ded91 add a picture to the hyperlink keyword in a form to allow moving records up/down and not showing the sequenceNum field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745434 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:52:59 +00:00
Adrian Crum 4c57b7d203 Oops, forgot to reset the property after testing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670705 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 18:39:53 +00:00
Adrian Crum 13be6d006d Better implementation of last commit, based on a suggestion by David Jones.
No additional screen widget code is needed to implement the Find screen search results default behavior.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670704 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 18:38:04 +00:00
Adrian Crum 06493a32aa Added a widget.properties property to control the display of the search result list in the Find screen. Also added an example in the Asset Maintenance component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670676 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 17:17:09 +00:00
Adrian Crum 3cbe1f844e Might as well make the default view size configurable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655606 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 19:13:00 +00:00
David E. Jones cee5387a8d Removed xml header from fo wrapper, it is now added by the view handler if not there already; fixes problem with widget.verbose=true; fixes problem with widget.verbose=true; various cleanups too
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644081 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 21:53:06 +00:00
David E. Jones 75b1f73652 Setting this to true by default, which is already mentioned in the technical production setup guide
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@643976 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 17:16:58 +00:00
Jacopo Cappellato 2dc6bc2c7b Disabled widget.verbose: it is breaking all the PDF reports. This is a temp fix but we will need to review this feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600205 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 22:37:42 +00:00
Jacques Le Roux 7c8310a68a A slightly modified patch from Adrian Crum "Enable HTML whitespace removal through debug.properties element" (https://issues.apache.org/jira/browse/OFBIZ-1420) - OFBIZ-1420
I finally uncommented the line widget.verbose=true in widget.properties and put an help in http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-Widgetssetting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598362 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 17:58:54 +00:00