+ Start a Discussion
Sam.arjSam.arj 

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:pageBlockSectionItem>
<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:inputField>
</apex:actionRegion>
</apex:outputPanel>
</apex:pageBlockSectionItem>
<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"/>
</apex:pageBlockSection>

 

Any help is appreciated!

RupaliJRupaliJ

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.
 

 

Thanks,

Rupali.