带你进入SAP BSP系列—理论部分(5)


Processing user input:

Statements: <Form>…….</Form>

Field Type HTML Tag Note
Input/Output type <input type=”text”

name=”A”

value=”B”>

The field is filled with the

value B.

Password field <input type=”password”

name=”A”>

Checkbox <input type=”checkbox”

name=”A”

value=”X”>

The name/value pair A=X

is then sent with the HTTP

request to the receiver, if the

checkbox is ticked.

Radio button <input type=”radio”

name=”A”

value=”X”>

All of the selection buttons

in a group have the same

name (but different values).

Dropdown list <select name=”A”>

<option value=”B”>

Disp

</option>

</select>

The user sees the values

specified between

<option> and

</option> (in this

example, Disp).

Input area with

more than one line

<textarea name=”A”

rows=”…”

cols=”…”>

Send button <input type=”submit”

name=”A”

value=”Send”>

The text specified after the

value addition appears on

the button as a label.

Static Navigation:

<Form method=……. Action=……>

Attribute Description
method=″type″ This attribute specifies how the system sends the form

to the server (that is, which method is used).

GET

The query string is appended to the URL,

separated by a question mark (?). The query

string appears in the address bar in the browser!

The maximum length of the query string is 4 KB.

This is the default method.

POST

The data is sent to the server in the HTTP body,

which means that it does not appear in the address

bar in the browser. The data is not buffered in an

HTTP cache. There is no limit to the length of the

query string.

ACTION=″execution″ This attribute specifies the program that the query

string executes on the server.

Example:

<a href=http://xxxxx> Text </a>

<a href=”bsp.htm”> Text </a>

<Form action = “bsp.htm” method = “get”>

<input type = “submit” value=”click” name=”BUTTON”>


About The Author

从事SAP行业有些年头,对SAP技术稍有了解; 如无特别声明,本博客文章为原创,转载请注明; 博主MSN:xuchunbo0901@hotmail.com; 博主邮箱:bob.xu@abaptech.com。

No Comments

Leave A Reply


注意: 评论者允许使用'@user空格'的方式将自己的评论通知另外评论者。例如, ABC是本文的评论者之一,则使用'@ABC '(不包括单引号)将会自动将您的评论发送给ABC。使用'@all ',将会将评论发送给之前所有其它评论者。请务必注意user必须和评论者名相匹配(大小写一致)。

无觅相关文章插件,快速提升流量