Patrick Deenen created ISIS-2907:
------------------------------------

             Summary: css-class-fa not applied to menu items based on action 
classes
                 Key: ISIS-2907
                 URL: https://issues.apache.org/jira/browse/ISIS-2907
             Project: Isis
          Issue Type: Bug
          Components: Isis Viewer Wicket
    Affects Versions: 2.0.0-M6
            Reporter: Patrick Deenen


When in the application.yml isis is configured with:
{code:java}
isis:
  applib:
    annotation:
      action-layout:
        css-class-fa:
          patterns:
            - new.*:fa-plus
            - add.*:fa-plus-square
            - attach.*:fa-plus-square
            - create.*:fa-plus{code}
This will not be applied to:
{code:java}
public class ContactsMenu {
    @Action
    public class newContact{
        public Person act( ...{code}
This workaround works:
{code:java}
public class ContactsMenu { 
    @Action
    @ActionLayout(cssClassFa = "fa-plus")
    public class newContact{
        public Person act( ... {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to