9 136 GET_WEB_COMPONENT

LANSA Technical

9.136 GET_WEB_COMPONENT

Þ Note: Built-In Function Rules.

Get the page text (version 0) for a Web Component. Refer to the LANSA for the Web Guide for more information about Web Components.

Use this Built-In Function with 9.198 PUT_WEB_COMPONENT when you want to generate handcrafted web components at execution time.

For use with

LANSA for i

YES

Only available for RDMLX.

Visual LANSA for Windows

YES

 

Visual LANSA for Linux

YES

 

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Web Component

1

20

 

 

2

A

Req

Mode

Possible values are:
I: Input
O: Output
N: Not applicable

1

1

 

 

3

A

Opt

Language

Default is current language

For non-multilingual partitions this should be 'NAT'

*DFT - partition default language.

4

4

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Possible values are:
OK: Get completed normally.
OV: list returned completely filled, but more lines of page text than could fit in the list still exist.
NR: List is empty as  component is not of a type that is supported by PUT_WEB_COMPONENT
ER: Get encountered an error.

1

2

 

 

2

L

Req

Working list to contain component source.

1

255

 

 

3

A

Req

Page
Generally the same as a Web component.

1

20

 

 

4

A

Opt

Type. Possible values are:
P: Page
S: Script
T: Text
V: Visual

If the component is one of the next three types, the list will be returned empty.
W: Web Link
B: Banner
F: File

1

1

 

 

5

A

Opt

Description

1

40