The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
27 views

ListException: List index out of bounds: 0 for Custom Employee User account

When i create new User Account and login with that credentials, it gives me this problem if admin doesnt have set thier values yet !!!** AllotmentList = [select id, Days_Remaining__c from ...
2
votes
1answer
20 views

Developing Sites page to create new custom object records; save() failing on Insufficient Privileges

I have a custom object that I want to create records for from a VF page on Sites. I am presenting a handful of input fields and a "save" button, and want to present a message when the save is ...
3
votes
2answers
44 views

Why is my visualforce wizard displaying nothing after changing page?

Building a wizard to mirror the functionality of the opportunity products wizard built in (minus an otherwise unmovable field). The first page, where the user can select from a list of products works ...
3
votes
1answer
69 views

How to create a Show/Hide Button on Contact Related List in Salesforce

-Background- Our contact related lists on the account page layout displays records with one of the following two statuses: "Active" and "Terminated". Users are being overwhelmed with the number of ...
0
votes
1answer
126 views

Testing Wrapper Class: Constructor not defined: [ClassName].<Constructor>()

I am trying to test this (uploaded to pastebin due length) wrapper class. I was trying to follow two previous SFSE's, however I am getting errors. See code below (errors in comments): @isTest public ...
1
vote
1answer
56 views

how to write custom controller for this scenario?

<apex:page standardController="account" extension="letter"> <apex:panelgroup rendered="{!account.contact.title=='CEO'}"> <b>- CEO: CEO</b> ...
5
votes
1answer
325 views

Unable to access controller class properties from extension class

I am creating a new opportunity wizard to ensure that specific data is always entered when our sales reps create a new opportunity. As part of this effort, I've also over-written the lookup window for ...
3
votes
1answer
55 views

How can I expose part of a page in response to a button click

I want a simple way in Visualforce to expose part of the page in response to a button click. This should be easy, but it is giving me more trouble than anything I've done with VF to date. After ...
0
votes
1answer
177 views

Query regarding trigger?

I am having following requirement: 1) To get list of all the users for whome profile has been changed. 2) Then query on FRUP (It is a custom object) to retrieve all the records which are associated ...
5
votes
1answer
259 views

string list in custom controller not populating

I have an apex code for a visualforce page but I'm having a bit of an issue returning values from the account object which is one of the master objects in my junction object. The code below shows the ...
2
votes
2answers
787 views

Visualforce Page Form Submission not going to Custom Controller Method, Just reloading page

I have a custom controller that has been working for years (literally), and for tens of pages. Basically, the page displays a form with a number of lead fields, and when the user clicks a command ...
4
votes
1answer
2k views

Solve: System.ListException: List index out of bounds: 0

i'm getting the following exception from my code: caused by: System.ListException: List index out of bounds: 0 Class.tempsection4.getconvalues: line 38, column 1 My controller for the VF page is: ...
1
vote
1answer
2k views

VisualForce page with custom controller and lookup causing JavaScript UI issues

I noticed that I'm experiencing UI issues with every Salesforce instance that I have access to when I create a custom VisualForce page using a custom controller and that I display a lookup field on ...
2
votes
1answer
223 views

Visualforce w/ Custom Controller Not Behaving as Expected

I am trying to create a VisualForce page, with a custom controller, that displays the feed items from the chatter feed of the record provided by the user. The goal is to have the page start with ...
1
vote
1answer
644 views

Using a VF inputfield as a variable in a custom controller

I am in the process of learning APEX/VisualForce, and I'm working on a VF page that lists out all of the chatter posts from a specific record. Right now, the record that it displays the feed for is ...