I have a visualforce page that accepts inputs and creates an Opportunity...
In Standard Opportunity creation page layouts, there are many options for StageName, but in visualforce, I need to display fewer options to the user for this same field. How would I do this using server-code (not javascript)?
The closest approach that I have seen involves describing the field's picklist values and storing the subset that I care about into a selectlist and then putting that selectlist on the page similar to how its done here: UPDATED LINK: http://christopheralunlewis.blogspot.com/2010/10/creating-picklist-in-visualforce-page.html
Although this allowed me to define a selectList on the page with its options based on a subset of StageName, it was not a complete replacement for the Opportunity.StageName apex:inputfield because when I removed the Opportunity.StageName apex:inputfield the page failed to load because other fields depend on its existence on the page (standard picklist dependencies are defined in my org for Opportunity.StageName)