Dynamic Visualforce components offer a way to create Visualforce pages that vary the content or arrangement of the component tree according to a variety of states, such as a user’s permissions or actions, user or organization preferences, the data being displayed, and so on. Rather than using ...

learn more… | top users | synonyms

0
votes
1answer
23 views

how to get the list after the delete the record?

I have an problem with my vf page,whenever I delete the record from my list ,record will deleted but I unable to return my list. public PageReference deleteRecord() { ID rid = ...
0
votes
1answer
22 views

Access label of Field Set in Visualforce

I am using Field Set in Visualforce pages to render user-defined fields. <apex:pageBlockSection title="HARDCODED TITLE"> <apex:repeat ...
0
votes
2answers
71 views

Why Custom Field's (Picklist - Data Type) values are not appearing on VF Page(PageBlockTable-Column)?

I am new to SFDC and started development in Apex and Visualforce Page with tutorials and online samples. So, here what I have tried and got stuck at the point. What I am trying to achieve: 1. In VF ...
0
votes
1answer
43 views

rerender attribute of command button not working to display charts

I have 3 command buttons on my vf page. one of them displays text and the rest two are used to display . Now I don't know if it is possible but the chart that I keep above in the VF page gets rendered ...
0
votes
0answers
44 views

Create a Visualforce page that acts like the lead convert page

I have a visualforce page that is set up to override the standard lead convert page. I have two issues. 1. When I tried to add the opportunity record type field it would not let me. I need this so ...
-3
votes
0answers
35 views

Apex, VisualForce and Javascript

Can anybody help me with my requirement? It is as mentioned below: i have a button on a particular screen which i have made blue in color. Now when i click on the button based on the database check ...
0
votes
1answer
24 views

How to download to particular employee details using custom object to excel sheet using visualforce page

I am trying like this but its not getting exact output. Visualforce page: <apex:page controller="MyControlleremployee" tabStyle="employee__c"> <apex:form > <apex:pageBlock ...
1
vote
2answers
88 views

Error handling for View State of vf page in Apex Salesforce

I have one vf page in which I have a requirement to display huge data but as we know Vf page has View state Limit as 135 KB , hence after reaching this Limit salesforce throws Exception as "Maximum ...
2
votes
1answer
32 views

Custom Create new view

i need to replicate the custom create new view functionality,after selecting the condition i have to store the data in to some object .is this possible to achieve the functionality??Could you please ...
3
votes
1answer
99 views

Unable to access component attributes in specifc getter methods

I am setting a string as an attribute someString in a custom component tabComponent from the mainPage. I know that we cannot access the attribute in the constructor of the VF component controller, but ...
1
vote
1answer
33 views

Filter Column on Analytic:reportchart not a valid filterable column

I have created a vf page with a standard controller equal to the Account Object. In the report that I am trying to bring in on the vf page it has the Invoice_History__c object and the Account object ...
0
votes
2answers
32 views

Dynamic Visualforce Components with commandButtons tied to records

I'm creating a VisualForce page that is going to load records from a web service using JSON. I have a requirement to add a button next to each record I pull. I don't see a direct way to do this with ...
1
vote
1answer
46 views

Accessing Public Variables within Webservice

I'm having some trouble with what I thought would turn out to be a simple form built upon a custom visualforce page. The back story here is that I need to display a dynamic number of records to a ...
0
votes
1answer
62 views

Visual force table display

I have created table using tag , In that table Column Header values are coming dynamically from Apex class as List. while displaying it on vf page I am using tag to populate the values of Column ...
0
votes
0answers
34 views

Display Converted Currency on Visualforce page inDeveloper Edition

i have a price(currency data type) and currency(pick list data type i.e(INR,USD,GBP)) custom fields in account object.when ever i enter a value in price(INR 70) field it should display the ...
0
votes
0answers
62 views

Dynamic table on VF page

I have a requirement in which I have to display records of object as Table. In which column header values will be dynamically taken from Records fields values which need to populate in respective ...
0
votes
0answers
11 views

when I view the chart the right Axis should shows labels from 20 at the down , -20 at the top

I am currently testing out Visualforce Charting to see if it is worth using but I have hit an issue when using negative values in the chart. Basically, I have a Y number axis showing values between ...
0
votes
1answer
47 views

Why isn't this dynamic VisualForce page style toggling the Static Resources properly?

I'm currently looking at the Dynamic References to Static Resources Using Mostly, it works as expected, with one anomaly: When the page initially displays, as expected, it correctly uses both the ...
0
votes
1answer
85 views

How can I write a unit test which includes ApexPages.StandardController methods?

Currently looking at the Using Dynamic References with Custom Objects and Packages tutorial. For reasons I won't speculate on, step 7 included the controller extension code (again) instead of the ...
1
vote
0answers
278 views

Enable/disable fields on create page based on picklist value using reRender

I'm creating a Hospital Management application that has a custom object GH_Patient__c. There is a picklist field GH_Patient_Type__c which has 2 values - In-Patient and Out-Patient. My Requirement is ...
1
vote
1answer
59 views

Dynamic values for picklists depending on profiles

I am building a piece of functionality where I need to filter a picklist depending on the user profile that access the functionality. The behavior I want to build is the following: User with specific ...
0
votes
1answer
34 views

Element viewStateWrapper with id = ajax-view-state must exist : Error

I have an visualforce page in which i am rerendering the apex form element on dropdown change. This page works fine until their is an validation error ( i am validating with jquery validate). Once ...
0
votes
1answer
84 views

Invalid parameter for function URLFOR

i have a requirement wherein I have a button on my VF page XYZ_VF 1.The button needs to open a create record page of an custom object 2.Also when the standard create page is displayed,its lookup ...
0
votes
0answers
125 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, ...
1
vote
1answer
30 views

How to “unrender” an OutputPanel with required fields on

I've overridden the new Opportunity page and I have a dynamically generated picklist of Contact Names and a static value "New Contact". When "New Contact" is selected a new panel is displayed with ...
0
votes
0answers
46 views

Error while trying to create a dynamic visual force page

I am trying to create a dynamic visual force page and am referring https://developer.salesforce.com/page/Dynamic_Visualforce_Components I am getting the below error when trying to save the class: ...
0
votes
3answers
104 views

I want to create a custom formula field using apex

I want to create a field in which user is going to put the formula(through picklist ). For Eg: a+b*c\d or if(condition)) then a= b+c Where it is working fine with normal ...
0
votes
1answer
128 views

