Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5653

Configure CSS for a declarative layout

    XMLWordPrintable

Details

    • Story
    • Resolution: Won't Fix
    • Neutral
    • None
    • None
    • None
    • None
    • Yes
    • Yes

    Description

      User Story: As a developer I want to provide a CSS file for a "declarative form layout" without requiring Java development, so that I can quickly and easily make changes without needing to know Java.

      Details:

      This feature is valuable and gives UX teams and devlopers control over forms which is very often requested. It supports configuring an HTML file which specifies the layout, but currently you must use Java to specifiy which CSS file to use. It would be ideal if I can simply configure which css file to use on the definition itself. Then anyone can do it, and changes are picked up instantly.

       

      Imagining something like this:

      layout:  
        class: info.magnolia.ui.framework.layout.DeclarativeLayoutDefinition      
        template: /contacts/layouts/edit-contact.html
        style: /contacts/layouts/edit-contact.css

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD