1. Use a boolean variable isRecord in controller. Set it's value to True in constructor 2. Please check the error message string in controller. If it contains text warning "No Record Found" then set isRecord variable value to false. 3. Use this flag value to render the section below warning message using property rendered="{!isRecord}"
Please mark this as best answer if it answers your question, it helps others.
1. Use a boolean variable isRecord in controller. Set it's value to True in constructor 2. Please check the error message string in controller. If it contains text warning "No Record Found" then set isRecord variable value to false. 3. Use this flag value to render the section below warning message using property rendered="{!isRecord}"
Please mark this as best answer if it answers your question, it helps others.
Please follow these steps:
1. Use a boolean variable isRecord in controller. Set it's value to True in constructor
2. Please check the error message string in controller. If it contains text warning "No Record Found" then set isRecord variable value to false.
3. Use this flag value to render the section below warning message using property rendered="{!isRecord}"
Please mark this as best answer if it answers your question, it helps others.
Thanks!
All Answers
Please follow these steps:
1. Use a boolean variable isRecord in controller. Set it's value to True in constructor
2. Please check the error message string in controller. If it contains text warning "No Record Found" then set isRecord variable value to false.
3. Use this flag value to render the section below warning message using property rendered="{!isRecord}"
Please mark this as best answer if it answers your question, it helps others.
Thanks!