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
2answers
23 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
23 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
73 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
38 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
32 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
27 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
38 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
50 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
15 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
52 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 ...
1
vote
3answers
248 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
24 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
73 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
70 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
546 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
416 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
174 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
476 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
224 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
373 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
47 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
108 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
114 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
191 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
1k 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
4k 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
350 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
420 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
377 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
2k 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
536 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
745 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 ...
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
84 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
258 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
110 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
5k 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
643 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
323 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
328 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 ...
1
vote
1answer
358 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
476 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
5k 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
5k 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
801 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. ...