Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
18 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
23 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
21 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
18 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
18 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
28 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
38 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
34 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
17 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
24 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
34 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
38 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
25 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
42 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
46 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
30 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
168 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
22 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
21 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
44 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
104 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
170 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 ...
0
votes
2answers
396 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
116 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
35 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
53 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
41 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
42 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
81 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
344 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
70 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
112 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
135 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
94 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
39 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
354 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 ...
3
votes
1answer
125 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
56 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
53 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
67 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
220 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
606 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
71 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
135 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
457 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
108 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
65 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 &...