The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
28 views

How to implement a SelectList

Looking for an example showing how to implement a SelectList control on a Visualforce page using an extension class. I am able to display the selectList, but I am not sure how to save the value to ...
2
votes
0answers
15 views

<optgroup> functionality in salesforce

Good day everyone, I want to create a select in salesforce which look is similar to html tag optgroup. I want create an option within an option. Is it possible ? If yes, how will I do it ? Thanks... ...
0
votes
0answers
64 views

Visual Force - Wrapper Class integration

I am having issues integrating a wrapper class generated in one controller/VF Page into another Visualforce Page displayed. With an action, the selected accounts generated by one VF Page would be ...
2
votes
1answer
43 views

How can I set the default Value on a custom SelectOption List?

The Following works good to retrieve my account list in a SelectList on my VF. But I'm trying to set a specific Default Account as the first value in the list - Now it shows up last.. *Is there any ...
0
votes
1answer
26 views

Aligning selectOption in PageBlockSection

me again. So, take this: <apex:pageBlockSection id="clientsList" title="Clients List" rendered="{!searchCriteria.Search_Type__c ='Clients List'}" columns="1"> ...
3
votes
1answer
93 views

How to create Select with the given Minimum and Maximum Quantity

I got product.minimum_quantity__c = 1 and product.maximum_quantity__c = 10.. How can i display it in visualforce? is there any for loop like method?.. I think <apex:repeat> will not work on ...
2
votes
1answer
54 views

List Remove Item OffSet

Below I select all accounts and I remove accounts with the lastactivitydate <60 days. Now I have a problem with the offset size, because I show on each page 12 records, but If a record is removed, ...
2
votes
2answers
63 views

How to pass selected item's id from picklist to controller?

VF Page <apex:selectList size="1" value="{!interaction.Company__c}" id="interactionCompany"> <apex:selectOptions value="{!allCompanyOrgUnit}"/> <apex:actionSupport ...
0
votes
0answers
63 views

Passing Picklist Values to Controller

I found a nice Class which can get all controlling and dependable fields from Org. By giving the method the Selected Value from my Controlling picklist "Specialty" - basically transferring the Value ...
2
votes
2answers
64 views

How to display a selectlist in the title portion of a pageblock

On my VF page I have a page block that contains a table inside it. I wanted to be able to put selectlists to filter the data in the table, and ideally I want to put them at the top of a pageblock so ...
1
vote
1answer
94 views

apex:selectList inside a table column does not display correctly

I've added an apex:selectList inside of a table column in a visualforce page. The rendered output is wrong - the selectList doesn't show up in the correct column - it actually gets rendered in a new ...
1
vote
1answer
315 views

how to get the selected item value from select list and process it

VF Page: <apex:page controller="Ctrl_Event_Registration"> <apex:form > <apex:pageBlock title="Event Registration"> <apex:pageBlockButtons > <apex:commandButton ...
2
votes
1answer
212 views

<apex:selectlist> value don't pass to controller

I'm trying to do a simple selectList, and pass the value to controller when I click a button. Sounds simple (and it is), but I can't get this to work and I dont now why. VF Page <td> ...
0
votes
1answer
58 views

SOQL join query between child-parent related objects

I have the following relation between objects: Group__c AsociationGroupOrder__c Order Account Id <------- Group__c Format__c Pedido__c -----------> Id ...
2
votes
1answer
65 views

Unable to call Controller's method if select list is used

I have a strange issue.In my form I am using select list tag with multiselect attribute=false.The problem is,selected value for this picklist which is stored in database does not comes as selected in ...
1
vote
1answer
38 views

SelectList disappears when the value is an object's picklist

I have a simple page with a form that is supposed to create a custom object. This custom object has several picklist fields. I can dynamically populate the selectLists, but when I give the selectList ...
0
votes
2answers
265 views

dependent picklist in Visualforce issue (apex action method must be a page reference)

