37
5.2.6. TextBox
[Overview]
By using Text Box, user can enter and modify the text.
Text Box can enter single line text.
Password characters can be masked by '*'.
Input / modification of text box can be done through phone key operation.
The value input by Text Box can be sent to pre specified URL when user press [ENTER] Key.
[Definition]
Child
Element 1
Child
Element 2
Child
Element 3
Child
Element 4
Attributes
Value
m/o
Functionality
name
String
m
Max. 64 characters
line
2~3 (4line model )
m
The line number to display
the string
text
String
o
Max. 24 characters
password
true/false
o
Display inputted character
with '*'.
Default value is false.
mode
0,1
o
0:Enter Number
1:Enter Character
m
id
2
(HDV130/230)
3
(HDV330/430)
m
Softkey id
name
String
o
name of the softkey
text
“OK”
m
Fixed character “
OK
”
m
Elements except these
cannot be used
OnClicked
m
SendRequest
m
url
Url
m
[Syntax]
<ppxml xmlns="http://panasonic/sip_phone"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://panasonic/sip_phone sip_phone.xsd">
<Screen name="Screen" version="3.0">
<Components>
<TextBox name="textBox" title=”Name” line="2"
text="<Enter>" password="false">
<SoftKey id="2" name="sk2" text="OK">
<Events>
<OnClicked>
<SendRequest url="http://192.168.0.200/text_input.cgi" />
</OnClicked>
</Events>
</SoftKey>
</TextBox>
</Components>
</Screen>
HDV330/430 Soft key ID is 3
<SoftKey id="3" name="sk3" text="OK">
Содержание TGP600
Страница 68: ...64 End of doc ...