cancel
Showing results for 
Search instead for 
Did you mean: 

Textview /Labelview

Former Member
0 Kudos

Hi all ,

I need a better explanation from you regarding the textview UI Web Dynpro component as well as the labelview UI component.

Here is what I know but I need a better and more detailed explanation  of these two components :

The TextView UI Component  is meant to show text without any special validation or checks done on Web Dynpro side. The text going to be displayed is shown straightforward thus no special characters escaping is done.

The Label UI Web Dynpro component does special characters escaping, thus if it needs to display characters , it will code them properly before displaying them as text instead.

Thanks in advance for your help .

Accepted Solutions (0)

Answers (1)

Answers (1)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Zouhair,

I don't know about such a feature, could you please point out in which document you have found information about this?

Example:


wdContext.currentContextElement().setLab("™"+"with unicode: \u2122 \""); // this is a Label

wdContext.currentContextElement().setTxt("™"+"with unicode: \u2122 \""); // this is a TextView

wdContext.currentContextElement().setCap("™"+"with unicode: \u2122 \""); // this is a Caption

This looks in runtime this way:

Regards,

Ervin