You need to sign in to do that
Don't have an account?
SAHG-SFDC
Show Apex command button only if list has values
Hi Users,
I am looking for displaying the Apex command button only if the list that I have has atleast one value Amny suggestions?
Advance thanks for seeing the post
I am looking for displaying the Apex command button only if the list that I have has atleast one value Amny suggestions?
<script> function load() { window.open("/oppitm/multilineitem.jsp?oppId={!Opportunity.Id}&retURL={!Opportunity.Id}", "_parent"); } </script> <apex:commandButton value="Edit All" oncomplete="load();"/>This list is created in the Apex Class
Public List<OpportunityLineItem> ProdList{get;set;}
Advance thanks for seeing the post
Try rendered attribute on commandbutton
Mark this to be the best Anwer if this solution is helpful to you, Kindly let me know in case you need other workaround.
Thanks
All Answers
Try rendered attribute on commandbutton
Mark this to be the best Anwer if this solution is helpful to you, Kindly let me know in case you need other workaround.
Thanks
Thanks a lot :)