Commit Graph
1568 Commits
Author SHA1 Message Date
Marco Risaliti aa7f00442c Remove unused variable in TextFormRenderer (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075545 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:40:32 +00:00
Marco Risaliti 66ea3fb5df Remove unused variable in FoFormRenderer (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075541 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:31:27 +00:00
Sascha Rodekamp 40f52ad764 Improvement - if-regexp conditions in Minilang and Screens not thread safe (https://issues.apache.org/jira/browse/OFBIZ-4107). I added another getTestPattern Method to support case insensitive tests. The case insensitive testPattern is needed from the UtilHttp.checkURLforSpiders.
Thanks Martin & Dimitri for your effort.

Orig. Msg.:

The Perl5Matcher Perl5Compiler are not thread safe, as mentioned in their documentation: http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/Perl5Compiler.html
A separate instance should be used per thread.

The concrete issue occurred in our system in the createCommContentDataResource service. The service tries to save emails to the database after they have been sent. It failed because of the described issue. This caused the whole email service (sendMailFromScreen) to be rescheduled. So customers got emails twice.

The Perl5Matcher and Perl5Compiler instances are assigned to static fields in the org.ofbiz.minilang.method.ifops.IfRegexp class. So every thread will use the same instance. No synchronization is done currently. Changing the fields to be non-static will not work either, as SimpleMethods are cached. So all calls to the same simple method use the same IfRegexp instance.

We fixed the problem by moving the instantiation of the Perl5Matcher and Perl5Compiler to the exec() method in IfRegexp.

Other classes are most likely affected, too: org.ofbiz.entity.condition.EntityComparisonOperator, org.ofbiz.minilang.method.conditional.RegexpCondition, org.ofbiz.minilang.operation.Regexp, org.ofbiz.widget.menu.ModelMenuCondition$IfRegexp, org.ofbiz.widget.screen.ModelScreenCondition$IfRegexp, org.ofbiz.widget.tree.ModelTreeCondition$IfRegexp


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075322 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 13:43:23 +00:00
Erwan de Ferrieres cc97cd53cc Make collapsibleAreaId unique so the right screenlet is collapsed when more than one screenlet in a portalPage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073398 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 16:44:30 +00:00
Jacques Le Roux 5a4b5561a7 Provides defaultMinLength default value (=2)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073163 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 21:55:49 +00:00
Jacques Le Roux 2d35500cf5 Introduces widget.autocompleter.defaultMinLength in widget.properties and set it to 2: Default minimum number of characters an user has to type before the ajax autocompleter activates (jQuery default is 1).
Note: not to be confused with the the minChars option of the old plugin (not in jQuery UI but the  external plugin from bassistance.de) which allowed this so this page is wrong: http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_dataoptions. Now replaced by minLength, the right page is http://docs.jquery.com/UI/API/1.8/Autocomplete#options

Also adds a css trick (from http://jqueryui.com/demos/autocomplete/maxheight.html) to have a vertical scroolbar when having dozens of items in autocomplete (using widget.autocompleter.defaultViewSize=100 for instance) 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072784 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 22:43:59 +00:00
Erwan de Ferrieres 2fa06cc44c Adding missing DTD attributes for link element when calling an ajax-window
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072599 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 14:11:02 +00:00
Erwan de Ferrieres 747137b741 Adding default empty values to step and timeValues, resolving OFBIZ-4188
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071967 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 11:25:05 +00:00
Sascha Rodekamp f51f4fdff2 Feature - Screen Link Ajax Windows (https://issues.apache.org/jira/browse/OFBIZ-4183)
I created a new Screen <link feature. Similar to the Form Lookups a link can be opened in a layered JS Box (see Screenshot in Jira Task). It looks nice and is helpful in some cases.

You can add any screen u want. It's expected that you create a certain screen for the layered link which only contains the information you need.

The layered box doesn't contain any logic it's just a container for the screen which should be opened. So the screen it self can decide what to show. i.e  if you load a form, the form itself implement the way how it react on a submit (either reload the site or perform the submit as Ajax request in the background).

There is also an example in the example section. Try to create a new Example on the mainpage.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071698 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 17:01:07 +00:00
Sascha Rodekamp a33a59873b Bug Fix "DateTimePicker shows wrong current time" (https://issues.apache.org/jira/browse/OFBIZ-4169) - When changing the plugin configuration the dtp shows the correct time - Thanks Nikkel K for reporting.
Orig. Msg:
The DateTimePicker calculates nearly always in 5m steps and rounds up or down, depending on the nearest result. This means, that you have at 14:11:10 and at 14:12:10 a time of 14:10:10 in the DTP and at 14:13:10 and 14:14:10 already 14:15:10 (so on the one hand you have a "current" time that shows in the future and on the other hand the same time 5 times in the DTP (while the mins. dont increase, the seconds do).

comment to the nearly always: i had exactly one case, where i had xx:01:xx, and i cant recreate it...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071328 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 17:55:52 +00:00
Erwan de Ferrieres 80d2dc710d Adding a new feature for date-time fields: step, which will format the minutes drop-down with or a 1, 5, 10, 15 or 30 step-size
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070570 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 16:57:31 +00:00
Marco Risaliti cc33513cce Remove some unused import in ModelMenuItem (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068573 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:48:46 +00:00
Marco Risaliti d67e3a92fa Remove an unused import in ModelFormAction (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068571 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:47:50 +00:00
Marco Risaliti 5c8186724e Remove some unused import in PortalPageWorker (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068570 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:46:06 +00:00
David E. Jones 6e7bbc9976 Added a use-transaction attribute to the screen definition, defaults to true (which is what the screen widget did before), and allows avoiding the overhead of a transaction in a screen by setting it to false
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1066355 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 07:28:57 +00:00
Erwan de Ferrieres 4a8cf3cde3 When using on-event-update-area, parameters should not be duplicated in the map if already existing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064180 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 16:20:31 +00:00
Jacques Le Roux c26dbdd713 A line move asked by Leon about OFBIZ-4136 (In layer mode, the attribute "target-parameter" of a lookup field is not used)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063630 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 08:42:53 +00:00
Jacques Le Roux 746ba1e9b1 A patch from Leon "In layer mode, the attribute "target-parameter" of a lookup field is not used" (https://issues.apache.org/jira/browse/OFBIZ-4136) - OFBIZ-4136
As xsd describes, "target-parameter" of a lookup field can be used to transfer extra parameters to lookup something. But if we choose "layer" mode (the default mode of lookup), this attribute does nothing. It works before jQuery introduced. I guess this feature is forgot by mistake during migration.

JLR: Nice catch! Actually IIRW it's because this has been introduced in trunk after we migrated this part in the jQuery branch and it passed "hidden" when I merged the trunk in branch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062709 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 09:55:17 +00:00
Jacques Le Roux 51a2ceb54f A patch from Chatree Srichart "Fix using TagLib in Freemarker." (https://issues.apache.org/jira/browse/OFBIZ-2703) - OFBIZ-2703
Fix using TagLib in freemarker follow this.
1. In ControlServlet.java, create ServletContextHashModel instance and set to request's attritube
2. In ScreenRenderer.java, set ServletContextHashModel instance from request's attribute to context name Application and set HttpRequestHashModel instance from requestAttributes in context to context name Request

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061310 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 14:23:29 +00:00
Adrian Crum 10f0b07fe5 Fixed bug in collapsible screenlet - expand/collapse link wasn't working with JavaScript turned off.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060699 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 07:23:33 +00:00
Jacques Le Roux 59a6ad1b7d Revert r1060229 for now (see https://issues.apache.org/jira/browse/OFBIZ-4119)
Thanks Adrian for the reminder


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060417 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 15:32:17 +00:00
Jacques Le Roux 09029298c4 A patch from Ankit Jain "The id attribute is not set in the <a> tag." (https://issues.apache.org/jira/browse/OFBIZ-4119) - OFBIZ-4119
By adding id attribute in the <a> tag then its helpful for developers to perform action on it using js or css. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060229 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 08:00:37 +00:00
Bilgin Ismet Ibryam 9904b2b1a9 Allow calling simple method in form actions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059529 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 10:47:31 +00:00
Adrian Crum fd2b63c3d8 Fixed a bug in HtmlMenuRenderer.java - menu item widget-style attribute was being ignored.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059433 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 02:18:43 +00:00
Adrian Crum 78682e55ee Parameterize form widget odd-row-style, header-row-style, and default-table-style attributes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059425 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 00:10:25 +00:00
Jacopo Cappellato c4ff3a401c Another group of missing licence heders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058590 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 14:51:38 +00:00
Jacques Le Roux 29458f23a8 Remove unrelated changes that slipped in with r1058197
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058198 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 15:43:04 +00:00
Jacques Le Roux 2bfcc945e3 A patch from Martin Kreidenweis "Adding content in CMS using add long text (right mouse click) doesn't work" (https://issues.apache.org/jira/browse/OFBIZ-4079) - OFBIZ-4079
Fixes some bugs in CMS introduced in svn r1036195 when migrating from dojo to jQuery:
* reverted accidental logic change in callDocument() that broke the "new ..." context menu items
* making elRTE "save" toolbar button work: same behavior as the regular "Save" button
* using regular form submit instead of ajax for new content for now
  o ajaxSubmitForm() can't handle new content, it won't reload the form because it doesn't know the new contentId
    + some controller changes would probably be necessary to make that work (return new contentId as JSON)
  o nav tree is not updated with ajax submit currently
* now always creating editor if corresponsing html element exists
  o editor was not initialized when WebSiteCMSContent screen was loaded by non-ajax call


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058197 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 15:39:29 +00:00
Jacopo Cappellato 8564cd8125 Removed unused handler from controller files; replaced handlers that were still using the old ScreenWidgetViewHandler with the current MacroScreenViewHandler; deprecated compress.HTML property with output specific properties like screen.compress; this fixes a rather important issue happening when the compress.HTML setting is set to true: non html output screens like for example tab delimited exports were messed up.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 10:44:35 +00:00
Jacques Le Roux 63c46c446f Since anyway we rely on a form name in renderLookupField, I changed the way Sascha fixed OFBIZ-4068 (see r1056701)
Two reasons to this: 
# we are not sure the descriptionFieldName is alwayd of the form formName_descriptionFieldName
# anyway we need a form name for call_fieldlookup3 and call_fieldlookup2 just above in htmlFormMacroLibrary.ftl. 

While at it, I also removed all question marks in ${uiLabelMap.ProductIncludeSubCategories}? occurrences, it's already in the labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056731 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 16:30:15 +00:00
Jacques Le Roux cc3939cca4 A patch from Sascha Rodekamp "Find button is not working in the 'googlebase' application" (https://issues.apache.org/jira/browse/OFBIZ-4068) - OFBIZ-4068
Rohit reported a bug in the jQuery implementation (ecommerce):
The find button is not working in the 'googlebase' application. The 'googlebase' application has a page using which u can to search for product to be submitted to google base. the find button is not submitting the page at all.

Sascha: This issue was related to the Lookup Call. The Form in Google Base hadn't a 'name' tag, so the form could not be found. I changed the target by name to a target by Id call (which is better anyways).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056701 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 13:14:19 +00:00
Jacques Le Roux b63a07c03d A patch from Sascha Rodekamp "Fix Portal Drag'n'Drop" (https://issues.apache.org/jira/browse/OFBIZ-4062) - OFBIZ-4062
During the last works on the my portal module, the Drag'n'Drop functionality was lost. Here is a fix which enables the Drag'n'Drop again. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056670 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 09:13:17 +00:00
Adrian Crum 800797bdca Updated WidgetFactory.java JavaDoc - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056623 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 05:05:35 +00:00
Jacques Le Roux 3e845d742a Fix a typo (missed a white space)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054582 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 10:59:53 +00:00
Erwan de Ferrieres 6721f91797 Online documentation wasn't working as described in ExampleEntityLabels :
FieldDescription.[fieldname] - will be used for all fields of that name
        FieldDescription.[entityname].[fieldname] - will be used for the specified entity field

The FieldDescription.[fieldname] wasn't supported yet, now it's done. I've also changed the log level to verbose as it may full the log console it there are a lot of fields on a screen

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054573 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 10:17:39 +00:00
Adrian Crum a925456a16 Fixed label widget rendering. Label widgets are inline elements except if they have the h1-h6 style, then they become block elements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054194 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 06:34:08 +00:00
Adrian Crum c8db9dfe43 Suppress rendering a field group banner when there are no field groups. This eliminates the annoying horizontal line that appears on single forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054193 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 06:32:12 +00:00
Adrian Crum f2d59c08fc Added nav-page-select style to the page-select control in the list navigation tab bar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053477 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 23:24:56 +00:00
Ashish Vijaywargiya 34ae225084 Bug fix.
Added missing argument parameters in Macro renderContentBegin.

It was giving error on console when we render content in pdf file.

Error was coming : --

2010-12-27 19:51:42,033 (http-0.0.0.0-8443-4) [ Log4JLoggerFactory.java:96 :ERROR]

Macro renderContentBegin has no such argument: editContainerStyle
The problematic instruction:
----------
==> macro renderContentBegin [on line 52, column 1 in component://widget/templates/foScreenMacroLibrary.ftl]
 in user-directive renderContentBegin [on line 1, column 1 in Mon Dec 27 19:51:42 IST 2010]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateException: Macro renderContentBegin has no such argument: editContainerStyle
    at freemarker.core.Environment.visit(Environment.java:564)
    at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
    at freemarker.core.Environment.visit(Environment.java:209)
    at freemarker.core.Environment.include(Environment.java:1482)
    at org.ofbiz.widget.screen.MacroScreenRenderer.executeMacro(MacroScreenRenderer.java:95)
    at org.ofbiz.widget.screen.MacroScreenRenderer.renderContentBegin(MacroScreenRenderer.java:364)
    at org.ofbiz.widget.screen.ModelScreenWidget$Content.renderWidgetString(ModelScreenWidget.java:1181)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:136)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:136)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:703)
    at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:166)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840)
    at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106)
    at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
    at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    at freemarker.core.Expression.getStringValue(Expression.java:93)
    at freemarker.core.StringBuiltins$StringBuiltIn._getAsTemplateModel(StringBuiltins.java:71)
    at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    at freemarker.core.Expression.getStringValue(Expression.java:93)
    at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
    at freemarker.core.Environment.visit(Environment.java:209)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:209)
    at freemarker.core.EscapeBlock.accept(EscapeBlock.java:84)
    at freemarker.core.Environment.visit(Environment.java:209)
    at freemarker.core.MixedContent.accept(MixedContent.java:92)
    at freemarker.core.Environment.visit(Environment.java:209)
    at freemarker.core.Environment.process(Environment.java:189)
    at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:216)
    at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205)
    at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250)
    at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110)
    at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1000)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:136)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
    at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:671)
    at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:136)
    at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
    at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
    at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
    at org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:81)
    at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:842)
    at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:558)
    at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:619) 
    
    
Thanks to Amit Sharma for the contribution.     

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053285 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 09:30:44 +00:00
Adrian Crum aa9faa2a5c Small layout fixup for list navigation menu.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053270 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 06:38:55 +00:00
Jacopo Cappellato 10863fcdaf A couple of fixes for csv exports: removed leading blank character in titles and fixed error caused by fields containing ampersands.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053081 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 15:07:37 +00:00
Jacques Le Roux 40c5ceef00 A patch from Chatree Srichart "Duplicate _LAST_VIEW_NAME_ query string in renderLookupField macro" (https://issues.apache.org/jira/browse/OFBIZ-4072) - OFBIZ-4072
Problem in renderLookupField macro: duplicates LAST_VIEW_NAME query string when it's already in ajaxURL . This problem causes the request handler to not convert LAST_VIEW_NAME parameter to String because it would be List. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052245 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 12:45:32 +00:00
Scott Gray fd0fa0c636 OFBIZ-4071 - menu-item's disable-if-empty attribute was not being handled, fixed by using the existing unused method to check if the item should be disabled and if true then applying the disabled style and not rendering the hyperlink portion of the child link (if present). Based on a slightly modified patch and report from Deepak Dixit, thanks Deepak.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052195 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 08:05:33 +00:00
Erwan de Ferrieres 38b593c652 OK, this one was a bad move. Reverting 1045337, until a better solution is found
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049540 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 13:23:18 +00:00
Erwan de Ferrieres b2eafb444a Adding enumerations for the conf-mode and use-private elements. Those are used for include-portal-page. This way we can use the parameters and the file is still valid
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1045337 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:44:54 +00:00
Scott Gray 47f43a302a Remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044931 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:31:27 +00:00
Jacques Le Roux 1539f888c0 Fix a small bug introduced with r1044132 for OFBIZ-4051 i18n for elrte editor. It was crashing renderTextareaField when called from forms
Also while at it renames visualEdtiorEnalble to visualEditorEnable

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044510 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 21:00:06 +00:00
Jacques Le Roux 24fe5ff37e Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Adam Heath a2fd254167 Make FreeMarkerWorker.getWrappedObject auto-cast to whatever type the
caller wants.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044232 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:21:09 +00:00
Adam Heath 2f6217251a Set svn:eol-style properly on all java files. This needs to be done on other text files as well, but that would cause undo conflicts in the jquery branch(due to .js being heavily modified there). Also, some files were committed to the repository with DOS line endings; those are fixed as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044202 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 02:40:02 +00:00