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
1
vote
1answer
10 views

Rerendering based on a picklist loses the value of that picklist

I have a page that is trying to re-render a certain area of the page when a picklist (ndaDetails.NDA_Type__c) is changed. The picklist itself is a part of the pageBlockSection that is supposed to be ...
-2
votes
2answers
32 views

How to call an apex class and visualforce after every 5 seconds to display updated data

I am fetching the cases and their status using SOQL query in my controller and then displaying it on visualforce using pageblock. I want to keep loading the page/query after every 5 seconds, so that ...
0
votes
1answer
20 views

Cannot remove Event Listner from Lightning Components

I'm using the javascript code below to simulate a click on an iframe in Salesforce and hosted on my domain. I just want to simulate the first click on the iframe that's why i remove the event ...
0
votes
0answers
29 views

Lightning: datatable reload only the datatable data on click of inline edit

i have created a lightning datatable using a wrapper class. i am using the inline editing functionality and once the field is edited, onclick of save button, the datatable should be reloaded with new ...
0
votes
0answers
21 views

Rerendering component has huge increase on view state

I'm working on a page with a very large dataset. There is a part of the page that downloads the report as a CSV file: <apex:outputPanel id="downloadCSVSection"> <script> ...
0
votes
1answer
67 views

$A.util.removeClass not working sometimes

I've created rerenderer function to hide the field after component is loaded but it still doesn't work as expected. Note: I've not added slds-hide or slds-show class in component. Just trying to hide ...
0
votes
0answers
19 views

Rerender of Outputpanel not working in modal component

I have a VF page with a modal component in it, which gets displayed depending on a button click. There are 2 issues: I pass a record id to the modal component via a data-attribute, which populates a ...
1
vote
1answer
25 views

How to adress rerender in visualforce page on pageload

I currently use the actionregion to rerender an image based on the input of a picklist field. This works by showing the image if I select the correct value in the picklist field. How do I do an ...
2
votes
1answer
12 views

ActionFunction doesn't rerender output panel

I've got a basic page, with a custom select (in order to show title text), wrapped in an apex:outputPanel. Whenever I try to change the input, its onchange fires, puts the right value into my ...
1
vote
1answer
75 views

VF Page column sorting method loses functionality when extending standard controller, why?

So I am trying to make a VF Page to display list of account records. We must have pagination and filtering from standard controller. Also we must use custom controller to create methods to alternate ...
1
vote
1answer
52 views

How do I show an Iframe in a in a visualforce page

I am trying to show an Iframe in an visualforce page but this does not seem to render the page. I have read that this could be a certificate issue. If so is there any other way to render the Iframe ...
0
votes
0answers
48 views

Dynamic rerendering of output panel

Requirement: A visualpage will have a button, which can be clicked 10 times, each time a new section is created. Each section has a static section and a dynamic section in which Case fields needs to ...
1
vote
1answer
15 views

Action Function nulling out values unless rerender is specified?

I have the following part in my visualforce page: <apex:form> <apex:actionFunction name="interestInShowConfirmed" action="{!interestInShowConfirmed}" /> <apex:actionFunction ...
0
votes
0answers
21 views

rerender does not work when the outputPanel id is made unique

<apex:page id="idPageComponent" standardController='Case' extension='testController'> <apex:form id="idForm"> <apex:actionFunction name="testMethod" action="{!testMethodDetails}" ...
0
votes
1answer
27 views

Rerender divs and bootstrap

I'm trying to Rerender three of four columns, but because I can't use styleclass in divs and not reRender by styleClass but only Id, I don't know how can I achieve that. I tried to put apex:pageBlock ...
1
vote
1answer
29 views

Visualforce - Multi-Level Rendering

I am trying to render 2 additional field levels in Visualforce using rerender function. Is this possible? I have the first level working, but unable to get the last level working properly. Any ...
0
votes
2answers
66 views

Second apex method executing before the first one finishes

I have a vf page displaying several Multi select custom buttons. And I am calling a apex method every time one of the button is clicked from VF page using actionfunction. But if I click 2 buttons in ...
0
votes
1answer
42 views

