Marco Risaliti
4ea8e21b14
Fix a bug that does not show the error messages correctly in same cases on webpos
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1127659 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 19:54:27 +00:00
Marco Risaliti
f22dd446e1
Fix a focus on the first field for Open Terminal operation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1127657 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 19:53:09 +00:00
Marco Risaliti
ee3f613025
Webpos2 improved version (OFBIZ-4287)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1125951 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:11:17 +00:00
Jacopo Cappellato
9b9b427c44
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/specialpurpose@1058056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 10:44:35 +00:00
Jacques Le Roux
c008c6ccb3
Merges the jQuery branch back to the trunk
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Adam Heath
400cc79931
Some places in ofbiz were doing dom manipulation without waiting for the
...
dom to be finished loading. Wrap such code with a dom:loaded observer.
Also, change all window->load calls to dom:loaded observers. The former
happens after all images have finished loading, while the later happens
just after the dom has finished parsing. This is better, as sometimes
the images may take a long time to finish downloading, and until they do,
none of the manipulation will take place.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@997420 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:37 +00:00
Adam Heath
5b3b7e0c99
Finally created a script to find and fix tons of missing final newlines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Jacques Le Roux
e263a69b74
A patch from BJ Freeman "complete web.xml for error reporting" ( https://issues.apache.org/jira/browse/OFBIZ-3820 ) - OFBIZ-3820
...
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.
JLR: This will maybe help to better understand some errors on demo servers, and can't hurt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux
be88f832a2
Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux
ef2a1c044c
We don't need
...
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>
Less to update every year!
Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783 ) - OFBIZ-3783
Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!
I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Erwan de Ferrieres
5a6774109f
XHTML validation errors round 2 (specialpurpose_webpos)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945848 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 19:52:04 +00:00
Bruno Busco
22fc7286fe
A patch from Blas Rodriguez Somoza
...
OFBIZ-3619 - XHTML validation errors (specialpurpose_webpos)
XHTML validation errors
- Unclosed INPUT
- attributes without values (nowrap, checked, selected)
- Unencoded ampersands in urls.
- Duplicated DOCTYPE definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@929243 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:09:19 +00:00
Adam Heath
62ede2cc16
Fix lots of bad xhtml tags, need to have a space before the ending /.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Scott Gray
3aecd2c831
Deprecated the various json event handlers and commented out references to them from the controllers
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@892685 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:01:20 +00:00
Scott Gray
0d32f9fe65
Convert all uses of json event types to chained requests with the common json event at the end.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@892219 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 10:55:34 +00:00
Ashish Vijaywargiya
ec8757448c
Adding missing license from these files present inside specialpurpose folder.
...
I don't know what to do with the XSD files present inside oagis component - Is it right to add ASL license in these files? If Yes? then where can we add this license?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@807079 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 05:34:50 +00:00
Jacques Le Roux
f85e998f2c
no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Jacques Le Roux
a5eae49db2
Revert r772941 at David's demand: <<The dynamic dates represented here do not copyright the files that the code is in, they copyright what the code produces, and that is constantly changing so the dynamic date is appropriate."
...
On my side, I tried to find legal informations but did not find anything clear.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@773211 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 12:09:09 +00:00
Jacques Le Roux
589079c9fc
Revert r772887
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@773095 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 20:44:54 +00:00
Jacques Le Roux
13893db1ec
See http://markmail.org/message/znytl2y4inpmxbdo (David Goodenough's advice on copyright update)
...
extract : "My understanding of the Berne Convention rules for Copyright (which covers most jurisdictions - even the USA now), is that the copyright period only gets extended when the copyrighted item gets updated."
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@772941 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 11:15:08 +00:00
Jacques Le Roux
382c9875d5
A patch from Ashish Vijaywargiya "Change Copyright Year" ( https://issues.apache.org/jira/browse/OFBIZ-2346 ) - OFBIZ-2346
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Jacques Le Roux
34deb9956a
Generalize r767694 to allow better error messages rendering in UI.
...
Actually I was more interested to solve the same issue in BizznessTime but StringUtil.wrapString is not working there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@772887 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 08:41:53 +00:00
Marco Risaliti
73a958fa9e
Support of BigDecimal to WebPos (OFBIZ-2313)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@767279 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 20:08:05 +00:00
Jacques Le Roux
bb27d79880
In Controller.xml
...
path="org/ofbiz/(\w*)/(.*)" (.*) => path="component://$1/script/org/ofbiz/$1/$2" $3
path="org/ofbiz/(\w*)/(.*)" => path="component://$1/script/org/ofbiz/$1/$2"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@765798 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 23:07:52 +00:00
Jacques Le Roux
97bb3073c9
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/specialpurpose@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Bilgin Ismet Ibryam
4b3ef3a6fa
Added an optional "name" attribute to event element in controller.xml This attribute is used only (also required) in events inside
...
firstvisit, after-login, before-logout, preprocessor and postprocessor elements. Events with same name will be overridden and only the last one will be executed. Overriding works also in cases when a controller.xml includes other controller files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@761220 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:47:48 +00:00
Ashish Vijaywargiya
a872b043b4
Applied patch from Jira Issue OFBIZ-2242 (Small typos in ecommerce & webpos components)
...
Thanks Ashish Nagar for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@755157 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 09:03:28 +00:00
Bruno Busco
cde214ae99
Changed WebSiteId parameter description to be more general
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Adam Heath
6ce076acd0
Should be the last of the executable removes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@749178 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 04:18:30 +00:00
Adam Heath
ff1a1a67fc
Some more unneeded executable props.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@749177 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 04:13:24 +00:00
Adam Heath
3d4f3f60dc
Remove executability from these files, that make no sense.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@749176 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 04:06:50 +00:00
Jacques Le Roux
434aa83db9
Oops (bad previous commit)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746495 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 12:35:06 +00:00
Jacques Le Roux
37d964cf9f
We need this since now ProductContentWrapper and categoryContentWrapper return a StringUtil.StringWrapper, else "Photo not available" image never shows
...
Certainly more to come...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746490 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 12:25:04 +00:00
Marco Risaliti
18a994d2b6
A lot of hardcoded labels cleaning and changes some wrong references
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@745286 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 22:57:14 +00:00
David E. Jones
7737e8137b
Fixed issue with general html encoding of String objects in FTL files being applied to dynamic JavaScript from groovy files by leaving them as StringBuffers, ie just removing the toString calls
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742234 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 02:34:23 +00:00
Jacques Le Roux
4c85903d68
All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Jacques Le Roux
cd36ee6ed4
Some labels fixes
...
+ a not toally applied patch from Erik Wegner " More German translations" see https://issues.apache.org/jira/browse/OFBIZ-2067?focusedCommentId=12660475#action_12660475 - OFBIZ-2067
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@731224 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 11:57:53 +00:00
Marco Risaliti
bf2a0311a7
PAYMENT SET REF. button is not working correctly because it sets now only the first payment of the cart (Issue OFBIZ-1998)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@704645 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 19:48:26 +00:00
Marco Risaliti
fa7f0f3f1c
CLEAR PAYMENT button is not working correctly because it clears now only the first payment of the cart (Issue OFBIZ-1995)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@703851 13f79535-47bb-0310-9956-ffa450edef68
2008-10-12 17:24:07 +00:00
Marco Risaliti
54eadbcbfa
Add a new "paymentReasonId" on PosTerminalInternTx entity and store payment reason id during Pos Paid IN/OUT (Issue OFBIZ-1991)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@703568 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 19:56:17 +00:00
Marco Risaliti
7d440b99d7
Add a new "terminalName" on PosTerminal entity and then show it on web pos login (Issue OFBIZ-1981)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@701675 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 17:19:07 +00:00
Marco Risaliti
33e8848d2d
Changed two wrong requests in controller.xml
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@701518 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 20:09:32 +00:00
Marco Risaliti
7f91e6cf52
Removed hard-coded posTerminalId pos-1 and add the possibility to select it during login
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@699861 13f79535-47bb-0310-9956-ffa450edef68
2008-09-28 16:45:52 +00:00
Marco Risaliti
a3ca5faca5
Change of language was not working, it was missing a request.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@699728 13f79535-47bb-0310-9956-ffa450edef68
2008-09-27 20:22:39 +00:00
Marco Risaliti
92d0b1b4ee
New Web Pos application
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@698351 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 21:09:28 +00:00