Hi Bill,
The exact method depends on what kind of controller you're using, but in either case you'll need to modify the NavTree object. The last item added will be used as the title in the body of the page as well as the <html><title>.
If you're using a Spring controller (meaning your controller subclasses SpringActionController), which is the new and preferred way, your Action class should have an appendNavTrail() method which lets you add to the NavTree.
If you're using a Beehive controller (meaning your controller subclasses ViewController), you need to make sure that you're building a NavTrailConfig with the right NavTree. Check out org.labkey.core.admin.AdminController._renderInTemplate() for an example.
Additionally, you can call setTitle() on your GWTView object to set its own title. You might need call setFrame(FrameType.PORTAL) on it to make the title show up.
Thanks,
Josh |