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

2
votes
0answers
14 views

<apex:commandButton> action doesn't work every time

I have implemented three dependent picklists like below: There is one visualforce page (standard controller for Opportunity with extension). This problem is connected with an action for Search ...
0
votes
2answers
30 views

Populate CSS value from the controller

I have a data table on my vf page and I want to set the width of td and th. Now this width depends on the number of columns present in the table which are dynamic. So if there are 8 columns the width ...
1
vote
1answer
60 views

apex:commandbutton not refreshing outputpanel

My VF Page : <apex:page controller="MyFirstCustomExpenseController"> <apex:form > <apex:pagemessages /> <apex:outputpanel id="op"> //Line 1 <apex:pageblock ...
0
votes
1answer
79 views

Refresh whole visualforce page on Save Method

I have a visualforce page with an apex:component in it. (This component is for headers, used in various other places). The component has an outputLink with actionSupport. OnClick of this Link, I have ...
0
votes
1answer
24 views

Action support rerender not showing Outputpanel

Switching between Radio Option should show and hide Outputpanel. I got this working with following code: <apex:selectRadio id="benefitradioid" required="True" value="{!selectedTargetBenefit}" ...
1
vote
1answer
21 views

Save Commanbutton errors out on hitting twice :System.ListException: Before Insert or Upsert list must not have two identically equal elements

I have a visualforce page, embedded in standard pagelayout of Account, that displays a list in peblocktable and can be inline edited. while hitting the Save button, it updates records and rerenders ...
0
votes
0answers
30 views

Rendering on Visualforce Page

I have picklist test1 Yes No after selecting "yes" value it will show one more picklist. (This one rendering/working perfectly) test2 Yes No Here after selecting "yes" value one field should ...
4
votes
1answer
41 views

CommandButton reRender causing action to fire twice

I havea custom save button on a visualforce page as below. I wanted to use actionstatus to show the user that the save process was taking place/in progress. However recently the redirect stopped for ...
0
votes
0answers
29 views

InlineEdits within a pageBlockTable not showing buttons set in 'showOnEdit' without fullpage refresh

Senario: I have a visualforce page which displays a table based on a value picked from a picklist at the top of the page. After the user selects a value, the table refreshes with the data, which the ...
3
votes
1answer
65 views

showOnEdit within commandButton not working when PageBlock section starts with rendered=false

On my visualforce page I have a pageblocksection that starts off hidden, this pageblock is shown when the user selects a value from a picklist. This feature works, but breaks the 'showOnEdit' ...
2
votes
1answer
45 views

Is there an easy way to repopulate a VisualForce page form when it is returned with an error?

I have a VisualForce page which, under "normal" circumstances, upon submission, via the custom controller extension, inserts a record. But sometimes, as it should, it does not insert the record, but ...
0
votes
2answers
80 views

Double Rendering Issue on Visualforce Page

I'm stuck in climax work,please give suggestion I have picklist saying test1 yes No after selecting "yes" value it will show one more picklist. (This one rendering/working perfectly) test2 yes ...
3
votes
1answer
37 views

ActionFunction rerender messing with Pagereference

I have a javascript method on my vf page which is called by a save button. This method does come calculation, collects some data and sends them to the save method in my controller as parameters using ...
1
vote
1answer
71 views

How to create tabs for an apex:tabPanel dynamically with apex:repeat and rerender?

I have an inputfield in my form which is a lookup. When I select a record from the list of lookup records (clicking the small magnifying glass) I am reading the id of that record and querying the ...
1
vote
2answers
439 views

Want to hide and show the output panel on button click

I have 2 output panel. In the first I have a button when I click on the button the 1st outputpanel should get hide and 2nd one get display. I have my code I am rendering the output panel but it is not ...
0
votes
1answer
27 views

outputPanel not rerendered

does someone has an idea, why the outputpanel "timeline" is not rerendered? <apex:inputCheckbox id="budget" value="{!opp.Budget_available__c}" /> <apex:actionSupport event="onclick" ...
1
vote
2answers
80 views

