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

FontAwesome icons are not displayed for objects in Bookmark list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-RC1
    • 2.0.0-RC2
    • Viewer Wicket
    • None

    Description

      When a FontAwesome icon is specified for a DomainObject it is not displayed in the Bookmark list of objects. The correct behaviour occurs in the standard SimpleApp where the icon is specified in the SimpleObject.png file.

       

      To recreate the issue:

      1. curl SimpleApp from github as per https://causeway.apache.org/docs/2.0.0-RC1/starters/simpleapp.html
      2. Delete SimpleObject.png
      3. Alter SimpleObject.java to reference a FontAwesome icon; i.e. DomainObjectLayout([...], cssClassFa = "fa-file-signature")
      4. Install and run as per instructions
      5. Login and run fixture scripts to create SimpleObjects
      6. Navigate to several SimpleObject views from the list of objects
      7. Then click Bookmark icons
      8. Actual result: The listed SimpleObjects in the Bookmark list do not have the FontAwesome icon, instead they have the standard wireframe cube icon. See screenshot

       

      Attachments

        1. image-2023-04-01-18-40-41-281.png
          115 kB
          Simon Titheridge

        Activity

          People

            hobrom Andi Huber
            stitheridge Simon Titheridge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: