cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Types and Context Attributes

Former Member
0 Kudos

Hello All,

Can someone be kind enough to explain the difference between using a context attribute and a Simple Type ? For example... what's the difference (and I am sure there is ) between a context attribute "Name" that is declared to be of String type and a simple type "Name" that is of built-in type String ?

from

Kwok Wei

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

Thanks Anilkumar. Its strange that i have the same pdfs downloaded and printed but never realised that the info I needed was in there

from

kwok wei

former_member191569
Active Participant
0 Kudos

Web Dynpro built-in type 'string' is functional equivalent to Java class java.lang.String, the difference comes when rendering the value in a view layout using data binding with an UI element. You are allowed to declare context value attributes of type java.lang.String, but if you bind an UI element (for example, a label) with a context value attribute of type java.lang.String, the label won`t render... you have to use Web Dynpro built-in 'string' type.

Answers (0)