Dev - Screenlet rework (comments appreciated)

Posted by cjhowe on
URL: http://ofbiz.116.s1.nabble.com/Dev-Screenlet-rework-comments-appreciated-tp167609.html

Hey all,

I just finished a sort of proof of concept patch that
will allow more reuse of code with the screenlet idea.
 

http://jira.undersunconsulting.com/browse/OFBIZ-833

This patch shows the direction for the ftl files that
I'm wanting to go in that will allow more reuse of
code. Please check it out and let me know if it's a
direction worth applying to the entire order web
application and then to the other OFBiz applications.

1) Separate "screenlets" into their own ftl files  (ie
shouldn't have mutliple screenlets in the same ftl)
2) Remove "screenlet", "screenlet-header",
"screenlet-body" divs from ftl files and the divs.
Instead these should be inserted by screen widget
decorators.


Please check it out and comment.  I have time to
complete this for all of the order application this
week if there is fast positive feedback for this.

Thanks!
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev