I would like to conditionally render a component in a VisualForce page based on a custom field. I was hoping to do something like this:
" render="" />
Component s don't have a render property though. What is the best way to do this?
asked Dec 6, 2012 at 19:59
331 2 2 silver badges 9 9 bronze badges
The property you're looking for is called rendered , not render . And it's available on most (if not all) tags.
answered Dec 6, 2012 at 20:06 24.1k 5 5 gold badges 57 57 silver badges 94 94 bronze badgesTo subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2024.9.11.15092