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
0answers
35 views

How do I save checkboxes on a visualforce page?

I have designed a visualforce page that has checkboxes. I need to save those checkboxes when they are checked or unchecked. I would like the action of checking the box to save the new value. Does ...
0
votes
0answers
36 views

VisualForce: onChange don't work in IE

I have a VisualForce page with the drop-down menu. <apex:selectList value="{!StyleGuide}" size="1" styleClass="SlectBox" id="styleguideSelect"> <apex:selectOptions ...
2
votes
2answers
111 views

How do I know if a request to my Apex controller originated from an XHR request or not?

I have a Visualforce page that is backed by a controller. The page will make XHR requests back to the controller upon a number of events by making use of apex:actionSupport eg <apex:actionSupport ...
3
votes
2answers
235 views

Data Driven Visualforce Page

I am designing a custom input picklist form that will be data-driven.Based on picklist value selected next question should show up with the picklist options.Like wise it might end up having 10-15 ...
1
vote
1answer
47 views

actionSupport, retrieving records and rerendering a picklist

I'm having trouble getting actionSupport to refresh a SelectOptions field on my Visualforce page. I have two SelectOptions fields: one for a custom Site object and one for Account. The account ...
1
vote
1answer
22 views

On Account field value change, need address values to change also

I have a master detail relation with Account(master) and Address_vod__c (child). I am showing Account as apex input field. Now on change of Account field , address values also need to changed. Please ...
0
votes
1answer
46 views

Is it Possible to Add Value to Picklist Field by Visualforce

My scenario : I am creating visualforce page for custom object. I have one Picklist field(say, city__c). If user choose ---other--- option from the picklist, I must enable a textbox and Add button. ...
1
vote
1answer
39 views

<apex:actionSupport> event not firing in <apex:selectRadio> group

I have the below in my VF page. There is an <apex:selectRadio> group with the options populated by a function in my controller, and below there is an <apex:outputPanel> which is rendered ...
1
vote
2answers
121 views

Re-rendering section on picklist value change - picklist value is always null

On a Visualforce page, I have a picklist (apex:selectOption). When a user selects certain values, additional input fields have to appear. Otherwise, they should be hidden. There are a couple of ...
1
vote
2answers
46 views

Using apex:commandButton inside relatedList facet to show/hide pageBlocks on a VF page

I'm trying to replace the "header" facet inside a relatedList on my Visualforce page. Inside the header I want to put a commandButton that, when I click it, will hide (via rendered) the pageBlock that ...
1
vote
0answers
78 views

PageRef or ActionMethod problem

I'm trying to add functionality to a JQuery mobile app someone else wrote and encountering problems with either the action method or the page reference class when trying to construct another page to ...
0
votes
1answer
70 views

Action support on html table

I have a simple html table. I want another table2 to be showed only when I mouse hover on that table1 row. How to use Action support. Please help below is my code, Can you please help me out with my ...
0
votes
1answer
71 views

ActionSupport rerender not working

I want to render Account.Type and Account.Industry when Account.Rating ='Hot' <apex:page standardController="Account"> <apex:form > <apex:pageBlock title="Account Edit" ...
0
votes
0answers
31 views

ActionSupport on selectRadio not Calling Setter Method and also not rerendering outputPanel

I came across similar posts but my solution is not working at all. I have to show two options with radio buttons and render different outputpanel for each selection. Code Snippet is below. Initailly ...
0
votes
2answers
79 views

Can I access an apex:inputField onchange value in my controller/extension without saving the record?

My Cases VF page renders page block sections based on info pulled from the value entered into the Asset lookup field, using an actionSupport tag. <apex:inputField value="{!Case.AssetID}"> ...
1
vote
1answer
129 views

Action support on change event conflicts with apex:inputfield on change

I am calling javascript function from apex:inputfield and also doing rerendering page same block section Item using action support as I am using depended picklist on my Visual Force page. but after ...
0
votes
0answers
21 views

Dynamically generated fields are nulled when action:support action returns

I have a problem with dynamically generated form on my VisualForce page. There is an object IODocument__c and i want some fields presented to user based on his selection of document type. On page ...
0
votes
2answers
88 views

Picklist event : ActionSupport doesn't work

I have a picklist in my VF page and have set an event.....based on the value that is picked i need to set a percentage field with some value which i think is not happeing....i'm sure there is ...
2
votes
3answers
470 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
31 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
121 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
89 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
1k 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 ...
3
votes
1answer
765 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
283 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
702 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
287 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
462 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
2answers
149 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
133 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 ...
0
votes
1answer
275 views

reRendering panels in ActionSupport

Decided to abort the use of a multiselect picker and use separate checkboxes each with its own action. However now if I only want to show 2 charts in the first panel grid and then start hiding then ...
2
votes
1answer
2k 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
5k 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
451 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
475 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
2k 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
469 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
3k 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
3answers
676 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
894 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
3k 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 ...
3
votes
3answers
3k 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
88 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
311 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
116 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
6k 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
685 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
344 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
361 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
4k 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 ...