Commit Graph
7832 Commits
Author SHA1 Message Date
Jacques Le Roux 00212d0af2 <session-to-field field.*="(.*)" map.*="(.*)" session-name="(.*)"/> => <session-to-field field="$2.$1" session-name="$3"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741488 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:22:56 +00:00
Jacques Le Roux ed29821e0a <result-to-field result-name="(.*)" map.*="(.*)"/> => <result-to-field result-name="$1" field="$2.$1"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741487 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:21:24 +00:00
Jacques Le Roux b8c163a295 <field-to-request field.*="(.*)" map.*="(.*)"/> => <field-to-request field="$2.$1" request-name="$1"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741479 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:07:11 +00:00
Jacques Le Roux 90741427de <field-to-result field.*="(.*)" map.*="(.*)"/> => <field-to-result field="$2.$1" result-name="$1"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741477 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:05:26 +00:00
David E. Jones 4d9382e887 Cleanup and pretty-up a bunch of log statements; moved some less helpful ones to verbose, combined some, and generally tried to make logs in various places more user friendly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741424 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 06:04:58 +00:00
David E. Jones ae4f308ef8 Some playing with simple-method cleanup, inventory quantities service now doesn't have to distinguish between serialized and non-serialized, and using some new UEL stuff instead of calculate op
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741423 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 06:03:06 +00:00
Hans Bakker 0e58b86c96 more checks on missing data, added error message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741383 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 03:03:58 +00:00
David E. Jones afe3dc9c81 A few related changes:
Big refactor of ControlServlet, RequestManager, RequestHandler, and ConfigXMLReader so that simple objects are used instead of Maps within Maps within Maps for the data from the controller.xml file, which results in eliminating hundreds of lines of code including the entire RequestHandler class. I have tested this a lot with different apps that use the ControlServlet differently, but this is a very big change so there could still be issues. Based on this cleanup future issues and new features should be easier and less error prone, and that is why doing it now in order to help with a number of other improvements and bug fixes that are part of this commit.

Also added redirect-parameter element to go under the request-map -> response element which allows you to specify which parameters will be passed on in a redirect instead of using all of them. Also improved default there and in various places to only include parameters from the URL to avoid issues with form data, but if the ID to display (like following a crAlso added redirect-parameter element to go under the request-map -> response element which allows you to specify which parameters will be passed on in a redirect instead of using all of them. Also improved default there and in various places to only include parameters from the URL to avoid issues with form data, but if the ID to display (like following a crAlso added redirect-parameter element to go under the request-map -> response element which allows you to specify which parameters will be passed on in a redirect instead of using all of them. Also improved default there and in various places to only include parameters from the URL to avoid issues wd in and also going to the same page after login from auth=true or from clicking on the login link.

Related to cleaning up login URLs also changed how the request and parameters passed to a request before a login are saved and used after a login is successful so that it URL parameters go on the URL in a redirect to the original request to make it more transparent, and non-URL parameters just stay in the session and are used when the original request is run again to avoid putting sensitive information like passwords and big information like textarea data in the URL, which has been a problem before.

To see what some of these things combined can do try going to the example app, login, click on the New Example link, then logout in another tab or window, then go back to the New Example page and enter a name and a whole bunch of text in the long description then click Create, the system will show you the login page so enter username/password, and then after login you'll see a nice URL to EditExample with the correct exampleId parameter and all of the data entered before login successfully saved and never appearing in a URL.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741374 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 02:14:19 +00:00
Marco Risaliti fd589cdd0b To get labels translations it's necessary UtilProperties.getMessage() instead of UtilProperties.getPropertyValue()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741281 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 20:34:33 +00:00
Jacques Le Roux 92570024a7 A patch from Amit Sharma "Extending the capability of configurable product in OFBiz with Freature tree generation technique" (https://issues.apache.org/jira/browse/OFBIZ-2161) - OFBIZ-2161
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741073 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 10:57:26 +00:00
Jacques Le Roux e026b40f9b More explicit labels for now but this needs to be generalized in form widget
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741063 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 10:26:35 +00:00
Jacques Le Roux 2b412a62c4 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741041 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 08:03:01 +00:00
Jacopo Cappellato 8583c2659a Slightly improved ui for form used to add/edit a global gl account.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741034 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 07:30:00 +00:00
Jacques Le Roux 24266dfcc9 <map-to-map map-name="(.*)" to-map-name="(.*)"/>
<map-to-map to-map-name="(.*)" map-name="(.*)"/>

without -name

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740912 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 22:08:33 +00:00
Jacques Le Roux 240f52a598 1) <field-to-request map.*="(.*)" field.*="(.*)" request-name="(.*)"/> => <field-to-request field="$1.$2" request-name="$3"/>
then
2) <field-to-request map.*="(.*)" field.*="(.*)"/> =>  <field-to-request field="$1.$2" request-name="$2"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740830 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 19:11:24 +00:00
Jacques Le Roux 1cb1de05c4 1) <field-to-result map-name="(.*)" field="(.*)" result-name="(.*)"/> => <field-to-result field="$1.$2" result-name="$3"/>
then
2) <field-to-result map.*="(.*)" field.*="(.*)"/> => <field-to-result field="$1.$2" result-name="$2"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740825 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 19:01:58 +00:00
Jacques Le Roux 366209d432 Fix recent wrong changes, investigation continues...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740815 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 18:09:34 +00:00
Jacques Le Roux 0e61e863be Revert 740368
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740530 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 00:22:04 +00:00
Jacques Le Roux d5a2fe9fa6 Revert 740011 (and conflicted changes since then resolved)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740529 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 00:15:46 +00:00
Jacques Le Roux b19495c19b Revert 740009 (and conflicted changes since then resolved)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740524 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:59:15 +00:00
Jacques Le Roux cd2df394e8 Revert 740004 (and conflicted changes since then resolved)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740518 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:45:09 +00:00
David E. Jones 723031e81e Fixed bug with createSurveyResponse in a way that allows numeric IDs; there is a special problem here because variable names are set and then later used in an expression, which is why most of these expressions are working fine but these are not; also found a bug in updateSurvey with a variable name that was wrong causing updates not to work and fixed that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740515 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:43:00 +00:00
Jacques Le Roux 692ce2f2da Revert 740494
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740505 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:14:57 +00:00
Jacques Le Roux 018dc28a33 Revert 740490
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:11:02 +00:00
Jacques Le Roux 18cfc182f0 Some more or less randow deprecated tags fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740494 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:42:46 +00:00
Jacques Le Roux f0a3a7e56a Horrible (it takes a machine..., mine :/)
<field-to-request field="(.*)" request-name="(.*)" request-name="(.*)"/>
fixed by hand 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740491 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:31:51 +00:00
Jacques Le Roux ae77db58c3 <field-to-request field="(.*)" map-name="(.*)"/> => <field-to-request field="$2.$1"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740490 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:26:45 +00:00
Jacques Le Roux 8efd1765bc Fix r740009
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740474 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:08:23 +00:00
Jacques Le Roux 2b78aeb145 Fic r740004
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740450 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:13:50 +00:00
Jacques Le Roux 7a644d0548 Temporarliy fix current issue when creating Party Contact Mechs (actually reverted to 739820)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740439 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:00:04 +00:00
Jacques Le Roux 4187133151 Fix issues introduced recently while trying to clean deprecated simple-method tags
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740407 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 20:10:41 +00:00
Jacques Le Roux 62b6192c21 <field-to-result map-name="(.*)" field="(.*)"/> => <field-to-result field="$1.$2"/>
<field-to-request map-name="(.*)" field="(.*)"/> => <field-to-request field="$1.$2"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740368 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 18:18:49 +00:00
Jacques Le Roux b402219255 Begin a discussion about i18n of typography on dev ML...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740351 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 16:55:11 +00:00
Jacques Le Roux 5c95acc38d Thanks to Labels Manager the French translation is now complete
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740338 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 16:24:30 +00:00
Jacques Le Roux 8b80224434 Some French labels which were missing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740302 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 13:31:53 +00:00
Bruno Busco 389fc8bbbc Used localized labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740301 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 13:26:11 +00:00
Bruno Busco 10a0feba88 Added ExpandAll function in javascript. This allows to expand or collapse all fieldgroups present in a page.
An example on how to use is present in the CommonProductDecorator
TODO: does not work on IE

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740296 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 13:12:49 +00:00
Jacques Le Roux 79d5490066 Revert 740127. Waiting for a global and real solution allowing digit at 1st char in Id
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740260 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 09:34:10 +00:00
Hans Bakker 84ef3e3df8 I created a new userlogin with './ant create-admin-user-login' and logged in with that user. I now see that a logged on userLogin not always has a related party which is not taken care of in the party manager.......i fixed this error but then wanted to change the password of the admin user.... and looked at the admin profile....a box of pandora?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740227 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 06:50:42 +00:00
Jacques Le Roux b662e4f98a No comment field in GeoPoint...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740137 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 22:33:05 +00:00
Jacques Le Roux 3657fd0ea5 A temporary(?) solution to (at least) fix the mini poll bug in eCommerce (due UEL rules)
Maybe a more generic solution will be introduced later...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740127 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 22:17:16 +00:00
Marco Risaliti f5eb31e56f Label Manager can handle only one comment per label (it's enough for the moment)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740118 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 22:05:01 +00:00
Si Chen 3c40054b32 fix input field for parent product category ID of a product category
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740117 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 21:59:32 +00:00
Marco Risaliti f1fb5f776f Change special HTML characters (<B> <U>) into xml file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740116 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 21:53:13 +00:00
Marco Risaliti 268cf09f1f Commented two views to un-existing forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740093 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 20:05:23 +00:00
Vikas Mayur 80e1ed4a8f Formatting changes only, I think I was too early then Jacques committing similar simple-methods cleanups little later :)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740063 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 18:32:40 +00:00
Jacques Le Roux 0597116aba <call-object-method obj-field="(.*)" obj-map="(.*)" method-name="(.*)" ret-field="(.*)" ret-map="(.*)"/> => <call-object-method obj-field="$2.$1" method-name="$3" ret-field="$5.$4"/>
<call-object-method obj-field="(.*)" obj-map-name="(.*)" method-name="(.*)" ret-field="(.*)" ret-map-name="(.*)"/> => <call-object-method obj-field="$2.$1" method-name="$3" ret-field="$5.$4"/>
<session-to-field field-name => <session-to-field field

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740035 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 16:55:53 +00:00
Vikas Mayur 1f706c0226 More cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740029 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 16:38:01 +00:00
Vikas Mayur 2e4b6877dc simple-methods cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740024 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 16:32:00 +00:00
Jacques Le Roux cdb21587bc Update some tags
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740020 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 16:01:41 +00:00