cancel
Showing results for 
Search instead for 
Did you mean: 

WDA - FormattedTextView Decorative Element

former_member192852
Participant
0 Kudos
137

Hi There,

I am trying to create a formatted text decorative element in WDA via admin mode. Please see the screen shots attached.

Added some texts with an anchor tag and the link is not working... According to SAP document, the link won't work even if we pass the parameter href.

<a href=http://www.google.com>Google</a>

Supported Tags -  Web Dynpro ABAP - SAP Library

Where do I create the onAction event to add the code? Any inputs would be very much appreciated. Should I enhance the classs, CL_WD_FORMATTED_TEXT or CL_WD_FORMATTED_TEXT_VIEW?

Thank you,

Shen


View Entire Topic
former_member192852
Participant
0 Kudos

It requires the target attribute for the link to work. So silly... No need to fire an onAction event.

Correct tag,

<a href="http://www.google.com" target="_blank">Google</a>