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.

learn more… | top users | synonyms

1
vote
3answers
50 views

actionSupport rerender not working as expected

I have the below code and I am trying to make the Call_Outcome__c field required based on what value was selected for Type field: <apex:pageBlockSectionItem> <apex:outputLabel ...
1
vote
0answers
20 views

Display related fields based on change to lookup

This is a simplified example of the problem I'm having, using minimum data. I've created 2 objects, branch and leaf. Each leaf has a lookup to branch. I put a button on the leaf list to create a ...
0
votes
1answer
32 views

apex:inputField breaking onchange binding?

I have an <apex:selectList> whose onchange event rerenders an <apex:outputPanel> through an <apex:actionSupport>. While I was busy celebrating the magic of Visualforce, I noticed ...
0
votes
1answer
38 views

apex:actionSupport not working in apex:selectCheckboxes

Following is the VisualForce code snippet: <apex:selectCheckboxes value="{!users}" layout="pageDirection"> <apex:actionSupport event="onselect" ...
3
votes
5answers
94 views

Apex param not passing the value - in action support event on click

I have a method to get the param value : public PageReference facultyid() { public String fid{get;set;} System.debug('facultyId: ' + fid); return null; } My page calls and sets this ...
2
votes
1answer
92 views

apex:selectList always passing older value on onchange..?

I am using apex:selectList..I want to get the value on onchange of the selectlist..But for first time when i am debugging the value..Its blank..ID comes when i change it again(Second time)..But its ...
0
votes
0answers
58 views

oncomplete not working

I have a page where I use an actionSupport whenever a checkbox is changed and then I call an action in my controller. When this action is completed I want to call another function but it never gets ...
3
votes
1answer
223 views

Visualforce - ActionFunction and ActionSupport not calling action methods

today i'm having some issues with actionFunction and actionSupport visualforce tag. This is my example page: <apex:page controller="TestLookupActionFunctionCtrl"> <apex:form id="myform"> ...
1
vote
1answer
123 views

Rerender is not triggered within <apex:repeat> block

I have a scenario where there are repeating Tabs. Within each tab, there are multiple drop-down lists (say DL1, DL2, DL3). DL2 is dynamically generated based on the value selected from DL1. And DL3 is ...
1
vote
1answer
176 views

How to use apex:actionRegion with required fields and apex:pageBlockSection

I have a custom object with a lookup field to Opportunity. When the opportunity lookup field is changed, I have apex code that gets some data and populates some fields on a portion of the page. So, ...
0
votes
0answers
24 views

Stop facet show only after action in ActionStatus

I need to Save a value only after calling Save method in ActionStatus and remove after the page is refreshed next time. But vales are shown even after the page is refreshed.can someone please help me ...
0
votes
2answers
61 views

Auto Save Picklist value onchange

I have an apex page where there is only one picklist field whose value change is allowed by User. Now I don't need a Save button to make the change reflect in system. Instead I need that anytime User ...
0
votes
1answer
71 views

From my radiobutton on VF page I am not able to call the method on change when apex:selectRadio is inside the actionregion

From my apex:selectRadio on VF page I am not able to call the method on change when apex:selectRadio is inside the actionregion. I wan to call am method and also wan to display and hide a outputpanl ...
1
vote
1answer
404 views

How to use ActionSupport, ActionREgion, ActionFunction all together

I have a requirement, where I have a dropdown fiter. On change of dropdown value, Pageblocktable will be updated. Dropdown field has no Button to excute the event, so it has to be ActionFunction. ...
0
votes
2answers
2k 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
227 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}" ...
2
votes
1answer
272 views

Action support rerender

Following is what i´ m trying to accomplish: and on change picklist: Switching between picklist values should update the Person in the chart: I got this working with following code: VF Component: ...
2
votes
1answer
1k views

apex:param not assigning value within apex:actionSupport for apex:inputCheckbox

I have a simple proof of concept that is not working as expected, and what appears to be happening is that the apex:param is not actually assigning the specified value to the controller property as ...
0
votes
1answer
247 views

actionStatus not working without reRender?

I would want to ask you, if it's possible, the actionStatus to be triggered without the attribute rerender on actionSupport? Example: <apex:inputFile id="file_test" value="{!att.Body}" ...
0
votes
1answer
927 views

How actionSupport will work when used with selectList? Is it work on the copy of variables?

I'm working on custom picklist. What I want to do is: when i select a value from picklist, then update some data in list. Then this updated list data should be populated on the VF page. I used ...
2
votes
2answers
368 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
2answers
488 views

Live Agent popup window

I am having difficulties with Live Agent to set it up on a custom third party website that is not connected with force.com. Problem: Whenever i press the button for online talk it popup a new window ...
1
vote
1answer
2k views

Do not VisualForce JavaScript onChange and actionSupport work together?

It seems like you can't use VisualForce JavaScript onChange and actionSupport together, because if you use onChange property on inputField then actionSupport onChange wouldn't work. There is here my ...
0
votes
0answers
137 views

Custom component not blocking page within IE

I am using a custom component that blocks the page and displays a fancy processing icon/text when any actions occur on my visual force page. My problem is that it does not seem to work with Internet ...
2
votes
3answers
2k views

Display the fields properly in output panel while using actionRegion

I am using actionRegion for to show/hide the fields based upon picklist in Opportunity. When i am selecting the Stage picklist value is Closed Lost, then 4 text fields will be displays. It works fine. ...
0
votes
1answer
72 views

Insufficient Privileges error when changing value of picklist

I have picklist of values Lead and Opportunity, By default value of picklist is Lead When I change it to Opportunity and, if change it back to Lead, it gives error of Insufficient Privileges.
0
votes
1answer
182 views

