result of a single method call, so that it doesn't get called over and
over again. It's non-blocking in all cases, supports synchronous and
asynchronous update modes, and will even save thrown exceptions.
Nothing in ofbiz uses this yet; that will require rather extensive
testing and profiling, which is difficult until more of ofbiz actually
has full test coverage; there's no reason to fix any slowdowns now until
you know all code is actually correct.
Test coverage on TTLObject is almost completely full; there are some
missed branches on switch statements that use enum(there are google
discussions about this, it's just not possible to do). Some of the
configuration methods aren't covered either. However, all switch
branches *are* covered.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904987 13f79535-47bb-0310-9956-ffa450edef68
Two small functional changes:
1. Elminated the deprecated "env." syntax support.
2. Added support for runtime expression nesting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904592 13f79535-47bb-0310-9956-ffa450edef68
each accessor method. This fixes a memory leak, and allows for the
included file to be cleared from the cache and reread, without having to
clear all files that included it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904252 13f79535-47bb-0310-9956-ffa450edef68
It's not perfect, but hopefully this time I will not have to revert it. I think it's time to introduce it, to let everybody have an idea and test.
Anyway, it can't hurt as it's only used in the Form Widget Examples screen for now. To test: https://localhost:8443/example/control/FormWidgetExamples
I find that the positioning mechanism is only working with the bizznesstime theme (at list centering, the only case I tried with all themes). But it should not be a big deal to fix since it works already in one theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904047 13f79535-47bb-0310-9956-ffa450edef68
helper methods, it means the only callers will be local to the current
thread. This then leads to not having to synchronize the parsing of the
xml data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903809 13f79535-47bb-0310-9956-ffa450edef68
possible to create an instance outside of this class, and the existing
static methods don't store the instance they create, the methods aren't
can't be used outside of this class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903807 13f79535-47bb-0310-9956-ffa450edef68
only populated once at startup, then never modified again. What I have
discovered is that, while FastMap is supposed to be more stable in
memory allocation and cpu utilization, there was one leg of it's
internal structure that was *extremely* unbalanced. Ie, consider a
binary tree with 128 nodes, with 7 top level nodes, and then all the
rest of the nodes are on one side of the tree. Since these maps are
never modified after startup, we might as well just use a HashMap here.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903802 13f79535-47bb-0310-9956-ffa450edef68
entity name. This helps the connected object graph at runtime, as it
used to be view->entity->view->entity, in very long loops. This is one
part of the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903800 13f79535-47bb-0310-9956-ffa450edef68
from the servlet container started being a jndi:// form; so, when
include processing was introduced, the urls wouldn't match up. Instead,
implement a temporary hack to convert the servlet path to a file, so
that the urls will be normalized.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903799 13f79535-47bb-0310-9956-ffa450edef68
Adds a method to have a default value to getPropertyNumber methods, can't hurt and maybe useful in some cases.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903197 13f79535-47bb-0310-9956-ffa450edef68
- function auto relist item and screen
- Get feedback data from ebay site and save into ofbiz.
- Add rate pictures into framework/images/webapp/images
- screen for show awaiting feedback and recent feedback from buyer
- help screens are provided
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902716 13f79535-47bb-0310-9956-ffa450edef68
1. Extends new class ComparableRange.
2. downcastTimestamp protected method renamed to timestampToDate and made static.
3. Misc code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902512 13f79535-47bb-0310-9956-ffa450edef68