Questions tagged [rerender]

The ID of one or more components that are redrawn when the result of the action method returns to the client. This value can be a single ID, a comma-separated list of IDs, or a merge field expression for a list or collection of IDs.

Filter by
Sorted by
Tagged with
5
votes
1answer
316 views

Failing to conditionally render Lightning component after setting value from Promise callback

The Goal I am trying to conditionally render a component after a user successfully uploads a CSV file. Here is the markup for the conditional rendering. Details have been omitted: <!-- Create ...
2
votes
0answers
92 views

Chart rerender not working

I have a visualforce page in which I lazy load elements (otherwise the page would take forever to load). I load charts with each call of a javascript function, but for whatever reason the charts do ...
0
votes
2answers
48 views

ActionFuntion not rerendering data on UI

Visualforce : <apex:page id="ContactSearchPage" controller="ContactSearchController" sidebar="false" showHeader="false" standardStylesheets="false" showChat="false" docType="html-5.0"&...
0
votes
1answer
44 views

Use Recently Added Lead Object Id to Open Primary Tab

Simplifying/Clarifying Question: Command button invokes method to insert lead object. Need to use a console tab method to open the newly inserted lead object. How do I pass the id back from the ...
2
votes
1answer
231 views

DOM modifications from controller in lightning

While reading this article I met the following rule: Do not modify DOM in Controller. If you modify DOM in Controller it will call renderer method which will end in no result. The article looks ...
1
vote
2answers
814 views

Client side logic that is executed when a user hovers over an Account in the list should be stored in which bundle member?

While preparing myself to the Developer 1 certification I met the following question: A developer created a lightning component named accountList.cmp that displays a list of Accounts. Client side ...
0
votes
2answers
141 views

Visualforce page resets wrapper fields during rerender

I have a wrapper class to that include opportunity line items and a selectlist value set. When the page is rerendered, the oli fields are maintained, but the selectlist values are reset. I can't see ...
0
votes
3answers
271 views

How do I rerender a conditionally rendered pageBlockSectionItem?

So - I have a page like this: <apex:page > <apex:form > <apex:pageBlock id="pageBlock"> <apex:pageBlockSection title="Some Text"> <...
0
votes
2answers
24 views

rerender Refreshes the repeat, need to reassign values

When i click on "Add another session" Button it Adds new group of date and time binded in repeat and it rerenders. Repeat is rerendered but obiously values will be null. I want to retain those values ...
1
vote
1answer
635 views

Visualforce Display and Hide Fields

I wrote a visualforce page using a wrapper class. Everything is displaying just the way I want it for the most part. I was trying to figure out how to display columns within my pageblock on conditions ...
0
votes
1answer
275 views

Prevent reloading of Page on oncomplete of actionfunction

I have below code where I want to do an action to apex action function and oncomplete of it want to call a javascript function. Unfortunately instead of calling the action the action function in my ...
0
votes
1answer
46 views

Close and reopen VF page

I have a page loaded from a button on a custom object to create an email. It renders the body and subject from an email template and displays the results for possible edit with a rich text field. I ...
1
vote
1answer
941 views

apex:ActionFunction not reRendering or showing status

Not sure what is happening here. I am unable to show the spinner status or reRender the page with updated data. I did see this information about reRendering with conditionals but I am reRendering my ...
1
vote
1answer
21 views

Visualforce rerender not working on related (child) items

I have a visualforce page that is being rerendered. It contains 2 sections: First section contains a list of child records using the OOTB syntax (not sure what to call it) Second section contains a ...
2
votes
1answer
189 views

Visualforce Page's outputText not updating when other outputPanels are next to it. Why?

I have the following controller variable {!selectedValue} that updates successfully on the page just fine when the markup next to it is commented out. However when I add the outputPanels back in, it ...
1
vote
1answer
110 views

Empty Row not shown when table is rendered as pdf

I have a HTML table in vf email template. in one or the row i wanted to add empty row so i added below code: <tr height="20"></tr> Now this works fine & i see the empty row in table: ...
0
votes
1answer
65 views

