+ Start a Discussion

Render string as visualforce markup



  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,



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?


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

Thanks anyway.


You may wait for next SFDC release.

Though not exactly same,

it promises to have VF tags avaliable as objects.