Oh dear god. It's a good thing I'm going through this code.

ModelForm.java is badly broken. C&P errors in the constructor, plus extended forms modify the state of the forms they extend.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 11/2/2014 2:12 PM, Adrian Crum wrote:
I started working on making the screen widgets thread-safe, but the
quantity of code was overwhelming.

So, I started reducing the widget code by reusing things, and by moving
the Artifact Info code to a separate class.

Screen widgets, form widgets, menu widgets, and tree widgets all share
the same actions now.

I discovered the Artifact Info feature has a lot of gaps, so the results
it produces are unreliable. The new classes in org.ofbiz.widget.artifact
can be build out to provide more complete information - if anyone is
interested in working on that.

One advantage to the new Artifact Info design is that it can be easily
extended to gather info on custom widgets.

I will update the widget schemas after I am done with the refactoring.

Reply via email to