Visualforce Table is not updating after selectlist option is selected and added to database

I have a visualforce page with two controllers that contains a selectList with all the Schema objects in my org. The selectlist when selected and pressed the "saved to DB" button saves the option into ...
1
vote
2answers
109 views

HTML Video not working on Visualforce Rerender

I have a Visualforce page with a series of videos on it. I'm trying to create a filter for it, so that the videos that display on this page changes when you click and item in the filter. Everything ...
-1
votes
1answer
316 views

Unable to get the selected picklist value in VF page

We have a web2case form (Screen shot attached below) and In the form we need to show/Hide loa reason field based on the values in Category and sub- category picklist fields, This functionality is not ...
6
votes
2answers
887 views

AfterRender on button in Lightning Component (DOM update)

I am trying to do something that sounds easy in JavaScript but that I have difficulty to do with Lightning component. The functionality is to highlight the currently pressed button as explained in ...
0
votes
1answer
159 views

Javascript in output panel rerendered inconsistently

I have an outputPanel containing javascript to change formatting conditionally based on variables in Apex. This is called onComplete from the save button for the page. The custom save function is in ...
0
votes
2answers
195 views

ouput panel not rendering for picklist value onchange event

When i select the picklist Complaint_type__c value as 'others' then i need to rerender the output panel. I tried in different ways using Pageblocksections but no luck. below is my code.. <div ...
0
votes
2answers
842 views

reRender problem with apex inputFile can not be used in conjunction with an action component

I have actionFunction with rerender on it, It rerender the textarea field in the form. I have inputFile field. the problem is when I put them both together inside form I get this error apex inputFile ...
0
votes
1answer
233 views

Does reRender of apex:PageBlockSection invoke the constructor?

I have a visualforce page which calls a controller method via actionFunction. When I reRender the pageBlockSection, the variable values get reset. There is no method that resets the variable values. ...
0
votes
1answer
71 views

Dependent texts field not rerendering in visualforce

I have two dependent fields in the visualforce page. One is a picklist and text field. So based on the stage the picklist fields works but not the values of text field is not refreshing the value &...
0
votes
0answers
88 views

rerender section of page when field is inline edited without saving [duplicate]

Is there a way to re-render my VF page when a field is modified via inline editing without anything being saved? Right now I have the following snippet in my VF page: <apex:outputField value="{!...
0
votes
0answers
127 views

Rerender only if action returns null?

So I have an interesting little problem. I have a action function in my visualforce page: <apex:actionFunction name="handleShowChanged" action="{!handleShowChanged}" reRender="non-upload-area" /&...
0
votes
1answer
492 views

Hide button afterRender based on callback result

I'm trying to hide buttons depending on some information that the callback function on "INIT" should give as result. I'm trying to do it into a custom render "afterRender" as described in salesforce ...
0
votes
1answer
268 views

Rerender is not getting updated values

Requirement : On a vf page i have a button and on clicking the button the composer and publisher values from the song are updated to the UI . However does updated values are not reflecting until i ...
0
votes
1answer
311 views

Rerendering nested output panel at onChange event of Selectlist not working

Can anybody tell me what goes wrong with the below code? <div class="form-group row"> <apex:outputPanel id="Panel1" rendered="{!uhasAccess}"> {!isExists} <!--- This shows ...
2
votes
1answer
1k views

how to detect aura:iteration has loaded?

I need to trigger a jQuery from Rerender after my aura:iteration has completed. Based on the official document, rerender fires each time when there is a event. But the my javascript code needs to be ...
1
vote
1answer
785 views

how to display data table records vertically in visual force page

Thanks for your time. i want to display data table records vertically in visual force page,here is my below code. how to achieve this <div id="CountrySelection" > <apex:...
9
votes
1answer
166 views

Is it possible to combine attribute updates into one re-rendering-cycle or defer re-rendering?

I have a component basically consisting of 8 <aura:iteration>s. For each <aura:iteration> I have a dedicated attribute. So 8 aura:attributes are controlling 8 iterators. The types of all ...
0
votes
1answer
1k views

