I will do 2 commits to not push (backport) the new BizznessTime theme as default in R9.04 as long as we are not sure of its quality in trunk.
Putting it as default in trunk should help to strengthen it (hoping reports from users)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771073 13f79535-47bb-0310-9956-ffa450edef68
which simplifies the code quite nicely. However, this means that
the system will *not* walk the classpath, converting everything to
a file/jar, and trying to load *all* org.ofbiz.* classes. Instead,
it only will load those classes that have been configured to be
looked at, by way of the services text files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770025 13f79535-47bb-0310-9956-ffa450edef68
1. Added renderScreenBegin and renderScreenEnd methods to ScreenStringRenderer.java.
2. Updated HtmlScreenRenderer.java and MacroScreenRenderer.java to emit the <DOCTYPE> element first - before any widget comments or template content.
3. Removed <DOCTYPE> elements from templates that no longer need them.
4. Added screen and section boundary comments to MacroScreenRenderer.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767996 13f79535-47bb-0310-9956-ffa450edef68
But this is not as simple as the original issue is due to Labels Manager.
If you put a sole space (ie > < ) for CommonEmptyHeader, then if you do some modifications with Labels Manager in this file and then save the file you will get
<property key="CommonEmptyHeader">
<value xml:lang="en"/>
</property>
In order to cope with this I tried to write directly at SaveLabelsToXmlFile.saveLabelsToXmlFile[93] the String " " which should be ok. But I guess I would have to change the format passed to UtilXml.writeXmlDocument some lines below since else it write "&#160;" and not " " as intended. Not sure it's possible though. And I have no time to look at it right now.
And we will have to deal with that in a complete way since else we will find an even worst trouble later (as soon someone will use Labels Manager to save changes in this file)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767845 13f79535-47bb-0310-9956-ffa450edef68
Part 1: define the API for external authentication modules (done rev 767281)
Part 2: update LoginServices to call AuthHelper for external modules (done)
Part 3: create example Authenticator (in progress)
Part 4: update LDAP implementation to use new API (not started)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767300 13f79535-47bb-0310-9956-ffa450edef68
Part 1: define the API for external authentication modules (done)
Part 2: update LoginServices to call AuthHelper for external modules (in progress)
Part 3: create example Authenticator (in progress)
Part 4: update LDAP implementation to use new API (not started)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767281 13f79535-47bb-0310-9956-ffa450edef68
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.
If anyone has a better solution, please feel free to revert this commit and change it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
[ \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