Hitachi

JP1 Version 12 JP1/Navigation Platform Development Guide


4.8.2 Details about values input to or output from plugins

The following table describes the values input to or output from plugins for each type of Guide Part.

Table 4‒5: Input values from Guide Parts to plugins and output results from plugins to Guide Parts

Guide Part type

Value input to the plugin

Result output to the Guide Part

Static text

The character string displayed as static text

The character string is output as the static text.

Text box

The character string entered in the text box

The character string is output to the text box.

Text area

The character string entered in the text area

The character string is output to the text area.

Radio button

The value of the selected radio button

The corresponding radio button becomes selected.

Check box

One of the following values depending on whether the check box is selected:

If the check box is selected

true

If the check box is not selected

false

The check box becomes selected if the value is true.

For any other value, the check box remains cleared.

Drop down

The value of the selected list

The value corresponding to the selected list entry is output.

Hyperlink

The anchor text and URL (specified in the Attribute Settings window) connected by a linefeed code (\r\n)

The value#1 consisting of the anchor text and URL connected by a linefeed code (\r\n) is output.

Image

The value#2 consisting of the image part URL and description (the value in the Tool tip text box) specified in the Attribute Settings window and connected by a linefeed code (\r\n)

The value#3 consisting of the URL set for the image part, a linefeed code (\r\n), and the image description (the value in the Tool tip text box) is output.

Inline frame

The URL used to display the inline frame

The URL used to display the inline frame is output.

HTML Part

Of the information specified in the HTML source string area for the HTML Part, a character string encoded after the name and value attributes of the following are acquired:

  • Text box

  • Password box

  • hidden field

  • Check box

  • Radio button

  • Selection box

  • Text area

The value set in the HTML source string area for the HTML Part is output.

#1

Note the following regarding the output value:

- An empty character string is output if the value is null, empty character string, or consists only of a linefeed code.

- If the value does not contain a linefeed code, the entire string is processed as anchor text (an empty character string is output for the URL).

- If the value contains two or more linefeed codes, the values on the third and subsequent lines are ignored.

#2

If the Tool tip text box was left blank (empty character string), the input value will be the URL followed by a linefeed code (\r\n). Take care not to include the linefeed code if your intention is to extract only the URL.

#3

Note the following regarding the output value:

- An empty character string is output if the value is null.

- If the value does not contain a linefeed code (\r\n), the entire string is processed as a URL. An empty character string is output for the tool tip.

- If the value contains two or more linefeed codes, the values on the third and subsequent lines are ignored.