cancel
Showing results for 
Search instead for 
Did you mean: 

How to display string which has BSP elements correctly?

former_member207732
Participant
0 Kudos

Hi,

I have a string variable lv_text which content is:

<htmlb:group height = "100%"

width = "100%" >

<htmlb:groupHeader>

<xhtmlb:toolbar id="toolbar1" >

<xhtmlb:toolbarItem placement="LEFT" >

<htmlb:textView design = "HEADER3"

text = "AAAA"/>

</xhtmlb:toolbarItem>

</xhtmlb:toolbar>

</htmlb:groupHeader>

<htmlb:groupBody>

<%

if gv_if_dis_message = 'X'.

%>

<%@include file="message.htm" %>

<%

Endif.

%>

</htmlb:groupBody>

</htmlb:group>

I want to use it in my BSP page and display the content correctly. Because it has some BSP elements, so now it can not be displayed correctly. How to solve this problem?

Thanks a lot!

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

you cannot do this way. what you can do is call the factory method of the htmlb:<tab> to get the element and render the element to a string and you can now use this string in your bsp page.

Regards

Raja

Answers (0)