+ Start a Discussion
SCWells72SCWells72 

Is there any way to suppress the SPAN tag that surrounds custom components?

My VisualForce custom components are always surrounded by a SPAN tag like <span id="j_idXXX:...">..custom-component-output...</span>.  Is there any way to suppress that SPAN tag so that the output is exactly what my component creates and nothing more?

 

Thanks!

 

joshbirkjoshbirk

I don't believe so.  OutputPanel supports layout=none, which removes the surrounding SPAN/DiV, but AFAIK that's not an option with custom components.