Tagged Questions

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
16 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
30 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
87 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
25 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
34 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
84 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
55 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
66 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
97 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
114 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
120 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 ...
3
votes
2answers
69 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
56 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
78 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
55 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
196 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
85 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
25 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
48 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
93 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
15 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
93 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
49 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
73 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
39 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
79 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
213 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
596 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
194 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
51 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
53 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
50 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 ...
0
votes
1answer
380 views

selectList onchange not working

I have a VF page in which Im displaying set of records in pageblocktable. There is a dropdown List (Sort By) with values. Name, Program and a commandButton named 'Reverse Order'. So, when I ...
4
votes
1answer
218 views

SelectRadio Not Working Rerender outputPanel

On selecting Yes/No from the selectRadio options, outputPanel reRender is not working :( Here's the code I have 2 radio buttons.. yes/no. If user clicks Yes, it should display the outputPanel. If ...
2
votes
0answers
66 views

Viewstate not updated with actionFunction render?

I need to refresh viewstate on a page to show the latest query results based on user entry, but it's not working. I have an inputText on the page for the user to enter a filter value. When that ...
0
votes
0answers
495 views

Adding attachment to case using Apex and VF reRendering issue?

I am having problem while adding the attachment to case using apex from site. User will enter their details,they will select the PO and PO line item. After that we need to select the file for ...
0
votes
2answers
336 views

commandLink rerender pageblockTable not refreshed after save

<apex:pageBlock id="SortByDirectionBlock" rendered="{!checkHFStatus}"> <apex:commandLink action="{!saveSelectedMatches}" styleClass="navbar-link" value="Save Students" ...
3
votes
2answers
991 views

apex:inputFile can't be used in conjunction with an action component issues [duplicate]

I have a requirement when i hit the Add PO button,that button rerender a pageblocksection and i have apex:inputfile in another section.but i'm getting this error apex:inputFile can not be used in ...
0
votes
1answer
193 views

CommandButton action method doesn't display expected page

I have a custom controller and a visualforce page that works perfectly besides when there isn't a duplicate and the user needs to be taken to the account edit page (which is written in the ...
6
votes
0answers
198 views

Visualforce rerender broken in IE11?

I've seen other issues with IE9 (that were patched) and a very specific question about IE11 rerendering with long text areas, but this seems to be a lot more general. I built a simple rerender test ...
2
votes
1answer
258 views

OutputPanel rerender causes full page refresh instead; new to Spring '14..?

We've had a custom VF console for a while, with a custom search tied to inbound phone # and Case creation / update within an OutputPanel. A CommandButton on the page refreshes the panel and loads a ...
2
votes
1answer
541 views

jQuery Datatable disappears once rerender the pageBlockTable using actionFunction. Any suggestions?

i am calling a method to bring the latest data from SAP on click of a button "Refresh" using actionFunction and set to rerenders pageBlockTable. But, after rerendering happens the entire datatable ...
0
votes
0answers
25 views

Visualforce rerendering problem [duplicate]

I have a multi select picklist 'Presentation Attributes'. I need to show/hide required fields based on the values selected in the picklist field. If 'other' is selected in the picklist field then the ...
7
votes
0answers
145 views

Rerendering in SF1 App

Is re-rendering supported in the Salesforce1 app? Since most navigation is done via javascript it seems that links etc. using onclick do not work after being re-rendered, and it is standard practice ...
3
votes
1answer
1k views

reRender commandButton depending on selectOption value in visualforce

In visualforce page I have a custom picklist with the values "Show" and "Hide" and two command buttons(Button A & Button B). When the picklist value is "Show", Button B needs to be displayed and ...
2
votes
1answer
244 views

Page refresh after inserting picture

I have a page that give the possibility to insert two pictures to the users. This is a page in a section that it is part of a custom object. Everything works fine except that when inserting pictureOne ...
0
votes
1answer
163 views

VF charts rerender issue..Need urgent support..?

I have showing chart on VF page..in an Apex output-panel pop up..It is working first time..when page is loaded..first time also i am doing re-rendering ....but when i change the data based on ...
3
votes
1answer
965 views

Rich text area field on VF whille rendering as PDF

I am using an rich text type field on VF page and that page is rendering as PDF. My concern is, I am not able to wrap the content of the field. I am using : <apex:outputtext ...
0
votes
1answer
83 views

Action on rerender

I have a page with a form. My question is, if when I rerender a part of the form, its input values can simply be populated by '' or null. <apex:pageBlockSection id="generalInfo" ...
1
vote
1answer
603 views

refresh pageblocksection to get latest values from controller

Visualforce is not refreshing the pageblocksection under outpanel to get the latest values from controller on click of saveedit command link public class NewEventController2 { public Id seriesId ...