How to display 1 out of 2 possible fields values in same column : visual force

I have a column that needs to display date if there is no condition else display a combination of text+date if a criteria is met. I have to append a text Week Of to a date field if a custom field ...
0
votes
0answers
101 views

How to pass parameters to dynamic components that reference custom components

The code below from salesforce documentation shows how to pass parameters (attributes) to custom components <apex:page> <c:myComponent myValue="My component's value" borderColor="red" ...
0
votes
1answer
40 views

Currency field to words

I got this apex code for converting numbers to word but want to display this in VF using standard controller and extension. public class NumberToWord1 { public ...
3
votes
0answers
118 views

Pass different values as componentvalue to <apex:dynamiccomponent> in <apex:repeat>

<apex:repeat value="{!blocksThatAreComponents}" var="key"> <div id="{!key}"> <apex:dynamicComponent componentValue="{!PageComponentsMap[key]}" /> ...
1
vote
2answers
85 views

Customization of managed package visualforce pages?

Does anyone know of any way to provide a managed visualforce page inside a managed package that customers can override with their own visualforce page layout and/or controller logic? Any concrete ...
4
votes
1answer
166 views

Dynamically load a custom component in Visualforce page

I have a custom component called MyComponent that I could add to my visualforce page by using <c:MyComponent />. This is done in a static manner i.e. I need to have it in my visualforce page ...
0
votes
1answer
117 views

based on picklist value render a field

I have bee trying to render a field based on lead status value like 'Cancel/Rejected'. if i select Cancel value it should display field A, if i select value Reject it should display field B. please ...
0
votes
1answer
115 views

How to circumvent validation without using immediate=true?

I have a VF page that is used as override page for New and Edit of CustomObject__c. On this page the user can also create and edit child records. All of them are rendered editable in the pageblock ...
0
votes
2answers
65 views

Why can't managed Visualforce access unmanaged Field Set?

I'm hoping to use Field Sets to allow users of a managed package to customize the display of a Visualforce Page. The idea is that they install the package, create their own Field Set on the one of the ...
0
votes
1answer
122 views

Vertically Scrolling Visualforce Dashboard Component

I'm trying to get a Visualforce dashboard component to scroll vertically. The scrollbar track shows up, but no scrollbar. Any thoughts? <apex:page Controller="RoleUtils" showChat="false" ...
1
vote
1answer
113 views

Convert Amount (currency ) field into words [duplicate]

Example: 1345 One thousand three hundred and forty five.
1
vote
1answer
127 views

Converting Date Into words and displaying using visual force page

I am trying to convert date in words as shown below: 10/07/2014 TENTH Day of JULY, TWO THOUSAND FOURTEEN
1
vote
1answer
66 views

Resource for Learning Dynamic VF

I am looking for a good place to learn dynamic VF. I did google it but did not find anything great. Does anyone know of a good resource where i can learn? Thanks.
2
votes
1answer
171 views

Cloud Scheduler (Meeting Request)

Can we pre populate To field in Meeting Request.How to achieve this. or Is there a way create a meeting request through apex/vf page Note: This is the Pop-Up which comes when we click on New ...
0
votes
1answer
224 views

how to use two standard controllers in a single visual force page

I need to save two objects that have parent child relationship , using a single visual force page. And also I need to pass values to the controller from the form both parent and child object's ...
3
votes
1answer
247 views

Dynamic Component Select Radio Selected Value

I have built a dyanmic component as selectOption (select radio with select option values). I need to know how can I access the selected value? (which radio button is selected?) Below is my code VF ...
2
votes
1answer
60 views

Display VF custom components with user-defined order

We want to allow users to add/remove modules (custom components) from a VF page and set their order of display. We will use a dialog similar to the standard SF one (see image) on the front-end and ...
0
votes
2answers
93 views

Catch state of custom check box field in Apex

I have a custom object MyObject__c I've added a custom field which is of type check box. one__c If a system admin ticks this checkbox on the object in the Salesforce UI, I want an apex element ...
5
votes
1answer
116 views

Dynamic Visualforce Components - Access Pass-Through Attributes

Is it possible to use html-pass-throug attributes at Dynamic Visualforce Components? Component.Apex.InputField result = new Component.Apex.InputField(); result.style = 'font-size: 9px'; result.title ...
0
votes
1answer
84 views

Dynamic Visualforce Components: is there a smater way to add childComponents?

Playing around with Dynamic Visualforce Components I found it inconvenient to create child elements in such a bulky notation public Component.Apex.OutputPanel getNavPanel1(){ ...
5
votes
2answers
128 views

System.VisualforceException: Invalid value for property label: null

Sigh. So I am required to cover my Apex code with tests. I'm testing a piece of code that dynamically builds a tree of controls with a PageBlock as the root object. This code works fine when NOT ...
0
votes
1answer
28 views

Probability and forecasting fields are not filling by default in Custom Opportunity VF page..?

In Custom VF Page for Opportunity, when selecting Stage field.. Probability and forecasting fields are not filling by default. In Standard Opportunity page, if we select Stage field.. by default ...
2
votes
2answers
381 views

Display the fields properly in output panel while using actionRegion

I am using actionRegion for to show/hide the fields based upon picklist in Opportunity. When i am selecting the Stage picklist value is Closed Lost, then 4 text fields will be displays. It works fine. ...