actionsupport + rerender + pageblocktable = problem

Context I want to show a pageblocktable with two input columns, Activity Type and Work Country, both populated with custom picklists as shown in the visualforce code below. Each row represents a ...
3
votes
1answer
43 views

apex:message not rerendering correctly

I have a page where I need to display an error message for a given field, and I'm using the <apex:message> tag to display it. This all works fine if the message is rendered on first page load, ...
1
vote
1answer
29 views

How to “unrender” an OutputPanel with required fields on

I've overridden the new Opportunity page and I have a dynamically generated picklist of Contact Names and a static value "New Contact". When "New Contact" is selected a new panel is displayed with ...
0
votes
1answer
75 views

JavaScript executing before controller method finishes

So I have an action function which calls an apex controller method. I call this action function within some javascript at the top of my page and after that call I want to send some information to ...
4
votes
2answers
331 views

Why is my Lightning aura:iterate component not iterating?

Currently working through the Create a Standalone Lightning App tutorial, which seems a good introduction to SFDC Lightning, but not entirely flawless. I have this component <aura:component ...
3
votes
1answer
40 views

Rerendering OutputLink with block elements inside of it

Whenever I try to rerender an outputpanel with an outputlink inside of it that has a <div> ( or other block elements ) inside of it, the <a> gets closed on rerender. Instead of <a ...
4
votes
1answer
76 views

Custom component controller is not re-instantiated by a rerender?

If I have a custom component contained within an outputPanel, and I rerender the outputPanel, does Salesforce re-instantiate the component controller and reload its data? It looks like it doesn't. ...
2
votes
2answers
115 views

what happens when rerender=“nothing”?

I came across with a code snippet which has the line of code as given below, <apex:commandButton styleClass="process-block-button" value="Process Selected" action="{!DoSomethingMany}" ...
1
vote
1answer
134 views

pressing enter on inputText does not trigger commandButton

<apex:form styleClass="container"> <apex:actionRegion > <div class="col-md-3 col-sm-5 col-xs-5 input-group"> <apex:inputText value="{!searchString}" ...
3
votes
1answer
136 views

ActionPoller and pageMessages rerender issue

I have a pretty batch that is trigger from a VF page. Then I check the batch status using an ActionPoller until it is completed and finally I rerender the batch results. Everything is working fine ...
1
vote
1answer
527 views

Rerender page components from apex:component

I have a Visualforce component (apex:component) where I would like to trigger the rerendering of an apex component on the containing page. In this case the component to rerender is an ...
3
votes
1answer
258 views

commandbutton not running action function after reRender

So I have commandButtons being displayed through a apex:repeat and being given a variable value in the repeat. When the button it clicked, I have it going to the controller and assigning the values ...
2
votes
1answer
205 views

rendered= expressions and use of the ! operator

I have an apex element which relies on the output of two Boolean methods to be rendered. At the moment, both methods are evaluating to true, yet the apex element is not rendering. If I reverse one of ...
4
votes
2answers
108 views

How to view the website in vf page as pdf

I have used the following code but the page shows as teh blank. but if we remove the render as pdf. the page shows the webpage. Code: <apex:page renderAs="pdf"> <apex:iframe height="300" ...
0
votes
2answers
93 views

Catch state of custom check box field in Apex

I have a custom object MyObject__c I've added a custom field which is of type check box. one__c If a system admin ticks this checkbox on the object in the Salesforce UI, I want an apex element ...
0
votes
2answers
232 views

rendering the table data through apex code

I am trying to fetch the custom object data into page block table with below code. I am getting the table as expected but my need is not to get the data when page is loaded and should come true only ...
1
vote
0answers
98 views

HTML5 Required Elements Act Differently with Re-Render

This issue may be linked to this post, in which case I think the bug wasn't fully fixed...but hopefully it's more simple than that... I have the example below - a basic input form using HTML5 error ...
3
votes
3answers
278 views

