[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Titheridge closed CAUSEWAY-3417.
--------------------------------------
    Resolution: Invalid

This issue is just a symptom of the userguides being out of date with the code. 
@ObjectSupport (and @MemberSupport annotations not yet documented outside of 
the cheatsheet.

> Output of method "title()" is not shown as object title in Wicket Viewer
> ------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3417
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3417
>             Project: Causeway
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-RC1
>            Reporter: Simon Titheridge
>            Priority: Major
>         Attachments: image-2023-04-10-14-02-46-633.png, 
> image-2023-04-10-14-04-21-608.png
>
>
> An implementation of the title() method on a DomainObject is not used when 
> displaying the name of the object in the Wicket Viewer. It's quite a problem 
> if the meaningful title of the object can't be constructed via @Title 
> annotations (common for me).
>  
> Steps to reproduce
>  # curl SimpleApp from github as per 
> [https://causeway.apache.org/docs/2.0.0-RC1/starters/simpleapp.html]
>  # Delete existing @Title annotation from property in SimpleObject.java
>  # Implement a trivial title() method:
>  ## 
> {code:java}
> public String title() {return "Marmot";}{code}
>  # Install and run as per instructions
>  # Login and run fixture scripts to create SimpleObjects
>  # View several SimpleObjects
>  # +Actual result:+ The viewed SimpleObjects have their title in page header 
> and Bookmark list incorrectly showing the default title (e.g.  
> "SimpleObject(name=Baz)"), rather than the output of the title() method . See 
> screenshots.
> !image-2023-04-10-14-02-46-633.png|width=647,height=421!
>  
> !image-2023-04-10-14-04-21-608.png|width=640,height=280!
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to