Commit Graph
22 Commits
Author SHA1 Message Date
Bruno Busco 5d5e489598 A patch from Blas Rodriguez Somoza
OFBIZ-3637 - XHTML validation errors (framework excluding widget) round 2
https://issues.apache.org/jira/browse/OFBIZ-3637

XHTML validation errors

    * Unclosed tags INPUT, IMG, BR...
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * required attributes not included (alt in img, type in style, type in script etc)
    * Uppercase tags or attributes.
    * Unencoded entities (ampersands).

Other changes:

selectall.js
line 333. ajaxAutoCompleter must work with unenconded or encoded ampersands.

EntityRefMain.ftl
line 176. <div> must be </div>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932733 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:35:07 +00:00
Adrian Crum da42890638 A patch from Blas Rodriguez Somoza - XHTML validation errors (framework excluding widget) (https://issues.apache.org/jira/browse/OFBIZ-3622).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930701 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 15:29:58 +00:00
Adam Heath 2eb1768f1d 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@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Jacques Le Roux e7e5273f34 Add a temporary comment in webtools to help use it for the moment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829672 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 22:36:05 +00:00
Jacques Le Roux 6868eb386d I'm not exactly sure why, but I had to put this test to be able to see only French labels (actually I was only looking for missing labels)
And there is always this initialisation issue which compels you to choose a file first before being able to choose all files

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812708 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 21:51:03 +00:00
Jacques Le Roux 5fb77a3d6d A part of a pathc from Carsten Schinzer "Extend webtools:LabelManager" (https://issues.apache.org/jira/browse/OFBIZ-2911) - OFBIZ-2911
This adds 3 labels counters 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812498 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:17:36 +00:00
Adrian Crum c0333a71d9 Fixed a bug in Label Manager - reported by Jacques on dev ml.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777587 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 15:47:54 +00:00
Adrian Crum 67849c3edd Small fixup for previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777172 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 16:50:25 +00:00
Adrian Crum 02705185ea Refactored the Webtools Label Manager - due to a multitude of problems. Most notably:
1. Not thread safe.
2. Server files were being read/written without multi-user synchronization
3. Reads all UI labels into memory, then stores them in static memory, PLUS
4. Finds all references of those labels in project files and store those references in static memory (!!!)
5. Doesn't follow best practices for UI layout

It's amazing the original code worked. Even more amazing is the fact that this code made it into the project.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776988 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 07:26:22 +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
Jacques Le Roux 771c3715f8 A patch from Divesh Dutta "Secure URLs in Freemarker templates files" https://issues.apache.org/jira/browse/OFBIZ-2260
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762863 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:36:29 +00:00
Jacques Le Roux 53205d825c I forgot to check svn properties, updated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754756 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 21:21:23 +00:00
Jacques Le Roux cb89b01690 LabelsReferences6.patch from Marco : "New tool to get labels information." (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
+ 2 French translations (test), the Labels Manager is now really cool to use, thanks Marco!



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754649 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 10:36:41 +00:00
Jacques Le Roux c3318ad613 CommonEmptyHeader is empty by definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751414 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 13:14:59 +00:00
Jacques Le Roux 0f121e0183 Add some informations for duplicated labels in Labels Manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750632 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 22:17:09 +00:00
Jacques Le Roux ccadfbacbb LabelReferences4.patch from Marco "New tool to get labels information" https://issues.apache.org/jira/browse/OFBIZ-2070 OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748732 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 23:01:41 +00:00
Jacques Le Roux ae94a956b3 Marco's LabelReferences3.patch from "New tool to get labels information" https://issues.apache.org/jira/browse/OFBIZ-2070 - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744842 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 07:51:34 +00:00
Jacques Le Roux d5dc2d53ab Marco's LabelReferences2.patch from "New tool to get labels information" https://issues.apache.org/jira/browse/OFBIZ-2070 - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744635 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 08:42:06 +00:00
Jacques Le Roux 5abb9596cb LabelsInfo14.patch from Marco "New tool to get labels information" (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
+ some correct changes done with this update of Labels Manager (I updated some wrong ones by hand to keep going forward...)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739955 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 10:17:34 +00:00
Jacques Le Roux 93d458ba1f LabelsInfo13.patch by Marco from "New tool to get labels information" (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737491 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 08:41:44 +00:00
Jacques Le Roux 0d9b46d1b9 Modified LabelsInfo11.patch from Marco Risaliti "New tool to get labels information" (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737382 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 15:35:14 +00:00
Jacques Le Roux 8bfaac2648 A modified patch from Marco Risaliti "New tool to get labels information" (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
I have already commited merged changes in labels files. I commented out for now the lines in SaveLabelsToXmlFile.java which write the XML changes.
We have, at least, known 2 issued related to SaveLabelsToXmlFile :
. adding the ASL header
. taking care of labels sorting in a case described here https://issues.apache.org/jira/browse/OFBIZ-2070?focusedCommentId=12660632#action_12660632

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731370 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 21:44:14 +00:00