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.

learn more… | top users | synonyms

1
vote
1answer
19 views

Render section or display error message

I have a requirement where I want a section to render depending on a value of a controller variable. If the section is not rendered I want an error message to be displayed. I have the following piece ...
0
votes
2answers
34 views

Visualforce: Issues with $Permission when rerendering

Has anyone else experienced issues with permission based elements on visualforce when rerendering a section? For example I have a section that for administrators will provide a link but for common ...
0
votes
1answer
23 views

How do I leave space blank when field is not rendered on visualforce page?

I am facing layout related problem when field is not rendered. set of fields are moving from one place to another while fields reRender. Please look at the screenshots attached as well as Code. Can ...
1
vote
1answer
56 views

ReRendering tables in Visualforce

I have two account tables (well, one input table, and one list table). I am trying to add/edit accounts, with the following behaviour: Clicking "Add Account" both the Account input area, and the ...
1
vote
1answer
56 views

Layout issue with reRender inputfield on Visualforce page

As per this blog by Bob Buzzard I am trying to rerender an input field. But as I am adding that input field in two nested output panel as shown in below code and example in the above blog that input ...
0
votes
2answers
59 views

VisualForce Component rendering on another page

I Have a component which was used thrice on another vf page and these are linked to three tabs in my homepage. I have NEW , MustRead and MostPopular Tabs. Component is having a download button upon ...
1
vote
1answer
25 views

Rerender picklist values based on checkbox

On my page I have a picklist that contains the names of all active users for the org. I'd like to add a checkbox that, when checked, repopulates the picklist with inactive users instead. How can I ...
4
votes
2answers
67 views

Reload VF page on save and edit