Toggle Command Button Value from Ascending to Descending

I have a command link Ascending. If I click on the link, immediately, the value of the button/link should change to Descending. <apex:commandLink action="{!Asc}" value="Ascending" ...
1
vote
1answer
97 views

Conflict in actions inside block table

I have a table with two actions, first is delete record If i click on delete icon (commandLink), the second action get record Info when I click on the row. but If I click on delete (Icon) the two ...
1
vote
1answer
3k views

calling or using javascript function inside actionSupport

I have a pageBlockTable with rows, I want to call function from javascript or write a js function when I click on row. <apex:pageBlockTable var="c" ...> <apex:column ../> ...
1
vote
1answer
559 views

Controller Extension Test - action method in actionSupport not invoked automatically?

Assuming I have two picklists in my VF page, something like this: <apex:selectList value="{!parentId}" id="cmbParent" size="1" required="true" label="Parent"> <apex:selectOptions ...
1
vote
2answers
269 views

actionSupport Rerender in a wrapper class

I want a value from one input field to be copied into all pageBlock fields. I could insert records with the value, but then user wouldn't be able to change individual values in the pageBlock. Current ...
0
votes
1answer
263 views

Uncaught TypeError for <apex:actionSupport> inside <apex:image>

I am trying to set up a demo with a few different images that allow you to click on an image and show the next one. For simplicity sake, I figured I could just set this up using an incrementing ...
1
vote
3answers
3k views

Apex:ActionSupport Action isn't Invoked when VF Page Contains Validation Error

I have a VF page, on which there is a output field binds to an action support function like below: <apex:inputField value="{!job.Account__c}" id="AccountInput" > <apex:actionSupport ...
1
vote
1answer
298 views

Is there any way of using apex:actionRegion without ruining my design?

I'm trying to use rerender on a form. Quite simple in fact, besides the problem I've been unable to solve. Whenever I use apex:actionRegion, my form structure is ruined (for example, the fields ...
1
vote
3answers
437 views

System.NullPointerException: Attempt to de-reference a null object for duraion

I am new to Apex coding. Can someone please help me to resolve the issue. I am trying to automatically display the duration when from and todate is selected. For that i have developed a code in the ...
2
votes
1answer
3k views

get selected item from selectList and passing to controller

I'm trying to get the value of selected list and passing it to the controller but my code does not work ! I have tried to do this. <apex:selectList value="{!facility}" size="1"> ...
2
votes
1answer
2k views

Update Record values on Visualforce Extension by actionSupport

Background I have a VF page that use StandardController="Opportunity" and also extensions="OpportunityControllerExt". I'm showing the opp.stageName and the opp.Probability. When the StageName ...
3
votes
1answer
4k views

Difficulty with apex:param and apex:actionsupport

Trouble with Action Support Currently, I have been very successful with my page until I ran into a snag with my action:support tag. I simply need to collect an Id, collected on the a form, then ...
1
vote
4answers
4k views

passing checkbox parameter to controller not working

Following your input I made changes but it is still not working. This is my new code: <apex:column > <apex:inputCheckbox value="{!myRec.isPerf}" id="perf"> <apex:actionSupport ...
2
votes
1answer
636 views

Controller fields not updated when actionSupport onchange event used

I have 3 fields Client, BilltoClient and project. Client is a lookup and billtoclient and project are dropdown. The project filed should get populated on the bases of client name and the billtoclint. ...
5
votes
1answer
484 views

How to move a record in list based on picklist value selected in VF Page?

I have a VF page in that I am having a List which has picklist field called "Status", values named "open" and "complete". When we select the picklist value "Complete" then the record should move to ...
5
votes
2answers
688 views

Using <apex:actionRegion> makes my labels disappear

The question is quite simple, yet, I'm unable to answer it myself. Is there any solution to stop my label from a selectRadio/selectList/anything from disappearing everytime I use an action region? I ...
5
votes
1answer
2k views

Preventing default form submission and calling an action instead

I have a VF Page that initially shows only an input field (lookup), with other parts of the page not rendered. When the user enters a value and tabs out of the field, the onchange event calls my ...
5
votes
2answers
1k views

How do I get a value from a look up input field?

I am using the apex:actionSupport control to execute some code when the apex:inputField it is associated to, has its value changed. The apex:inputField is a look up field, so it spawns a new window ...
1
vote
1answer
2k views

ActionSupport with lookup field: is ActionRegion required?

I have a VF page based on the Case object. I have the standard contact lookup field on this page. When the user enters a contact, I would like to retrieve immediately the contact mailing address ...
7
votes
2answers
1k views

Can't get ID from lookup field using ActionSupport

I have a Visualforce page for creating new Cases. During this process, I want to retrieve the contact's mailing address whenever the contact lookup field is changed. I'm using ActionSupport but it's ...
1
vote
2answers
447 views

ActionSupport rerender causes insufficient privileges error

I'm trying to create a dependent picklist of objects and fields. I present a list of objects to the user, and depending on the object they select, I show the object's String fields in the second ...
1
vote
0answers
445 views

Apex actionSupport example doesnt work. 401 Unauthorized error for FileNotFound destination

I'm trying to create simple Ajax request using apex:actionSupport exact like described in official documentation. But on the client side it is looks pretty strange: <form ...
2
votes
2answers
533 views

Button redirects page before async call is finished in another field

I am really confused as to how to solve this issue I have on a visualforce page. Basically I have a pageblock table with some Opportunity Products displayed. On the onchange event of the fields in the ...
7
votes
1answer
454 views

I am having a peculiar predicament in regards to using apex:actionSupport

I am having a peculiar predicament in regards to using apex:actionSupport. I am selecting a collection of values on a VisualForce page (through the use of a wrapper class in the controller) with the ...