[Newbie] Change title from "invesdwin-NoWicket"

6 views
Skip to first unread message

Mario Giammarco

unread,
Mar 29, 2018, 5:02:31 AM3/29/18
to invesdwin-platform
Hello,
In my application there is in the menu space the title "invesdwin-nowicket".
I have read documentation, set "title()" method, nothing changed.
I have looked at bsgcoach example and tried to do the same thing but without luck.
BTW I do not see documentation for how to create top menu.
Thanks as usual for any help.
Mario

Edwin Stang

unread,
Mar 29, 2018, 5:21:04 AM3/29/18
to invesdwin-platform
In the bsg-coach example you can see in ABsgCoachWebPage:

final Navbar navbar = super.newNavbar(id);
navbar.setBrandName(null);
navbar.setBrandImage(LOGO, Model.of("bsg-coach"));

setBrandName is what you are looking for. The title() method is only relevant for the tab title of the tab in the browser. And other titles like modal dialogs. The nav is only customizable in the newNavbar() method override. The title also should change between pages while the brand name should stay the same on each of your pages. This is why it is separate.
Reply all
Reply to author
Forward
0 new messages