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

0
votes
1answer
23 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
32 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
270 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
144 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
105 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
97 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
438 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
110 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
150 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
924 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
750 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
1k 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
1k 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
153 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
231 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 ...
3
votes
1answer
810 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
520 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
690 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
873 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
256 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
321 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
264 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
316 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
266 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
4k 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
2k 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
1k 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 ...