function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vinicius.paivavinicius.paiva 

Render string as visualforce markup

Hi,

 

  Is it possible to render a string content as a visualforce markup?

  For example: I have a apex string which its content is '<apex:outputtext>test</apex:outputtext>'. I want to insert this string into a visualforce page and make it get rendered.

 

Thanks in advance,

Vinícius

kiranmutturukiranmutturu

nope if you are doing like this means you are setting a string but the compiler looks for a DOM object . At that time <apex:outputtext> is string only.... so this willl not work .... Hope you got my point?

vinicius.paivavinicius.paiva

Yeah, I got. What I need is exactly what you said is not possible...

Thanks anyway.

sham_1sham_1

You may wait for next SFDC release.

Though not exactly same,

it promises to have VF tags avaliable as objects.