cancel
Showing results for 
Search instead for 
Did you mean: 

Convert string with html-tags?!?

Former Member
0 Kudos

Everybody,

from the backend system we receive a string containing html-tags. In our WD application the string is shown as unformated string and the html-tags are not interpreted, i.e. the tags are part of the text. Does anybody have an idea how we can get a formated view out of an string with html tags.

We tried an iFrame, but this expects an url as source ...

Cheers,

Stephan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Stephan,

If you are using WD for Java, please refer my weblog

<a href="/people/valery.silaev/blog/2005/11/23/display-formatted-text-using-webdynpro-for-java formatted text using Web Dynpro for Java</a>

It sould be useful in your case.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

Answers (3)

Answers (3)

Former Member
0 Kudos

Valery,

thanks for the input. It works, but now we are facing another issue: The content size of the content is variable. Is there a chance to avoid the scroll bars in the iFrame and adjust the height dynamically?

Cheers,

Stephan

Former Member
0 Kudos

Stephan,

Sadly, the answer is "impossible"

Check this:

You have to either create IFrame with "large enough" size, or accept scrolling as inevitable evil

VS

P.S. Please close thread if your question is answered.

Refer https://www.sdn.sap.com/irj/sdn/crphelp. I bet majority of your 9 questions contains at least helpfull answers.

Former Member
0 Kudos

Heidi,

sorry, fogoet to mention that we use WD Java on NW04SP14.

Regards,

Stephan

Former Member
0 Kudos