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
1answer
18 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
36 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 ...
1
vote
2answers
61 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
34 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
47 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
49 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
628 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
253 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
135 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
140 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
909 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
143 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
250 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
1k 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
1k 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
2k 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
2k 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 ...
1
vote
1answer
260 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. ...
4
votes
1answer
306 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
304 views

actionRegion makes my labels disappear

The question is quite simple, yet, I'm till' now unable to answer it myself. Is there any solution to stop my label from a selectRadio/selectList/anything from disappearing everytime I use action ...
4
votes
1answer
1k 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
682 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
901 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
277 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
331 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
323 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 ...
6
votes
1answer
346 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 ...
5
votes
1answer
287 views

Lookup popover freezing in place

I have a custom Visualforce page that includes a dynamically sized table. The first column in the table is a Lookup to Account. When that value is chosen, some logic is run to populate some of the ...
2
votes
1answer
1k views

Inline editing in visual force inconsistent

I have a vf page where i have few columns and i have used inline editing for the columns, the code is as follows: <apex:commandButton value="Add Session" action="{!createNewSession}" ...
1
vote
3answers
5k views

possible to pass selected picklist value to controller via apex:param

Is there any way to pass the current value of a picklist to a controller via apex:param? I have my apex:param inside of a action:support onChange so when the user selects a picklist option it passes ...
0
votes
3answers
1k views

When i call apex:actionSupport I loss all form data

I am facing a strange problem. Actually few of my form fields visibility depends on picklist selected data. for example If i select "Yes" in Previously_Applied__c picklist then ...
1
vote
2answers
3k views

Action method is not invoked

I am trying to get the total of 5 inputfields onchange. I am using apex:actionFunction but i am not able to call the action method on apex:actionFunction. I have a inputtext which is calling the ...
2
votes
1answer
2k views

Visualforce Page with required fields and rerendering

We have a Visualforce page that uses standard pageBlockSections and inputFields. This page has a lot of dynamic rerendering of pageBlockSections based on fields. Up until now, all of the fields have ...