I have a VF page which I am accessing using - test.salesforce.com/apex/VFpage?id=xxx. I have a save and edit button on VF page which I have defined in my extension class. VF Page(part in scope of ...
0
votes
1answer
22 views

pageblocktable and total record label show wheninsert text and click on search button but it show on page load

yellow colour mark area not show before click on search how to use render i have take boolean variable which name is flag this is my class public class nestedqueryexample{ public string ...
0
votes
1answer
25 views

Controller method doesn't rerender pageBlock

My aim is showing the pageBlock named iconGallery, when the user click on the commandLink "Show Gallery". If I put the "loadImage" method's code inside Constructor, everything goes perfect. So I ...
0
votes
0answers
50 views

reRender two separate Visualforce Pages?

Are you able to reRender two separate Visualforce pages with one commandButton? I have two separate Visualforce pages under separate tab. (lightning app builder tab - not <apex:tab> If not, I ...
0
votes
2answers
44 views

How to solve this error “Return type of an Apex action method must be a PageReference. Found: visualforce.el.VisualforceArrayList ”?

Basically I have custom button in datail page .When i click this button,I have four picklist and checkbox in VF.I have to click atleast one picklist one checkbox .After clicking save button some ...
1
vote
0answers
30 views

multiselect picklist rerender bug?

I noticed strange behaviour. I have multiselect picklist with action support. If one of values is selected 2 input fields in a page block should be rendered. Everything works as expected when I open ...
0
votes
2answers
76 views

Change Picklist value when checkbox is checked in visualforce

I have one picklist field that contains hot, warm, cold. And I have one checkbox field. If I choose Hot value in picklist field and checked the checkbox then picklist value should changed to cold. &...
0
votes
2answers
66 views

Help with Rich Text Field refresh trick

http://blogforce9.blogspot.com/2015/04/custom-rich-textarea-taking-it-further.html#comment-form I've been looking for a solution to refreshing rich text field but haven't made much progress. This ...
2
votes
1answer
46 views

ReCaptcha Disappears after OutputPanel ReRender

I have a Google ReCaptcha component included in a visualforce page which I expose over a Force.com Site. the ReCaptcha functionality displays and works well. An issue occurs though if I place the ...
0
votes
1answer
20 views

Insufficient privilege error on access contacts on account page

I am using commandlink rerender to refresh a pageblock. I am making the contact name as a link here and trying to access it on the same page: <apex:page standardController="Account" > <apex:...
0
votes
0answers
21 views

ActionFunction rerender with only standardController: data is not re-queried?

I have a VF page that uses only a standardController (the work is mainly done in Javascript and Ajax Toolkit). After the js uploads some child records to the main record associated with the page, I ...
1
vote
0answers
17 views

Anyone else experiencing trouble with Chrome 49.x and rerenderings?

The code is way to complex to simplify it for this trivial question. I am changing object fields and variables in my page and Controller Extension. Worked fine before. But since Chrome updated to 49....
3
votes
2answers
44 views

Submit button won't ReRender my VF Page

I am in the final stages of creating this awesome custom VF report. Everything is coming together but now the Output Panel won't refresh. I have it setup so an end user can select a date range and ...
1
vote
1answer
115 views

Visualforce: Dynamically ReRender a row within <apex:repeat> by passing $Component through controller

I have a typical form with <apex:repeat> for some fields. The <apex:inputText> elements have an onChange attribute that references a script that then calls an <apex:actionFunction>, ...
1
vote
0answers
31 views

Rerender parent Page block while closing child

I have two VF page and trying to mimic somewhat send an email functionality. I have add attachment button and it opens a child pop up to upload the document. While closing this popup, I want to ...
1
vote
1answer
35 views

Only last message is displayed when ApexPages.addMessage is used

In my VisualForce page there are 2 buttons. Each button handler performs an action and add an information message to the page using ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,...
1
vote
1answer
58 views

Visualforce Javascript Selectors Becoming Undefined After Rerender

I have a VF Page that renders several "tabs" of data. On initial load it works exactly as expected, but then if I use a pagereference method on a button or event I then rerender the page, ...
1
vote
1answer
56 views

actionSupport, retrieving records and rerendering a picklist

I'm having trouble getting actionSupport to refresh a SelectOptions field on my Visualforce page. I have two SelectOptions fields: one for a custom Site object and one for Account. The account ...
0
votes
0answers
76 views

Problem with reRendering a component in vfp

I am doing a Add/Delete row functionality in vfp. Within this add/delete row pageblock am calling a component(which is having textbox). When I click on add row button it is rerendering the component ...
0
votes
1answer
43 views

Attach More Files: Rerender Clears Selection

When am trying to click on Attach Another file button ,selected file on first input file is getting null. Here is the code. public class SamplePageController{ public List<Attachment> ...
1
vote
0answers
45 views

Rerender doesn't work on CommandButton

I have a problem with rerender="", here is the code : <apex:form id ="form_id"> .. .. .. <apex:repeat value="{!map_condidat_cv}" var="key" > <tr> <td&...
14
votes
3answers
390 views

Only rerender row in <apex:pageBlockTable> using <apex:actionRegion>

I have an editable page block table displaying SObjects records per row. There are also actions per row that only modify the row's record. <apex:pageBlockTable> <apex:column><apex:...
0
votes
1answer
74 views

How to update a value from an <apex:inputField> in visualforce?

that's my second question today , i am new to salesforce and i am facing problems every day. I am iterating through a map as indicated in this visualforce code: <apex:repeat value="{!...
0
votes
0answers
41 views

Display some information when i check/uncheck wrapper object in a form

I would like to handle the state of my wrapper objects and display them when I select/deselect their checkbox. I would like to obtain something like 1st category of leads -- aka SLO -- (250 --count-...
0
votes
4answers
123 views

reRender problem: variable changes in controller, but not on the VF page

(I am building upon this question and the helpful answers there: Re-rendering section on picklist value change - picklist value is always null.) Requirement: On a Visualforce page, I have a picklist (...
1
vote
2answers
49 views

Using apex:commandButton inside relatedList facet to show/hide pageBlocks on a VF page

I'm trying to replace the "header" facet inside a relatedList on my Visualforce page. Inside the header I want to put a commandButton that, when I click it, will hide (via rendered) the pageBlock that ...
0
votes
1answer
40 views

reRender standard controller object list

I'm using standard controller on my visualforce page to get list of records like below <apex:page showHeader="false" standardController="customObj__c" recordSetVar="...
0
votes
1answer
73 views

Rerender outputpanel with command link

I've created a VF page that displays 2 tables of contacts. The page contains command links "x" and "+". When X is clicked, it should be removed from the top table and placed on the bottom table. When +...
0
votes
0answers
51 views

Multiple list views in a tabbed page - only one renders

I have a visualforce page with a tab panel and included enhanced lists under tabs. Example: <style> .activeTab {background-color: #236FBf; color:white; background-image:none} ....
1
vote
1answer
26 views

VisualForce rerendering issue

I'm trying to set up some visualforce input and output to display if a select list is sent to a certain value. I've got my select list set to rerender the entire panelgrid on change and the inputs and ...
0
votes
1answer
61 views

Set same value from textarea to list of leads

I've a grid view for adding multiple leads with controller and helper class, it works Ok, but I need to add the same value for the whole list, that value will be added by the user into the rich ...
0
votes
1answer
37 views

if statement in render

I have the following piece of code. <apex:commandButton action="{!AuthorModel.saveAuthorList}" id="saveButton" value="Save" rerender="pageblocktableid"/> My requirement is that I want to ...
0
votes
1answer
79 views

How to prevent outputpanel from rerendering when javascript is fired

I have a lookup field that inserts a row of fields onto my page. I have an outputpanel that surrounds the html which needs to be rerendered. The problem is, inside that outputpanel I have a few ...
-1
votes
2answers
93 views

How to pass the array values from the javascript to apex controller and later store in custome object?

I am trying to get the values from javascript which is in array, to the apex controller and later save it. When I check the debug logs, I see null value in it. Need help. Below is my code. I tried ...
0
votes
1answer
117 views

Rerender two visualforce elements after each other?

I have a Visualforce page, with a pageblocktable that is dependent on some date fields. When the dates change I would like to rerender the table, and then rerender the pageMessages. At the moment, ...
5
votes
2answers
134 views

How to rerender multiple charts

I'm trying to rerender two apex chart components after a form field change, and can only seem to rerender one of them. Here's my page: <apex:page showHeader="false" sidebar="false" controller="...
0
votes
1answer
152 views

The radio button after clicking doesnt let to refresh the page!

I had a quiz program in apex which displays the next question value when the 'Next' button is clicked and it's working fine. But when I select a value in the radio button which I had used for choices ...
0
votes
1answer
85 views

ActionSupport rerender not working

I want to render Account.Type and Account.Industry when Account.Rating ='Hot' <apex:page standardController="Account"> <apex:form > <apex:pageBlock title="Account Edit" id="pb"&...
0
votes
2answers
38 views

How to add message for visual page render as pdf?

When I try to add error message to my visual page by using apex:pageMeassages/ tag, my style not working when renderAs pdf this is my visual page <apex:page standardController="ConsumersClaim__c"...
0
votes
0answers
22 views

Preserve the state of rerender panel after navigating from page

I've got a search results page that are rendered dynamically, from where user navigates to a result via public PageReference displaySiteDetails(){ try { selectedSite = sitesMap....
0
votes
0answers
52 views

Issue with rerender inside <apex:dynamicComponent>

I'm having trouble re-rendering elements inside a dynamic component, for example if we have these VF pages/controllers/components" Page1.page <apex:page controller="Page1"> <apex:...
1
vote
1answer
62 views

Render a PDF from Static Resources in a VF page

I have a Static Resource that is a PDF. How can I show it on a VF page? I also, want it to be 100% of the VF page. Here is the code I tried that doesn't display the image: <apex:page renderAs="...