Conditionaly render input field on Visualforce page

I can't figure out what it is I am doing wrong with this code. I would like to only render the Service_Account__c.CM_Service__c field based upon the value of the checkbox field Service_Account__c....
0
votes
1answer
83 views

How can we undo the Overriding of CSS effect due to rerender property

There is a command button with an onclick js call where the values of input elements in the form is checked. If any of the input values is empty, CSS effect is applied in the Javascirpt logic to ...
1
vote
1answer
730 views

Making a checkbox field value null using a JS function

I am trying to set the value of a checkbox(custom field) to null in a VF page using Javascript function.Below are bits and pieces of my code. This happens when the user clicks the tag. An Onclick JS ...
1
vote
0answers
42 views

Rendering an Output Panel when a Google Recaptcha returns false

I want to rerender the output panel with id,Captchapanel.It is working fine when the recaptcha returns true.But it is not rendering the outputpanel when recaptcha return false.Can anyone help me?...
0
votes
2answers
500 views

outputPanel rerender css issue

i have a selectlist which is rendered when a picklist option is selected, the issue i am having is when it is selected the selectlist label doesn't appear and styling goes all weird, i've looked at it ...
0
votes
1answer
328 views

Output panel rendering using action support

We use a outputpanel which encloses a table and it is rendered by selecting the listview. the problem is inside the table we are using outputpanel for different purposes. When the list view is ...
0
votes
1answer
315 views

Facing issue in rendering apex:SelectList of salesforce

I have a scenario where I'm using the custom dependent picklist and I don't want to bind all data of VF page to the controller so I'm using immediate on action function. My requirement is that I have ...
3
votes
0answers
424 views

Loss of Lightning Card style on reRender of outputPanel in Visualforce

I have a visualforce page that gets initially loaded, then an action function is triggered that does a webservice callout. Once the action is finished and the output panel rerenders, I am losing the ...
0
votes
1answer
248 views

Rerender the pageblocksection for certain fields in the same section

I have a VF Page, where I want to make certain fields as a required field based on picklist value. all the fields are in the same Pageblock section. But here the issue is when I am changing the ...
0
votes
1answer
823 views

Binding input to a hidden variable with JS

I've got a datepicker attached to an input text, and I need to make the text value available to my apex variable "LaunchDate." It's not binding. I even tried putting onfocus="SetLaunchD()" in the ...
0
votes
1answer
534 views

How to change the color of an output text based on selected picklist value

I have a picklist field. When the field value is x, the color should be yellow. And when its value is y its color should be orange. How to change the color of the output text based on picklist ...
0
votes
1answer
76 views

re-render uninitalizing varriables?

I have a bit of an interesting problem, when I preform a rerender with a command button, variables get unset for some reason. I have a Class named UploadedFile: public with sharing class ...
1
vote
0answers
133 views

Visualforce map in apex:repeat rerendering bug

We have a visualforce page that we embed into the contact details page to help users manage a contact's campaign members. I ran into the following error: Map key Test CR Default Status not found in ...
0
votes
1answer
1k views

How to add list view filtering to a visualforce page using standard controller

I am want to use list view filter to change the list of account in my visualforce page. I am not sure which event to use in action support. Here is what i have done so far <apex:page ...
0
votes
0answers
289 views

Rerender inputField on Lightning component (dependent picklist hack)

Is it possible to re-render an inputField in Lightning so that it re-fetches its values from the server (how we used to do it with VF)? I am well aware of the limitations associated with picklists ...
0
votes
1answer
15 views

Visualforce rerending woes

I know this is somewhat of a replicated post across the web, but nothing out there has answered my question. I have an input field (picklist) containing Closed Won, Closed Lost, and Closed Lost - No ...
0
votes
2answers
928 views

Render in Command Button

I have a question on how to use render on command button? <apex:pageBlockButtons > <apex:commandButton onclick="appendSelected(); return false;" value="Select" /> <apex:...

1 2 3 4 5 8