Simon Titheridge created CAUSEWAY-3406:
------------------------------------------
Summary: FontAwesome icons are not displayed for objects in
Bookmark list
Key: CAUSEWAY-3406
URL: https://issues.apache.org/jira/browse/CAUSEWAY-3406
Project: Causeway
Issue Type: Bug
Components: Viewer Wicket
Affects Versions: 2.0.0-RC1
Reporter: Simon Titheridge
Attachments: image-2023-04-01-18-40-41-281.png
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:
# curl SimpleApp from github as per
[https://causeway.apache.org/docs/2.0.0-RC1/starters/simpleapp.html]
# Delete SimpleObject.png
# Alter SimpleObject.java to reference a FontAwesome icon; i.e.
DomainObjectLayout([...], cssClassFa = "fa-file-signature")
# Install and run as per instructions
# Login and run fixture scripts to create SimpleObjects
# Navigate to several SimpleObject views from the list of objects
# Then click Bookmark icons
# 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
!image-2023-04-01-18-40-41-281.png|width=583,height=434!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)