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 [actionsupport]

apex:actionSupport adds AJAX support to another component, allowing the component to be refreshed asynchronously by the server when a particular event occurs, such as a button click or mouseover.

0
votes
0answers
22 views

OnChange ActionSupport event not triggering

I want to do something pretty basic: Enter a Sales Order Number (Lookup field) and then select the Serial Number of an Item from a Picklist. The following code is working but it's not reRendering the ...
0
votes
1answer
25 views

rendered issue with actionsupport

I'm trying to rendered a commandLink base on a variable inside the controller. When I use the rendred like below, its everytime get "false" value, and I cant see it (rendered=false) My variable's ...
0
votes
1answer
19 views

CommandLink with action support visual force page

I want to pass the value of the pressed link to the controller - Is that possible with <apex:actionsupport >? Or should I use the apex:param for this? <apex:column style="float:right;"&...
0
votes
1answer
53 views

How to query pending server-call actions made from Lightning Controller?

I've been searching through the documentation but I couldn't find anything explaining how to query pending server-call actions made from my lightning component controller. I can debug using the ...
0
votes
1answer
33 views

Actionsupport is not calling method in apex controller

I need to display record data in a separate section based on changing a values in picklist.Trying to call a method in apex using actionsupport but it failed to call method. here is my code. VF Page: &...
0
votes
2answers
162 views

apex:actionSupport 'action' was not fired, when using onchange attribute in apex:selectList

Actionsupport action method is not fired when I use onchagen attribute in apex:selectlist. If I remove the onchange attribute from the selectlist then actionsupport is working as expected. <apex:...
0
votes
2answers
70 views

Visualforce page - Trying to delete record from a pageBlockTable using ActionSupport, but id is null?

I'm not sure what I'm doing wrong but I have a column where I am trying to send an ID to the controller to delete it from the database and pageBlockTable. The problem is when I call the ...
0
votes
1answer
221 views

apex:actionSupport not working as expected

In th following code the action support for my input text field is not working as it should work(Line number 69-70 in vf code).I want to navigate to the page number entered by the user.Following is my ...
2
votes
1answer
180 views

ActionSupport on apex:selectList in table not called

I have 2 selectList on each row of a table. When the first one is changed, I need to modify the selectOptions of the second one. Currently, the ActionSupport is only called on one line and if the ...
1
vote
1answer
79 views

Mandatory input cause actionSupport to fail

I want to create records from individual inputs in a table. Individual inputs are made of Users or Contacts participating to a given meeting. A Meeting__c object is the parent of User and Contacts ...
0
votes
1answer
48 views

Formula expression required for actionsupport error in customized picklist approach

I have a selectoption in apex page. The User selected value, I need to set to Category__c picklist field as value. Then I have a dependent picklist Segment__c that will work accordingly. I am trying ...
-1
votes
1answer
273 views

Change visualforce outputText on MouseOver [closed]

I need to present a social security number field on a record detail page only when the cursor is over the field. I'd like the value to be all asterisks and then reveal the SSN on mouse over and then ...
0
votes
2answers
567 views

Simple actionsupport not working with inputCheckBox

There are only two fields in my page, one conditionally rendering the other. Everything works as expected (checkbox toggles the display of the date field) if I set the Boolean value to true from my ...
0
votes
1answer
33 views

Dependent drop-downs not working correctly with apex:actionSupport

I have 3 custom fields (select fields) Question1 , 2 and 3 . There is a dependency between Question1 and 2 ; and between 2 and 3 (using Field dependencies). I have the following VF page : <apex:...
1
vote
1answer
333 views

How is apex:actionSupport connected to the event DOM element

I have never used actionSupport before and here is my first try: <apex:page controller="TestCommandButtonController"> <apex:pageMessages /> <apex:form > <label&...
0
votes
2answers
146 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 ...
1
vote
0answers
163 views

Multiple items found. Select from drop-down or click icon to refine search on vf page onchange of lookup

