You need to sign in to do that
Don't have an account?
SolidLucas
query parameters
Hello! i want to do a query into a custom "Cia__c" field using the <apex:selectList> well i've created a method like this
public List<SelectOption> getCiaOptions() { List<SelectOption> CiaOptions = new List<SelectOption>(); CiaOptions.add(new SelectOption('','--Nenhum--')); CiaOptions.add(new SelectOption('a07o0000002Quf3AAC','Test1')); CiaOptions.add(new SelectOption('a07o0000002Quf8AAC','Test2')); return CiaOptions; } }VisualForce!
<apex:selectList value="{!Cia}" multiselect="false" size="1" label="Cia"> <apex:selectOptions value="{!CiaOptions}" /> </apex:selectList>
Someone could help me i've been trying but without success.
Thanks!
--Akram