I would like to have something similar to Picklist, but Picklist needs to bind to sObject.
Other than InputText, is there any component to get user input that does not correspond to a field on a Salesforce object?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
There are many different VF tags that don't tie directly to a SF object, but rather than controller properties.
inputText inputCheckbox inputHidden inputTextArea selectList selectOption selectOptions selectRadio selectCheckboxes
Check the VF developers guide for info on these
Also, new in the Winter 14 release, they came out with the
<apex:input> tag. This tage references a controller property and does not need to tie to a SF object field.
From the Release notes.
is a new, HTML5-friendly, general purpose input component that adapts to the data expected by a form field. It uses the HTML type attribute to allow client browsers to display type-appropriate user input widgets
I think you're looking for