I'm facing this 'Lookup auto-completion conflicts' issue (Lookup auto-completion conflicts with onchange event in Chrome and Firefox)- On a Visualforce page, if you are using actionSupport and ...
0
votes
2answers
865 views

<apex:actionSupport> not calling controller method

I have the following VisualForce code. I want it to call a controller method each time a different option is selected. <apex:actionRegion > <apex:selectList value="{!selectedOption}" size="...
0
votes
1answer
627 views

Call actionFunction from actionSupport onComplete

I'm trying to execute actionFunction inside the onComplete event of actionSupport. The goal is to get the selected Id from a lookup field and pass it to the Controller via the actionFunction, but I ...
0
votes
1answer
234 views

Output panel rendering using action support

We use a outputpanel which encloses a table and it is rendered by selecting the listview. the problem is inside the table we are using outputpanel for different purposes. When the list view is ...
0
votes
0answers
31 views

Weird encounter with a List

I'm at a loss. I'm updating a List via checkbox/actionsupport method and it's saving one variable but not the other. (screenshot). Here's code: public class aAccount { public Account act ...
0
votes
1answer
731 views

How to add list view filtering to a visualforce page using standard controller

I am want to use list view filter to change the list of account in my visualforce page. I am not sure which event to use in action support. Here is what i have done so far <apex:page ...
0
votes
1answer
72 views

Action Support causing page flickering please help!

"A" is a picklist field. "B" is a just a text field. I used action support component in the VF page.Bascially on change of a "A" field rendered "B" field.Functionality is working fine as per the ...
0
votes
1answer
507 views

Rerender on inputfield checkbox

I want to display some fields if user checks the checkbox. I am trying using actionsupport but it does not see to work. Please provide some help on how to do that. <apex:pageBlockSection id="...
2
votes
2answers
352 views

ActionSupport action not firing when id parameter not set in URL

I've written a Visualforce page and controller intended to override both the New and Edit buttons for the standard Case object. I have an inputField for an Account lookup enclosing an actionSupport ...
1
vote
2answers
233 views

Controller values not updated with ActionSupport

I'm having a VF page which shows a table, together with 2 dropdowns and a checkbox which function as filters. Whenever a picklist value or the checkbox changes, the table should get rerendered having ...
0
votes
1answer
414 views

How to update particular section using action region

Here when i update the "Record Detail" section ,first section "Account information" validation error is throwing.how to update only the particular section through action region? visualforce page code:...
1
vote
1answer
1k views

ActionSupport: Pass record Id to Controller from apex:repeat

I'm currently returning a mass edit list. I only want to save fields that have been edited. I thought it would be efficient to have an actionsupport method that adds all edited fields to a list in ...
1
vote
0answers
81 views

How to appear a field based on the two different field values?

I have 3 fields on visualforce page of custom object, 1) gender__c:Male/female(picklist field) 2) age__c: (number field) 3) field3__c:(picklist field) The field3__c only display, If the ...
0
votes
1answer
94 views

Support Setting in Salesforce - How to use System User details

In my Salesforce org, there are many channels through which you can create the case like Web-To-Case, Email-to-Case etc. When the case is getting created by any channel Case Notification is going to ...
1
vote
1answer
593 views

How to use 2 pageblockTable values in 1 pageBlocktable?

In my code, I have 2 pageblockTable with 2 values(apex). They are displaying data in 2 different tables. First pageblockTable displays the data based on search button after giving input. Second ...
1
vote
1answer
2k views

Explanation of apex:commandButton with apex:actionSupport

So I'm currently working off the example for apex:actionSupport given in the VF dev docs. All is fine with the example. I now am looking to have a button click initiate the refresh of the counter ...
0
votes
0answers
192 views

how to appear the fields of a object based on the custom picklist value (picklist created in page) selection in visualforce page?

