You need to sign in to do that
Don't have an account?
3C
Help with Visualforce Rendered Attribute
I'm trying to conditionally render a section if its record type is not at risk and it's not for changing an asset. It doesn't show up at all regardless of record type. Am I just organizing it wrong?
<apex:pageBlockSectionItem rendered="{!NOT(isChangeAsset) && case.RecordType.Name!='At Risk'}" >
<apex:pageBlockSectionItem rendered="{!NOT(isChangeAsset) && case.RecordType.Name!='At Risk'}" >
Please refer to this link to know how to conditionally rerender the page component-
http://help.salesforce.com/apex/HTViewSolution?id=000003854&language=en_US
Hope it helps. Kindly mark it as best answer if it helps.
Try this,
<apex:pageBlockSectionItem rendered="{!AND(NOT(isChangeAsset) , case.RecordType.Name!='At Risk')}" >
Mark this as solution if you got a solution.
Thanks,
Praveen Murugesan
Try this,
<apex:pageBlockSectionItem rendered="{!AND(isChangeAsset =='False' && case.RecordType.Name!='At Risk')}">
or
rendered="{!AND(NOT(isChangeAsset)) && case.RecordType.Name!='At Risk')}"
or of course
rendered="{!AND((isChangeAsset =='False'), (case.RecordType.Name!='At Risk'))}">
Mark this as solution if you got a solution.
Thanks,
Mikie