Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6314 Widget Refactoring - Placeholder issue
  3. OFBIZ-6516

Facilitate the use of Icons in Ofbiz by adding descriptive style to the widget-style attribute in forms

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • ALL APPLICATIONS
    • None
    • Ofbiz Web UI

    Description

      Icons can be used to great effect to enhance both the user experience and as well as the look-and-feel of an application. In Ofbiz this is facilitated by using meaningful styles name in the widget-style attribute. Examples are "buttontext create", buttontext delete/remove", "buttontext update". That takes care of the basic CRUD actions. The widget-style attribute is used by front-end designers (on the presentation layer) to create their own designs via macro libraries, stylesheets and javascript files. It will be useful for designers if widget-styles are defined in a standard way in widget definitions (*forms.xml, *menu.xml etc). To set this process in motion I propose the following:
      1. All "buttontext" widget-style attributes should have a meaningful additional class which describes the action linked to the button, i.e create, update, delete, refresh - depending on the action.
      2. Add missing descriptive classes like "copy, print, view, download, save" etc.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gavin.mabie@urbannex.co.za Gavin Mabie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: