I have implemented multi page and fragment features of work light application.
And I want to know, is there way to change the title when I load each page?
This topic has been locked.
Pinned topic Change the title of the page
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
IdanAdar 2700059KWB288 Posts
Re: Change the title of the page2012-06-27T04:34:08ZThis is the accepted answer. This is the accepted answer.Well, I will assume that by "title" you mean some text you have set in your HTML?
If so, you can perhaps change your layout so that the tag that has this text in it, is part of the fragment and this way, every time you load a page or a fragment you can change this text as well?
Idan Adar | QA Engineer | IBM Worklight Mobile Platform
icw 270005RPAR2 Posts
Re: Change the title of the page2012-12-06T04:40:29ZThis is the accepted answer. This is the accepted answer.
- IdanAdar 2700059KWB
As in the the title of the web page being viewed.
The reason that this person can not is because they are using Pages and Fragments which uses the well know xmlHTTRequest to change the content will keeping the page the same.
As IBM will tell you... "You should look at JQuery Mobile, Sencha, or Dojo" to do something basic such as this.
However, in my case I cannot use a 3rd party framework so it does me no good to look at other frameworks.
AntonAleksandrov 270005D80F22 Posts