Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2907

css-class-fa not applied to menu items based on action classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Resolved
    • 2.0.0-M6
    • 2.0.0-M7
    • Viewer Wicket
    • None

    Description

      When in the application.yml for isis is configured with:

      isis:
        applib:
          annotation:
            action-layout:
              css-class-fa:
                patterns:
                  - new.*:fa-plus
                  - add.*:fa-plus-square
                  - attach.*:fa-plus-square
                  - create.*:fa-plus

      This will not be applied to:

      public class ContactsMenu {
          @Action
          public class newContact{
              public Person act( ...

      This workaround works:

      public class ContactsMenu { 
          @Action
          @ActionLayout(cssClassFa = "fa-plus")
          public class newContact{
              public Person act( ... 

      Attachments

        Activity

          People

            hobrom Andi Huber
            ppjdeenen Patrick Deenen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: