Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- Picklist values in Apex Code
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
Picklist values in Apex Code
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-10-2012 03:38 AM
Hi,
I have 4 picklist fields on my vf page. How can I retrieve values of these field when user clicks onsearch button.
Scenario:
I don't wan to use Controller.getRecord() method. Is there any way I can access them. I tried ApexPages.CurrentPage.GetParameters.Get() method but that method is not working. Is there any thing else I can use for them.
Any help will be appreicated.
With Regards,
Mayank Pant.
0
Re: Picklist values in Apex Code
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-11-2012 06:01 PM
You're going to have to use Controller.getRecord() at least once to get the record.
~ sfdcfox ~
I am a sandwich. That is all.

