如果有一个 visualforce 元素,那么我们根据 redered 属性设置可见性。=但我必须根据html元素的数据设置visualforce的可见性
<p style="display:{! IF(userSettings == null && $Profile.Name !='System Administrator','visible','hidden')}">Click on the authorize to authorize your self to Google GLASS Account <apex:commandButton value="Authorize" action="{! authorizeApp}" />
我想设置可见性,但它在每种情况下都向我显示 p 元素。请指导如何做到这一点?