function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

multi-picklist and actionSupport issue

I am using actionSupport control to refresh an area of a page where there are three dependent pick-lists are included.


Everything works just fine the only problem is that once the actionSupport updates the page portion, the multi-pick list shown loses it's buttons!!



<apex:pageBlockSection columns="1" id="industryBlock">
<apex:outputLabel value="Industry Type"></apex:outputLabel>
<apex:outputPanel layout="none">
<apex:actionRegion >
<apex:inputField value="{!item.Industry_Type__c}" required="true">
<apex:actionSupport event="onchange" reRender="industryBlock"/>
<apex:pageBlockSectionItem >&nbsp;</apex:pageBlockSectionItem>

<apex:inputField value="{!item.picklist1__c}" rendered="{!item.Industry_Type__c='vallue1'}" required="true"/>
<apex:inputField value="{!item.picklist2__c}" rendered="{!item.Industry_Type__c='vallue1'}" required="true"/>
<apex:inputField value="{!item.picklist3__c}" rendered="{!item.Industry_Type__c='vallue1'}" required="true"/>


Any help is appreciated!


Hi Sam,


Have u found any solution for this?

I am facing the same problem.

I have used actionSupport and multiselect picklist on visualforce page, which is filled dynamically based on the other dropdown.
When I clicked on select image the action function is called. Now when I change the drop down it fills the values correctly, but on click of the select image function is not called there is just a page refresh.