You need to sign in to do that
Don't have an account?
Carissa Crittenden
Visualforce page not cooperating with Apex Class
So I have a visualforce page that renders as a PDF. I have some text I want to only show up under certain circumstances. Here's that code:
And the Apex Class I have that should be getting this information is....
I can't figure out why the sentence continues to render in the PDF when IsFastTrackOnlySale is rendering true.
Any insight or help is appreciated!
Thanks!
<apex:outputPanel layout="none" rendered="{!IsFastTrackOnlySale}">After the Initial Contract Term, this agreement automatically renews for additional one-year terms (annual fees become due 30 days prior to the renewal date) unless either party gives written notice of non-renewal at least 60 days before the end of the term.</apex:outputPanel>
And the Apex Class I have that should be getting this information is....
public boolean getIsFastTrackOnlySale() { List<QuoteLineItem> ftlis = [select id from QuoteLineItem where quoteid = :theQuote.id and PriceBookEntry.Product2.Family = 'Managed Services' ]; List<QuoteLineItem> alllis = [select id from QuoteLineItem where quoteid = :theQuote.id ]; return (ftlis.size() == alllis.size()); }
I can't figure out why the sentence continues to render in the PDF when IsFastTrackOnlySale is rendering true.
Any insight or help is appreciated!
Thanks!
Best Answer chosen by Carissa Crittenden
Carissa Crittenden
Just kidding - I fixed it! Whew!