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
-2
votes
0answers
33 views

Visualforce Rerendering of price based on pricelevel picklist option selection not working [closed]

I am passing map of price level name to price "Map". "selectedoption" to set the default picklist value. In VF on picklist change I am just rerendering the price field. But price is not apearing on VF....
1
vote
1answer
23 views

Visualforce error on rerender with inputfile

I have a VF page where I upload a .csv file and display the columns on the page in a table. It all works fine if I don't try and add a spinner, which requires me to rerender the page. If I don't use ...
0
votes
0answers
25 views

How to use application events for two different components

I want to make two separate components to display Opportunity field values and filters on separate component without parent-child comp relationship I don't want to use parent child component ...
0
votes
0answers
18 views

rerender a section in visualforce based on conditions

I have 2 picklists with action support on my vf page. On the rerender of the first picklist action support, i rerender 2 sections. But on the rerender of the second picklist, I want to rerender one ...
0
votes
1answer
19 views

Partial page rerender on record update (apex:actionPoller)

I have a visualforce component that displays parts of a record named "tvCase__c". This record may be updated from another component or outside, but the component should always display the most recent ...
0
votes
1answer
19 views

Rerender of pageBlockSection not working on input field change

I have an input field: <apex:inputField id="tabIndex5" value="{!My_Object__c.Some_Field__c}"> <apex:actionSupport event="onchange" action="{!DoNothing}" rerender="info,subinfo,subinfo2,...
1
vote
0answers
17 views

Lightning Tab won't open fully on load

I have a Lightning Component with a drop-down of quarters (Jan-March,..,Oct-Dec). Based on the quarter chosen I have to display lightning tabs, with the number of tabs and labels for the tabs being ...
0
votes
0answers
20 views

How to rerender an output panel when the data becomes available?

I have a VF pages that takes on parameters, and when a "Search" button is clicked, a call is made to an external source. The returned results are displayed on an output panel that rerenderes after the ...
0
votes
0answers
24 views

How to show ActionStatus spinner without using the reRender tag on button

I am using an SLDS VF page, where I display search parameters. When "Search" button is clicked, the parameters are picked up and a call is made to an external resource, and if there are any matches ...
0
votes
1answer
31 views

Converting VF page into MS Word

I am trying to render VF page into MS Word, all content is appearing exactly as per requirement except border of MS Word.Please have a look of below screenshot.Tried many CSS but no effect on the ...
0
votes
0answers
27 views

How to convert LWC pages into PDF format? [duplicate]

My current requirement is to convert LWC page into PDF format. I tried built in 're-render as PDF' option though VF page. But it does not look good & i am not able to add Graphs/Charts into it. ...
0
votes
2answers
39 views

Cannot read property 'fieldApiName' of null

Hi everyone, I'm trying to display account fields in lightning component after selecting a account from accounts dropdownlist. I'm getting the error like "'lightning:outputField' [Cannot read ...
-1
votes
1answer
40 views

Rerender a datatable in a custom component embedded in a custom stand-alone app [closed]

I have a custom stand-alone app that has a custom component which makes use of a lightning tabset. On one of the tabs, there is a lightning datatable. I would like to create a refresh button that when ...
0
votes
1answer
78 views

Required attribute not working lightning:input rerender

I am facing an issue with below code. Required attribute on lightning:input is not working on rerender. I have an inputCheckbox and I render the lightning:input field upon checkbox selection. This is ...
0
votes
0answers
24 views

Email Message Object - Sanitize HTML Body

I use an output panel and rerender to display the HTML Body of an Email Message object query that is invoked by a user. There is an issue (confirmed by Salesforce Support) with rerendering an ...
0
votes
1answer
54 views

How do I stop oncomplete action on button if action throws error and display the error, on a modal VF page?

I have a modal VF component displayed over a VF page (opened as a result of click on a button on the underlying page), from which I enter a few criteria and then click a button to generate a VF PDF ...
-3
votes
1answer
29 views

Records are not displaying immediately,It needs to refresh page again.How can I display records without refreshing page?

I'm trying to display records in panel2 after clicking a button in panel 1.But records are not displaying immediately after clicking a button.Initially panel2 displays empty,after refreshing page ...
1
vote
0answers
26 views

Lookup field visibility based on picklist value is not working

I am trying to display a lookup field based on the value of a picklist. If the value 'Other' is chosen on the picklist, the showOtherAddress is set to true and then the rerender triggered by the ...
1
vote
1answer
24 views

Help me with adding render and rerender functionalities on page [closed]

My requirement is whenever the checkbox Did you confirm by DOB is true. The required field DOB will display and when checkbox is false it will not. Now the issue is when i am making the check box ...
1
vote
1answer
48 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
64 views

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

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
80 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
149 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
27 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
137 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
27 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
27 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
33 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
207 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
111 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
68 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
32 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
51 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
33 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
101 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
75 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
30 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
29 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
57 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
132 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
35 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
77 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
446 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
53 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
464 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 ...
-1
votes
1answer
24 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
150 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
573 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
439 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 ...