I need to get the boolean from a selectList. For example I have the following code.
<apex:selectList id="chooseRule" value="{!}" size="1">
<apex:selectOption itemEscaped="false" itemValue="bContains" itemLabel="Contains"/>
<apex:selectOption itemEscaped="false" itemValue="bStart" itemLabel="Start with"/>
<apex:selectOption itemEscaped="false" itemValue="bNotEqual" itemLabel="Not Equal to"/>
</apex:selectList>
How can I show in my code behind, something like:
If(bContains == true){ do something}
Something like that?. Thanks!