The Selectlist is working fine, the value of the the selection pass properly to the controller, but the param value will not pass to the controller.
PAGE
<apex:page controller="MS4_class" sidebar="false">
<apex:form >
<apex:selectList id="SelectedVW" value="{!SelectedVW}" size="1" multiselect="false" style="width:150px">
<apex:selectOptions value="{!ListOfVW}" />
<apex:actionSupport event="onchange" action="{!getMSListPR}">
<apex:param name="SearchEngine" value="cat" assignTo="{!SearchEngine}" />
</apex:actionSupport>
</apex:selectList>
</apex:form>
</apex:page>
actionSupport
to pass selected value to controller. Refer this exampleactionsupport
oractionFunction
otherwise on button click these values will be automatically available in controller since you must have defined them using{get;set;}
.