In method activeDocumentTitle I get currently active tab, and get its title. Then I build
activeDocumentTitle by concatenating application name and currently active tab title. Like so:
Problem is the document title does not refresh on new tab opening. If I refresh it manually (F5), document title has right value. Please help.
I use JDeveloper 220.127.116.11.0
First, stand in your document tag and go to Partial Trigger in the property inspector, click edit and select the items (in your case your tabs I suppose).
Then, whenever you select one of your tabs, the trigger of af:document will be triggered and should be refreshed.
When do you want to have partial trigger.it will not change the whole page.
suppose u button click u want to refresh title.add the id of button in partial trigger of outputtext .change partialsubmit of button to true,
OK, almost got it to work. If I put a button on a page and set partialTrigger to the button, title gets refreshed on button click.
But I have to set partialTrigger to component that is located in another jsff. Do you have any useful suggestions?
Thank you for all your help ;)
well if you want to refresh on some other jsff .then do it programmaticly.
AdfFacesContext.getCurrentInstance().addPartialTarget(this.popuptable); popuptable is the component on which you want to create partial trigger