How to create a custom VF page with dynamically generated HTML code and what VF component to use?

I have a dynamically generated HTML code in apex. I need to put and render this HTML in a custom VF page. How that can be achieved? If I need an <apex:outputLabel> please advise how to put ...
0
votes
0answers
21 views

rerendering apex:inputText onchange to incorporate different styles

Is it possible to rerender an apex:inputText field immediately when the user changes the value of the field? In my application the form's input fields look different if they are already populated (...
0
votes
1answer
28 views

Page Refreshing and Resetting Visualforce Parameters

Through a series of events, I have a visualforce component that When a apex:outputLink is clicked calls a component controller method Calls some javascript in the component The javascript calls an ...
0
votes
2answers
46 views

Visualforce Styling Conditional Rendering Field Alignment

I have conditional rendering set up for a PageBlockSectionItem field and it seems like this field does not align properly with the rest of the fields in this same section - see below. Is it possible ...
0
votes
1answer
56 views

Visualforce Remove/Hide Line Breaks between PageBlockSections

Is it possible to remove the line breaks specifically between PageBlockSections? My Visualforce page is currently set up to render/display fields, however, this is creating an undesired effect of ...
0
votes
1answer
27 views

How to show custom message when reloading the page

I have a custom VF page. When the page is refreshed, i need to display custom message in page "There is no record to save". when i am clicking save button message will be displaying. But i need ...
1
vote
2answers
47 views

Jquery] show doesn't work in some case and click function called several times in VF

Rencently, I've fighten for understanding jquery in VF apex tag. Looks like it can have several problem at the same time. First of all, please check below code. <div class="btn_none" title="...
0
votes
1answer
188 views

Dynamic Rendering of Div based on Apex Controller Value

I would like to reRender a Div based on some logic. Initially the div will be set as display:none as per the logic (Checking whether the variable is null or not). But after passing value to ...
2
votes
1answer
34 views

Rerender not loading new records for datatable

I am displaying custom object records in a datatable. I modify the data using the Salesforce API (i.e. outside the current page), and then when the user clicks a button I want to rerender the ...
0
votes
1answer
362 views

Event is undefined in afterrender

I have a lightning component that I am adding a click event listener as part of the afterRender. The problem I have is that I want it to fire an event but the event is coming back as undefined. here ...
0
votes
0answers
27 views

Add rows on button click without loosing input values from prev row

I'm trying to make a table with add row functionality. The process is next: User works with one row, put data in input fields, and then add another row. The first row must contain data that user ...
-1
votes
1answer
23 views

What could be steps that we should generally follow to resolve VF reRender issue? [closed]

I have came across this many times and have spent many hours to resolve VF render issue, suppose I have page with id="page" , form with id="mainform", and a panel with id="mainpanel", so when I wanted ...
0
votes
1answer
89 views

ltng:require afterScriptsLoaded will run after dom was fully loaded. Why?

ltng:require afterScriptsLoaded will run after dom was fully loaded. Why? I mean where is it documented? I saw it, for example, here As per @TrevorBliss comments , adding afterScriptsLoaded to ...
0
votes
2answers
185 views

Visualforce Render condition not working when true

I have a custom visualforce page that has page blocks. When the render condition is false, I receive the expected results when previewing. The issue is when I change the render criteria to true and ...
0
votes
1answer
311 views

ReRender function is not working in lightning component

I have below LDS Component, at the console log, I can see render and after render log but once I start typing in one of the input fields, I get nothing from rerender log. can someone please help me to ...
1
vote
2answers
529 views

Cannot understand this $A.getCallback error

I've a parent component containing a formattedRichText component and an edit button. Edit button onclick() calls a child component that hold a modal component. That modal component contains an ...
5
votes
1answer
172 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
60 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
0answers
113 views

Custom label translation issue

I have a custom label Label.LoginForm_Error_Message having translation for different countries. This label has been used in Apex page to show custom error message country specific whenever there is a ...
0
votes
2answers
43 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
43 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
147 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
502 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
95 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
172 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
274 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
190 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
42 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
547 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
151 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
68 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: ...