Hi all,
Regarding http://track.sipfoundry.org/browse/XX-7571 - "[TITLE] seen on
top left in various pages of config UI"
Now the Border.html file is responsible for displaying the page title.
The snippet of code that does this is as follows:
<span jwcid="@Insert" raw="true"
value="ognl:getPage().getMessages().getMessage('title')"/>.
Therefore all html pages should have to *<span key="title"> *tag.
But, for example, under Services tab (System/ Servers/ server), when you
try to edit a service (except ACD and SIP Trunking),
all the pages use the same page: *EditSipxService*.
So, to display the title on these pages, we have ...
in EditSipxService.html:
<span jwcid="@Insert" *value="ognl:title" */>
and in EditSipxService.java:
public String *getTitle()* {
String serviceBeanId = getSipxService().getBeanId();
return getMessage(getMessages(), *"label." + serviceBeanId*,
serviceBeanId);
}
This code is looking for a specific *"label.sipxSomethingService" *label
(see sipXconfig-web.properties for that),
which is injected into html code (see *value="ognl:title"*).
Thus, Border.html code doesn't find a key 'title' and it will display
"*[TITLE]*".
Does anybody have any idea what might fix this problem?
However, the problem becomes more complicated in other pages with tabs
created from 'normal' pages and tabs created from settings.
Thanks,
Laurentiu
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/