Actually, OFBiz doesn't support JPublish any more. We have library conflicts
with it so to update other libraries it had to go. The newer version may fix
this.
Even still, I think it is more than just a matter of preference. There are
significant developer efficiency, design flexibility, and code organization
problems with JPublish that were solved with the Screen Widget. Our motive with
the Screen Widget was to solve those problems and improve various things... not
to just get rid of JPublish (there was no library conflict at the time, that
was about 2 years later).
The OFBiz framework is intended to be flexible to allow using technologies like
this with other tools in OFBiz, but I would be really surprised to see any even
minor advantages to changing the project best practices to recommend JPublish
over the Screen Widget. Si can think and say what he wants and sometimes I
agree, but not in this case, I'd have to say I 100% disagree with the notion.
-David
Adrian Crum wrote:
Scott,
In my opinion it all boils down to personal preference. OFBiz still
supports JPublish, so a user can utilize it if they wish.
-Adrian
Scott A wrote:
David, et al,
I dont use opentaps because of the licensing but Si seems to be doing a
pretty good job over there. I also try to follow both the opentaps and
ofbiz
forums and learn as much as I can.
That said, there was this post from Si the other day and I just wonder
what
your opinion was. Here it is;
"About three years ago ofbiz used a screen templating system called
"jpublish", which they've subsequently replaced with a the ofbiz screen
widget. During that time, jpublish has been advancing as well and is now
getting ready to a new release.
Florin, who is the lead developer of jpublish now, has published these
documents about it: http://code.google.com/p/jpublish/wiki/WhyJPublish
http://code.google.com/p/jpublish/wiki/JPublishUserGuide
I'm considering whether we should go back to jpublish for the opentaps
applications. While we (meaning Open Source Strategies) are very familiar
with the screen widget now and have a lot of code built around it, I
have a
nagging feeling that it is a very counterintuitive tool and inhibiting
other
developers. I'd like to get some feedback from everybody about what they
think of the ofbiz screen widget and whether jpublish might be a better
long-term solution? "