Apex: public class TestPageCon { public String picklistval1 {get;set;} public String picklistval2 {get;set;} public List<object1> object1List{get;set;} public List<object2>...
1
vote
0answers
87 views

'actionSupport' is not working when inputField is included in same 'form'

What I am doing ? I have 3 fields in an object Account(lookup to Account),User(Lookup to User) and Permissions(Multi select picklist). I needed to only show few values from all the values in ...
0
votes
1answer
80 views

<apex:param/> tag seems to always assign the last value on visualforce page, regardless of which event was clicked

I have a VF page with 3 tabs. I can't figure out why the value assigned to the activeTab String always gets set to the last value in the <ul>. I thought the events were separate for each <...
0
votes
2answers
779 views

Rerendering conditionally required fields in VF - how to make field 'unrequired' upon rerender?

My scenario: I have two fields, each of which is tied to third field's picklist values. Only one of those two fields should display, depending on the selected picklist value. Whichever of those two ...
0
votes
2answers
264 views

Rerender based on picklist field

I'm trying to display some text if a particular value is chosen on a picklist. I thought that I could do this by using reRender however I am wondering if I also need a method in my controller? I've ...
0
votes
1answer
426 views

inputField onchange does not fire

I'm trying to get an inputField that is an account lookup to fire on the change event using actionSupport <actionRegion> <apex:inputField id="accountId" value="{!tempAsset.AccountId}" ...
0
votes
1answer
223 views

Visualforce Checkbox Rerender via Ajax - Whats wrong with my code?

I want to disable the pageblock section when the checkbox is checked,enable it when the check box is unchecked. I had tried with rerender but it is not working as expected. Note:The checkbox is ...
0
votes
1answer
480 views

Conditionally make a text box appear on selection of a Radio Button

I have 2 radio buttons on my vf page YES and NO. On selection of yes a text box should appear and on selection of no should disappear. I tried action support without much success. How do I select a ...
4
votes
1answer
894 views

apex:actionsupport event not firing

I have this sample page created that uses Jquery datatable within that I'm using <apex:actionsupport> and when I click on the hyperlink for that particular column it does not fire the event and ...
1
vote
2answers
1k views

Call apex class method immediate after input text

I have below code where after I do enter an auto complete input text value I need to click elsewhere for the apex class method {!applyfiler} to work. But I need to call that method instantly after ...
1
vote
1answer
98 views

ActionSupport and EventHandler Error

I am completely new to coding and I need help with below: Error Error: page1 line 10, column 24: The element type "apex:column" must be terminated by the matching end-tag "" Error Error: The ...
2
votes
1answer
326 views

Visualforce 'onChange' DOM event not firing when dependent picklist changes to default value

I have a VF page where several field's required attribute is dynamically tied to the value selected on a picklist: <apex:outputPanel id="idAccountField"> <apex:inputfield value="{!...
0
votes
1answer
38 views

Making rerender faster when getting data from controller

Good everyone, I am creating a visual force page. Inside on it, is an<apex:selectRadio> wherein when I select one of the radio, it will get data from controller and rerender some outputpanel ...
3
votes
1answer
151 views

actionSupport for onchange still taking the old productid instead of changedid

I am trying to pass the productid when i change product in my VF page using actionsupport. The action function does get called but the changed id is not passed but the one is passed. Here is the VF ...
0
votes
2answers
3k views

Hide/Show Button On VisualForce Page

I am trying to show/hide a submit button on my VF page based on a checkbox but its not rendering. Here's what I have already tried: On the controller I have defined the boolean condition as shown ...
2
votes
1answer
673 views

Display Selected values of one SelectList in another SelectList

I have 2 <apex:selectList>. The values of 1 selectList (called Available) are populated from Query. When user selects values from this multi-select selectList, I want to show them immediately ...
1
vote
1answer
157 views

Rerender Typeahead Custom Component

I am using below Typeahead Component to search for existing Contacts in visualforce page. But when I rerender section of Typeahead component it is showing blank page. https://github.com/...
2
votes
1answer
487 views

ActionSupport not calling my function in controller

What I'm trying to do is rerender my form once a row in the table is clicked. Initially, I have just put a system debug line in the function in the controller and I have not been able to see it in the ...