[JIRA] Closed: (OFBIZ-833) Make Freemarker files more Generic

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

[JIRA] Closed: (OFBIZ-833) Make Freemarker files more Generic

JIRA jira@ofbiz.org
     [ http://jira.undersunconsulting.com/browse/OFBIZ-833?page=all ]
     
Jacopo Cappellato closed OFBIZ-833:
-----------------------------------


> Make Freemarker files more Generic
> ----------------------------------
>
>          Key: OFBIZ-833
>          URL: http://jira.undersunconsulting.com/browse/OFBIZ-833
>      Project: [OFBiz] Open For Business
>         Type: Improvement
>     Reporter: Chris Howe
>     Assignee: David E. Jones
>     Priority: Minor
>      Fix For: SVN
>  Attachments: OrderEntryCartScreens(OpenTravelSystem).patch, OrderEntryCartScreens.patch, OrderEntryCatalogScreens(OpenTravelSystem).patch, OrderEntryCatalogScreens.patch, OrderEntryOrderScreens(A).patch, OrderEntryOrderScreens(A).patch
>
>
> Depending on how large a scope is desirable, this should probably be a multiple jira issue much like the conversion to screens.
> For the sake of reusing code, the div classes screenlet, screenlet-header, and screenlet-body should be defined in the screen definition, not in the ftl files.  Generic screen decorators should be made for screenlets.
>     <screen name="screenlet">
>         <section>
>             <widgets>
>                 <container style="screenlet">
>                     <container style="screenlet-header">
>                         <decorator-section-include name="screenlet-header"/>
>                     </container>
>                     <container style="screenlet-body">
>                         <decorator-section-include name="screenlet-body"/>
>                     </container>
>                 </container>
>             </widgets>
>         </section>
>     </screen>
> In addition, each freemarker file should only have one screenlet (ie ordermgr/webapp/orermgr/entry/order/orderheader.ftl should be broken up into several files) and each called with the platform.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.undersunconsulting.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira