[
https://issues.apache.org/jira/browse/OFBIZ-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475838
]
Jacopo Cappellato commented on OFBIZ-671:
-----------------------------------------
I agree that, when needed, it is ok to 'hardcode' the name of the default style
in the HtmlFormRenderer class: so, yes, I think it's the right way to handle
the default style for tooltips.
Hardcoding the name of the default style, will not prevent the user to change
the default style by just changing the style definition attributes in the css;
or just use the default-tooltip-style attribute to use a special style for one
form.
> Remove HTML styling code from widgets
> -------------------------------------
>
> Key: OFBIZ-671
> URL: https://issues.apache.org/jira/browse/OFBIZ-671
> Project: OFBiz (The Open for Business Project)
> Issue Type: Sub-task
> Components: framework
> Reporter: Adrian Crum
> Priority: Minor
> Attachments: formwidget.patch, formwidget.patch, menuwidget.patch,
> menuwidget.patch, menuwidget.patch, treewidget.patch, treewidget.patch
>
>
> Widgets have embedded styling code in them. Styling should be left to the css
> files. A CSS class should be created called "alert" or something similar, and
> that class should be used instead of the hard-coded color="red" found in the
> widgets.
> Files affected (as far as I can tell): htmlMenuRenderer.java and
> htmlFormRenderer.java.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.