Questions tagged [rendered]
rendered is an attribute in Visualforce Components used to determine whether the Component should be visible in Visualforce Page or not by passing true or false.
154 questions
-1 votes
1 answer
122 views
prevent renderedCallBack from resetting to initial value
I am working on pagination using lwc component. There is a variable clickedPage =1. In the UI on clicking page 2, handleClick method updates clickedPage as 2 but then the renderedCallBack resets the ...
0 votes
1 answer
48 views
Unable to hide/unhide second field based on picklist inputfield value
Visualforce Page: <apex:outputPanel id="Complaint" > <apex:pageBlockSection title="Complaint" columns="2" id="Complaints" rendered="{!...
-1 votes
1 answer
77 views
I want to auto check the checkbox and rerender the other components in visualforce page when a condition met in controller method [closed]
I have a Boolean method which checks the condition and return a Boolean value based on the condition result. I need to rendered this method in vf page and need to made checkbox field to be auto check ...
0 votes
1 answer
54 views
Render Attributes remain hidden if VF page rerendered
I have a VF page for opportunity products with many fields rendered conditionally based on the user, product and/or the opportunity. The page works great except we have a button that subtracts the Pd ...
0 votes
1 answer
113 views
Syntax Rendered in Visualforce not working
I already tried several ways to try this rendered in my code, but the header still show up, and the value is already like the criteria.how to make the header is show/not showing based on the criteria. ...
0 votes
1 answer
192 views
Render specific Opp Products on Visualforce template
we'd like to display only specific Opportunity Products on an email template if a certain field is TRUE. We keep getting an error that says "value of attribute rendered associated with an element ...
0 votes
0 answers
170 views
How to hide an apex:outputLabel along with the apex:inputField it's associated with
Given the code: <apex:pageBlockSectionItem> <apex:outputLabel value="{!$ObjectType.CustomObject__c.Fields.CustomField__c.Label} :" /> <apex:...
0 votes
1 answer
168 views
Render code if condition is true
I want to render the span syntax only if the wrapper.AccHead is not empty. I tried the code below, but it does'nt work. I tried also to use the rendered syntax in span but it does' nt work. Is there a ...
1 vote
1 answer
94 views
render page visible only after apex callout function runs
I'm working on a system that uses a LWC modal to verify someone, once verified the full account record page displays. However, we've started to notice a bug where occasionally, if the person is ...
1 vote
0 answers
1k views
renderedCallback method in child component not recognized (undefined) when variable passed from parent component
I am trying to pass a variable from parent component to child component in LWC. But when I tried to access this variable in renderedCallback method of child component, it is showing loanId as ...
0 votes
1 answer
124 views
Render output panel based on page number
Is it possible to render an output panel based on the page it's being displayed on in a visual force pdf? <apex:outputPanel rendered = "counter(page) == 3">
0 votes
0 answers
36 views
How can I specify a PDF file name? [duplicate]
I'm placing a button on a Visualforce page that creates a PDF in the contract object. If I press this button, a PDF will be generated, but if I save it with "Save as", the file name will ...
0 votes
1 answer
2k views
Visualforce rendered if list is empty
I'd like to render a VF component if a list is empty, but the VF page is giving an error of "Unknown property 'CheckOpps.opportunity'. How to correct this error? I am building the list in a ...
0 votes
1 answer
2k views
How to show/hide a visualforce component using the rendered attribute
I am trying the show the visualforce page with the pageblock section having id=table1 as hidden when it loads. When the user clicks the Execute button, then only the pageblock needs to be visible. I ...
0 votes
0 answers
63 views
Radio buttons determine which fields will be filled out
I want to select 1 of 2 (or 1 of 3) radio buttons and have certain pageblocksections. I tried to follow about a dozen examples but to no avail. The 2 I have been try to get to work are below. My VF ...