
With JsonParameter you can transport values from the context of a Web Dynpro component to an HTMLIsland or HTMLContainer. To do this, use aggregation DATA_ELEMENTS to embed JsonParameter in HTMLIsland or HTMLContainer, and bind property value to a context attribute. With the representation property you can define how values transported from the context are to be formatted.
Implementation Details
|
Runtime Class: |
CL_WD_JSON_PARAMETER |
Properties in View Designer
|
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
name |
STRING |
No |
|
|
readOnly |
WDY_BOOLEAN |
true |
No |
|
representation |
WDUI_WEB_PARAM_REPRESENTATION |
json |
No |
|
value |
STRING |
Yes |
Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations are available as in the View Designer. But note that the spelling format and use of upper/lower case is different.
|
View Designer Name |
Runtime Name |
Type |
|---|---|---|
|
name |
NAME |
STRING |
|
readOnly |
READ_ONLY |
WDY_BOOLEAN |
|
representation |
REPRESENTATION |
WDUI_WEB_PARAM_REPRESENTATION |
|
representation: external |
CL_WD_JSON_PARAMETER=>E_REPRESENTATION-EXTERNAL |
|
|
representation: internal |
CL_WD_JSON_PARAMETER=>E_REPRESENTATION-INTERNAL |
|
|
representation: json |
CL_WD_JSON_PARAMETER=>E_REPRESENTATION-JSON |
|
|
value |
VALUE |
STRING |