Polycom 1725-17693-210 Rev. A Xhtml file in the sip.cfg configuration file, Reboot the phones

Page 26

Developer’s Guide SoundPoint IP / SoundStation IP

 

5.

Configure SoundPoint IP and SoundStation IP phones to point to the

 

 

XHTML file in the sip.cfg configuration file.

 

 

For this example, change mb.main.home to

 

 

http://<WEBSERVER_ADDRESS:PORT>/PLCM/AddStock.xhtml .

 

6.

Reboot the phones.

 

7.

On a SoundPoint IP phone, press the Services (or Applications) key.

 

 

The AddStock.xhtml appears on the graphic display.

 

8.

Enter a stock symbol, then select the Get Quote soft key.

 

 

The stock quote for the entered stock symbol appears on the graphic

 

 

display.

Note

Static and dynamic XHTML applications can be developed using any Web server.

 

Even though Tomcat is used in the example, the developer is free to use any Web

 

server.

Dynamic XHTML applications can be developed using any Web technologies—for example, ASP.net, Java Servlets, Java Server Pages, CGI-PERL, and PHP.

2 - 16

Image 26
Contents SIP Trademark Information About This Guide Developer’s Guide SoundPoint IP / SoundStation IP Contents Developer’s Guide SoundPoint IP / SoundStation IP What is the Microbrowser OverviewWhat is Xhtml How to Create Applications Microbrowser Application Development Supported Xhtml ElementsBasic Tags Input Tags Another document by using the href attributeLink Tags Following link tag is supported Defines an anchorMethod=post This method Specified URL Following attributes are supportedMethod=get This method Input Requirement is 38400 bytes Image TagsFollowing image tag is supported Img-Defines an image Img element defines an imageTable Tags Attribute Value/s Description Http Support Meta Information TagsMicrobrowser User Interface Launching the Microbrowser Navigation and Form EditingIdle Display Microbrowser Changing Configuration ParametersDeveloping an Xhtml Application Sample Application Change mb.main.home to the URL used for Microbrowser homeHttp//WEBSERVERADDRESSPORT/PLCM/Sample.xhtml Getting the Path Where BMP File has to be Saved Enter a stock symbol, then select the Get Quote soft key Xhtml file in the sip.cfg configuration fileReboot the phones AddStock.xhtml appears on the graphic displaySymptom Problem Corrective Action TroubleshootingXML Errors Developer’s Guide SoundPoint IP / SoundStation IP Unsupported elements and attributes are AppendixUnsupported Xhtml Elements Tag Type Tag Description Basic TagsLink Tags Tag Type Tag Description Output TagsBlock Tags Frame TagsImage Tags Tag Type Tag Description Input TagsList Tags Meta Information Tags Tag Type Tag Description Table TagsStyle Tags Tag Type Tag Description Programming Tags Developer’s Guide SoundPoint IP / SoundStation IP Index Developer’s Guide SoundPoint IP / SoundStation IP