I am trying to create a custom dependent picklist in Visualforce (I cannot use the standard field tags because the guest site user does not have access to the User object). I am using the selectOption ...
0
votes
1answer
82 views

Preserve ListView in Visualforce and Apex

I have overriden a tab with Visualforce page. I have used standard controller and the following markup to display different views: <apex:selectList value="{!filterId}" size="1"> ...
1
vote
1answer
89 views

selectlist inside apex:column errors out

I have a pageblock table with column as a selectlist, populated from controller. Here is the code: <apex:pageBlockTable value="{!records}" var="k" id="thePageBlockTable" ...
0
votes
1answer
125 views

How to create a selectlist populated by records that list lookup relationship records?

I have been stuck on this problem for days. Basically I have a select list populated by all records in the custom object "Sprint__c". When I select a record in that select list, I am trying to list ...
3
votes
1answer
76 views

Output label not conditional

I have a requirement to show page message for a particular selected template. The template selection done here. But render is always returning true in this case. Can someone help me here? ...
1
vote
1answer
187 views

Need selectList value setter to be set after reRender

I have 3 selectLists. A, B, and C. B is dependent on A, and C is dependent on B. When selectList A changes, I rerender select list B, and C. <apex:selectList id='listAId' ...
0
votes
1answer
203 views

Display All records from dropdownlist

I have a page where I'm displaying List of records of an object (Product) on selecting each record from a dropdown list (default value -----------------Select----------). My requirement is the moment ...
0
votes
0answers
95 views

SelectList value unexpectedly NULL