How to render as pdf when loading the existing website into the VF page

I have used the following cod to render as PDF, but website is not render when using the render as PDF/ but if I remove the PDF, the webpage is loading. Code: <apex:page render="pdf"> // ...
0
votes
1answer
195 views

Rerender page block

I need to display a pageblock on click of a command button. I tried re rendering the block however its not displaying the block on clicking command button. Please help. <apex:page> ...
-1
votes
1answer
30 views

What is the difference between rendered and apex: actionRegion [closed]

What is the difference between rendered and apex:actionRegion? Please provide me with an example of the difference.
2
votes
1answer
64 views

Javascript show/hide rerender

I have a checkbox that triggers a javascript function which shows/hides another component. The problem is if I hit submit, but there is a required field missing the submit rerenders the page but ...
1
vote
1answer
194 views

Rerender/rendered interaction in Visualforce

I have a Visualforce component with three fields- a dropdown of fields on a Salesforce object, a dropdown of options which depends upon the fieldType, and an input field which should not appear for ...
0
votes
0answers
16 views

How i can use Rerender with <apex:inputfile>? [duplicate]

I want to send file from visualforce page to apex controller so i am getting error we can't use rerender attribute with file. And i don't want to use <apex:actionRegion>. My code is:- when I ...
2
votes
1answer
181 views

pageBlockTable not rendering after delete link

I feel like I've wasted enough time tracking it down.Pretty simple thing. I have a pageBlockTable. One of the links in it, lets me delete that row. After the row is deleted the table should be ...
1
vote
0answers
61 views

apex:actionFunction stopping previous button to show previous screen

i have a visualforce page <apex:page controller="ActionFunctionDemoController"> <flow:interview name="Calculator" rerender="ddff" /> <apex:outputPanel ...
1
vote
1answer
160 views

Not changing Javascript variable value after rerendering

i created a script tag in visualforce <apex:page controller="ActionFunctionDemoController"> <apex:form > <apex:actionFunction name="action1" action="{!action1}" ...
0
votes
2answers
40 views

render a part of the Account page based on the user being part of the Account team

I'd like to render a part of the Account page based on the user being part of the Account team. I am getting stuck at generating the Boolean to Render. Here's my attempt: public class ...
1
vote
1answer
113 views

Map values are not retaining on rerender

i created a page <apex:page controller="Sample1" action="{!NumberOfSteps}"> <apex:includeScript value="{!URLFOR($Resource.jszip, '/jszip.js')}"/> <apex:includeScript ...
0
votes
1answer
239 views

VF page reRender is not working on action support action on the action support works

I have created a VF page where i have create data table on the head i have a select all check box which check all the current records shown on the VF page. I have defined a action support which work ...
3
votes
3answers
1k views

Action support Rerender not working

I want to render the second pageBlockSectionItem when the stage of the picklist named "StageName" is "Lead Qualified" My tags: <apex:page standardController="Opportunity" ...
2
votes
2answers
378 views

Hide and show pageblock section

i created a visualforce page.here is small snippet from that <apex:form id="form"> <apex:outputPanel id="flowPanel"> <apex:pageBlock title="Dynamic Flow" id="pageblock" > ...
4
votes
1answer
64 views

How to trigger an apex:actionFuction from an apex:commandButton without a page refresh?

How can I add an apex:commandButton to a page doing the following: Executing an apex:actionFunction ReRendering some parts of the page (with reRender="") NOT redirect to another page / refresh ...
1
vote
1answer
67 views

Which elements get rerendered and which can't be

i previously asked a question reRender is not working .i get a good reply of that .again i am trying to rerender a pageBlock and its not getting rerendered.i want to know which elements get rerendered ...
1
vote
1answer
67 views

reRender is not working

i write a simple visualforce page <apex:page controller="Sample1"> <!-- Begin Default Content REMOVE THIS --> <h1>Congratulations</h1> This is your new Page ...