[ 
https://issues.apache.org/jira/browse/OFBIZ-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543928
 ] 

Jacopo Cappellato commented on OFBIZ-1410:
------------------------------------------

Yes, the idea is to use the decorator pattern (a global decorator) and the 
screens that use it have to specify the templates for the regions they want to 
fill (with non default templates) for example header/footer.
I'm not saying that you (or we) should refactor the existing 
printFixedAssetMaint.fo.ftl (splitting it up into smaller chunks) now... it was 
just to discuss a (maybe) different approach.

For an example, have a look at the screen definitions for the PDF of the 
invoice or order (they both share the same decorator).


> Improved xsl-fo Decorator
> -------------------------
>
>                 Key: OFBIZ-1410
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1410
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: asset_maint.patch, asset_maint.patch, 
> fo_decorator.patch, fo_decorator.patch
>
>
> Improved xsl-fo screen widget decorator scheme. Set up to work more like the 
> GlobalDecorator - complete with parameterized elements.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to