Adrian Crum
2b9121fd39
Chinese translation for the framework folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2723 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798559 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 15:24:23 +00:00
Scott Gray
81e672a98e
Fix startup warning caused by duplicate field alias names
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798520 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 13:39:37 +00:00
Scott Gray
8b86a4953c
Fix startup warning caused by duplicate field alias names
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798516 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 13:29:59 +00:00
Anil Patel
a29ff05ca5
Adding Json event handler for multi service. Patch from OFBIZ-2762. Thanks Rishi and Chirag for implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798114 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 12:22:21 +00:00
Hans Bakker
d238f16043
change of currency definition, should start with country
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798033 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 06:15:50 +00:00
Scott Gray
e72e9a8029
Added a new ServletContext parameter "forceHttpSession" that when set to true forces the JSESSIONID cookie to be sent via http
...
This resolves an issue in the ecommerce app where if the initial request to the app is an https request then the session cookie is available via https only.
Subsequently if at any point the user switches to http then the session is lost along with any data such as the shopping cart.
The solution involves checking if the request is an https request and if the session is new then the user is redirected to an http version of the request.
The session cookie is then sent along with the http response which will either be the page requested if the request doesn't require https or otherwise another
redirect back to the https version.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798025 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 05:02:19 +00:00
David E. Jones
d4aa04aee8
Added some documentation about the service definition transaction related attributes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797962 13f79535-47bb-0310-9956-ffa450edef68
2009-07-26 17:45:24 +00:00
Alfred Maxwell Byers
c0ac870199
The content length was being calculated on the wrong string.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797681 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:41:34 +00:00
Adrian Crum
ca1861d05f
Removed unused method from TimeDuration.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797229 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 21:27:33 +00:00
Jacopo Cappellato
ba18ab3728
Fixed bug that was preventing the red-when attribute to work properly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797126 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 16:05:36 +00:00
Scott Gray
297d704fdf
Added two new javascript functions that allow a link or form post to take place in the parent window rather than the pop up itself
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796932 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 02:49:29 +00:00
Scott Gray
99ec7450cf
For view-last responses if no previous view can be found then allow the value attribute to be used as the default view.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796918 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 01:00:58 +00:00
Adrian Crum
1f76c2f5ec
Moved user preferences code from Global Decorator to ScreenRenderer.java. Now user preferences can be queried before the Global Decorator is run.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796896 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:27:27 +00:00
Adrian Crum
32b9994e9d
Generic permission check bug fix, reported by Anne Jessel - https://issues.apache.org/jira/browse/OFBIZ-2749 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796769 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 15:37:59 +00:00
Hans Bakker
c5cc3ef131
removed debug log statements
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796244 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 10:32:48 +00:00
Anil Patel
a8d9581734
Enhancement to dropdown element of form widget. Now it can handle data of types other then String.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795315 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 05:27:54 +00:00
Hans Bakker
f698d6b81f
edit portal page and inline string editor fix
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794601 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 09:03:53 +00:00
Scott Gray
3f2d963f91
Initial implementation of the Payflow Pro version of PayPal's Express Checkout OFBIZ-934
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793866 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 11:43:21 +00:00
Adrian Crum
5de4beaf9e
Small fixup for last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793025 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 16:33:54 +00:00
Adrian Crum
e4ee374a66
Conversion from java.util.Calendar to com.ibm.icu.util.Calendar. I didn't convert the Cloud component - I wasn't sure if the Calendar class was being passed through SOAP.
...
OFBiz users who have modifications or add-ons can make the same substitution to get them to compile.
I'll let the dust settle from this, then I'll add the user-selected calendar capability.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792987 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 15:39:21 +00:00
David E. Jones
3f8f20e601
Added example of nested view-entity with entity-condition on a view member entity; adjusted view-entity entity-condition to handle naming consistent to other places for nested views, other small cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792836 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 08:47:16 +00:00
David E. Jones
497a7cbf0d
Change to handling of error messages in simple-methods called as a service to pass errors through in List/Map and not combine into one big String, add text you can't change, etc; now logs details and passes errors as-is
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792633 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 18:51:00 +00:00
David E. Jones
e550fc35ca
Removed comments so that queries won't always show in the log; thanks to Adam for the reminder
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792546 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 13:17:08 +00:00
Jacopo Cappellato
d797f8fb8d
Fixed issues with new renderers when a link was inserted in the form title. Thanks to Divesh Dutta for the bug report and partial fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792470 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 09:20:07 +00:00
David E. Jones
49e725e73e
Fixed issue discovered and fixed and reported by Ian Tabangay, thanks Ian
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792422 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 06:50:23 +00:00
David E. Jones
f8471fc20d
Refactored implementation of view-entity entity-condition implementation to support the changes to the XSD and support the various new options; tested to work with the various cases in the entitymodel_view.xml file in the example component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792420 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 06:48:05 +00:00
David E. Jones
28f3dd95ea
added note on another thing to test/demo for view-entity entity-condition
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792417 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 06:44:30 +00:00
David E. Jones
6435be1189
Fixed small issue introduced with view-entity entity-condition where non-view entity name was used but conditions were removed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792416 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 06:41:54 +00:00
David E. Jones
d0d41b3259
Added some examples of slightly more complex view entities, plus simplified some example forms based especially on the ExampleStatusItem view-entity; also cleaned up some names/titles; note that these are proof of concept examples to demonstrate and test the new functionality and are not yet functional
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792397 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 04:37:38 +00:00
David E. Jones
d83da9a32a
Added some notes on additional things to add
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792394 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 04:28:27 +00:00
David E. Jones
783b1fd9dc
Added order-by entity-condition to the StatusValidChangeTo view-entity, a test case for this new view-entity functionality that will simplify queries on it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792391 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 04:25:11 +00:00
Adrian Crum
8c20ac5313
Small fix for DateRange.java - made the default range smaller. For some reason, external programs have problems with dates in the range of 2 million BC to 2 million AD.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792353 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 23:14:15 +00:00
Adrian Crum
8b4acdd137
Small fixup for last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792297 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 20:30:44 +00:00
Adrian Crum
5c16b67075
Cleaned up cluttered and confusing FindGeneric screen in WebTools.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792295 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 20:28:01 +00:00
Adrian Crum
28aa157ce9
Enabled HTML whitespace compression in MacroScreenViewHandler.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792258 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 18:53:34 +00:00
Anil Patel
1e2f095bb6
Removed method I added earlier. Solution already exists in ExpressionUiHelper.java. Adrian, Thanks for reporting and helping locate existing method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792196 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 15:55:12 +00:00
Anil Patel
6e76144c8e
Convert monthNumber to string. Form widget options list does not like Integer as value of entry.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792136 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 13:43:36 +00:00
David E. Jones
bc8b260f8d
Some cleanups of the design for the entity-condition stuff; I should have reviewed and cleaned up this XSD more before doing the last commit as there are a number of things that did not work and are not useful in this context from the entity-condition patterns used in the widgets and simple-methods; the implementation is not updated yet for these changes but will be soon; while not all of the changes here are supported yet the ones that are removed were things that did not work anyway; in the mean time feedback on the design is welcome
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792116 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 12:41:04 +00:00
Anil Patel
24208d63e9
Added method to return List of month number and month name entries for the year. Will be useful for building dropdown lists.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792113 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 12:33:16 +00:00
Jacopo Cappellato
5a4f77bf34
Fix for bug reported by Hans Bakker in the dev list: passing field values containing ${...} directives was breaking the renderers macros because the renderer was attempting to execute them.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791841 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 14:04:36 +00:00
Adrian Crum
57e3057c51
Small fix for iCalendar Help screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791606 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 20:33:30 +00:00
Jacopo Cappellato
b2eb5fc5b1
Misc fixes for the text macro renderer's templates.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791442 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 11:25:49 +00:00
Jacopo Cappellato
6d28d63653
Fixed bug (wrong position of a <context-param> element) reported by Vadiraj Deshpande in OFBIZ-2704.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791436 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 10:49:23 +00:00
Scott Gray
dec24b29f2
Sorry for the big commit, got a bit carried away.
...
Added override and deprecated annotations wherever they were missing
Removed the use of any deprecated classes/methods (except OutputFormat in UtilXml)
A few other random generics and misc. cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791212 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 10:01:19 +00:00
Hans Bakker
ae3fa014f3
another allow safe html
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791207 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 07:38:19 +00:00
Scott Gray
9fa513efcb
Add to new attributes to the Menu Widget's link element:
...
request-confirmation - if set to true displays a dialog requesting confirmation from the user before proceeding
confirmation-message - the confirmation request message to be displayed if the above is set to true
This removes the need to put javascript inside the menu widget when requesting confirmation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791126 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 13:34:18 +00:00
Scott Gray
762e3f6892
Allow disabling of a pagination on-event-update-area element by overriding with a blank target, part of OFBIZ-2661
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791110 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 12:14:30 +00:00
Scott Gray
cfcb6f5feb
Added missing containers required for ajax pagination to the common LookupDecorator, part of OFBIZ-2661
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791104 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 11:17:32 +00:00
Scott Gray
d9c97ff79e
Fix javascript error caused by an unclosed quote mark
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791103 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 11:14:27 +00:00
David E. Jones
9add252033
Added Override annotations as suggested by Adam Heath to avoid missing these again in the future and causing problems
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791054 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 03:21:18 +00:00