Why should selectedsProdAdd (that represents the value for one of the selectList in the page) be null in the LtoR() method? Controller: public without sharing class PackManager { public ...
0
votes
1answer
893 views

How actionSupport will work when used with selectList? Is it work on the copy of variables?

I'm working on custom picklist. What I want to do is: when i select a value from picklist, then update some data in list. Then this updated list data should be populated on the VF page. I used ...
0
votes
0answers
239 views

Dynamic picklist column in pageBlockTable

I have a Visualforce page for an Order form in my Salesforce instance. The form includes a pageBlockTable for the products (line items) being ordered. So there is a button to add another line item, ...
2
votes
1answer
283 views

Display all data when no value is selected from dropdown list

I am displaying a dropdown list of Accounts on VF page which is displaying other field's values on selecting the Accounts. This functionality is working fine. My additional requirement is I need to ...
0
votes
2answers
245 views

CommandButton action doesn't populate selectList field

I've got a simple VisualForce page with a form that has one custom picklist. My controller successfully populates the custom picklist and the page renders fine. But when I click on the CommandButton ...
0
votes
1answer
113 views

Lookup Window From SelectList Option

Here's the deal: I have a search field that searchs the object selected from the list, presenting the results below in a table. But in my next step, i want to add the lookup icon next to the text ...
1
vote
1answer
177 views

Split selectCheckBox into two columns?

I would like to use a selectCheckbox for a field but the design team wants the options to be in two columns like so opt 1 | opt 2 ------------- opt 3 | opt 4 ------------- opt 5 | Im sure I could ...
0
votes
1answer
1k views

selectList onchange not working

I have a VF page in which Im displaying set of records in pageblocktable. There is a dropdown List (Sort By) with values. Name, Program and a commandButton named 'Reverse Order'. So, when I ...
0
votes
3answers
1k views

Set Visualforce whoid with jquery

I have recreated the Task Edit page in VF. If I have a contact Id in a jquery variable, how can I set that Id to the Name field so that when the Task record is saved, the correct contact is saved? ...
2
votes
1answer
3k views

get selected item from selectList and passing to controller

I'm trying to get the value of selected list and passing it to the controller but my code does not work ! I have tried to do this. <apex:selectList value="{!facility}" size="1"> ...
6
votes
2answers
417 views

I can't seem to get my selectList to set its bound variable

I apologize if this question is quite similar to the others involving selectList. I have read over them but can't seem to find the solution to my issue. So I figured after a few days of plugging ...
2
votes
1answer
1k views

apex select list with required = true not displaying validation error message

Validation error message is not displaying when select list is none or blank.Also I need to hide the buttons Submit,MakeAnonymous and Cancel button when clicked on either Submit and MakeAnonymous ...
3
votes
1answer
583 views

Visualforce page using SelectList, returns Recently Viewed - can I specify a List View?

I created a very simple VF page that I embed in an iframe on a home tab for a group of users, to show a select list of accounts, using an existing List View to filter the results. The issue is that ...
0
votes
1answer
3k views

Rerender based on SelectOption value on CommandButton Click

I have a visualforce page with a SelectList (with 3 select options) and a Command Button. Based on the selectList value chosen, I want to rerender few outputPanels below. Below are the complete ...
4
votes
2answers
3k views

Referencing a particular value of a select list

I have a visualforce list page that lists opportunity products and some of their fields. One of these fields is a lookup to a custom object. On each row in the visualforce page, the user is given the ...
3
votes
1answer
2k views

Is it possible to re-render select options for a SelectList based on selected options for other SelectList controls on the same page?

I am trying to figure out how I would dynamically update the SelectOptions for multiple SelectLists on the same visualforce page. I have a page where the user selects contacts that are associated ...
1
vote
2answers
3k views

Select option out put

This is my problem... I have a select list.. When I select the value, according to the value.. the id should be displayed..I done some part remaining part I struck. please find the code below. ...
10
votes
2answers
1k views

Is there a way to group options in a selectList

Is there a way to group options in an apex:selectList I have in my page <apex:selectList styleclass="form-control rec" size="1" id="country" > <apex:selectOption ...
2
votes
2answers
676 views

Dynamic date select list creation

I need to create a drop down with date values Like March 28-April 27 February 28-March 27 January 28-February 27 December 28-January 27 November 28-December 27 October 28-November 27 September ...
3
votes
2answers
3k views

Want to create select option from Apex

I am trying to create a table from apex according to the no of rows and columns entered on the Vf page the apex code will generate a table. This much is working fine. Now i need to add a select option ...
9
votes
3answers
384 views

What's the deal with the “get” prefix for value methods?

Hi I'm new to salesforce and force.com but I am a coder so I am comfortable learning new languages. What I'm not comfortable with is the "get" prefix that I can't find a reference to in the docs. (At ...
1
vote
1answer
4k views

How to make a Cascading (Dependent) Select List (Drop Down) in a Data Table in VisualForce?

Outside of a data table, a cascading select list (or drop down) is done generically like so: <apex:selectList value="{!parentValue}"> <apex:selectOptions value="{!ParentOptions}" /> ...
0
votes
3answers
592 views

selectOption not working inside pageBlockSection

I have a selectOption inside a pageblocksection as follows <apex:page standardController="Account" extensions="MyController"> <apex:form> <apex:pageBlock> ...
0
votes
1answer
1k views

get set to apex:selectOption

I am trying to set a value from my controller to my apex:selectOption value. I have created a get set method and the value in the get set have been changed but no change at all in apex:selectOption. ...
2
votes
3answers
6k views

Visualforce SelectList value not setting on Rerender

I'm pretty sure I'm missing something really simple here. I've done this a number of times, but even using my past examples I just can't seem to get this to work. Scenario: I have a Page using a ...
3
votes
1answer
511 views

How to get a dependent drop down list and other as free text option?

I got a request to have 2 pick lists, with dependancy (that's easy to implement) but the request is to have in the controlling field: the option of: 'Other' When selecting Other - the value needs to ...
2
votes
1answer
9k views

Visualforce SelectList with default - Controller Setup

The Scenario: I have a selectlist on my page (1 value) with a list of options. I want it to default with an option. My page: <apex:page controller="mycontroller"> <apex:selectlist ...