[
https://issues.apache.org/jira/browse/OFBIZ-5040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13882305#comment-13882305 ]
Jacques Le Roux commented on OFBIZ-5040:
----------------------------------------
Before I write the conversion guidelines, here in this Jira description or maybe directly in the wiki, I will add them in this comment and will augment with new ones in future comments.
*Guidelines*
# When possible, form widgets shall be preferred.
# New macros shall be created when the widgets are not enough (insufficiencies in form widgets determined by conversion evaluation failure), never plain ftl code alone. Hopefully these macros will be reused in new widget implementation (comes to mind already - even if not macros -: dependent and multi-select dropdowns, geo-location).
# New sub-taks of this JIRA issue shall be created when enhancement of form widgets are needed (a good example is OFBIZ-5396)
> Backend widget & application HTML clean-up
> ------------------------------------------
>
> Key: OFBIZ-5040
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5040> Project: OFBiz
> Issue Type: Improvement
> Components: ALL APPLICATIONS
> Reporter: Paul Piper
> Labels: html, webapp, widget, widgetrendering
>
> I am sure that this is a common thing to know: the current backoffice application relies heavily on widgets. This is good, but the current standard-html-structure is not flexible enough and often lacks proper w3c implementation.
> To make matters worse, you can often find applications avoiding widgets at all and rather overriding the standards with custom ftl implementations. It is these customizations that break the html on numerous screens and make it difficult, if not tedious to create new themes for the backoffice.
> This task is hence to:
> * Find a consensus on a new widget standard
> * Go over each of the application ftls and convert these to the new standard
> * Recreate the themes and simplify/clean-up special rules
> Since redoing the theme is a rather large task, we should consider to add an additional css for now which stylises the replacement html instead of working with the old.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)