Break up some order application templates

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Break up some order application templates

cjhowe
There are currently 7 freemarker files in the order
applications that have multiple screenlets in the same
template file.  They are:

entry/cart/showcart.ftl
entry/cart/showPromotionDetails.ftl
entry/order/orderheader.ftl
entry/poheader.ftl (may not be used)
order/orderheader.ftl
quote/ViewQuoteInfo.ftl
request/ViewRequestInfo.ftl

I would like these to be split up.  Screenlets, when
defined make up a good chunk of reusable code.  When
multiple screenlets inhabit the same template file,
you either have to reuse all of the code or none if
it.  By splitting these up, the parts are more likely
to be reused than the whole.

Because the order application is the base for so many
custom applications in addition to ecomerce and
wholesale and salesrep, making it reusable will lower
the maintenance those applications require.  Please
vote on this and I will submit patches.  Thanks


https://issues.apache.org/jira/browse/OFBIZ-68