We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [dynamic-visualforce]

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 standard markup, dynamic Visualforce components are designed in Apex.

Filter by
Sorted by
Tagged with
0
votes
1answer
2k views

Display repeated data in table from two different unrelated objects

I'm trying to create a table that will show the data from two different unrelated objects. There are two multiselect fields in page. Lets say one is A and other is B. So when user select 3 options - ...
4
votes
4answers
3k views

SObject row was retrieved via SOQL without querying the requested field

I've been trying to understand the example at http://www.salesforce.com/us/developer/docs/pages/Content/pages_dynamic_vf_sample_standard.htm#pages... This is from VF Developer's Guide. I have no ...
3
votes
3answers
4k views

conditon on rendered section always return false

I am trying to view a section based on a condition ... but it seems that the Rendered statement always return false, I'm not sure where I went wrong! but could someone help me? here is my code ...
8
votes
3answers
2k views

What are good design patterns for dynamic visualforce components for a data-driven input form?

I am designing a custom input form that will be data-driven and will display things like input fields, input text components, custom inputs that I create, etc. The elements on the form will be largely ...
7
votes
2answers
6k views

Add more than 1000 picklist values in visualforce page (controller 1000 list items limit)

I have following code - Page - <apex:selectList value="{!selectContactId}" multiselect="false" size="1" id="RelatedContact"> <apex:selectOptions value="{!relatedContacts}"/> </...
7
votes
2answers
2k views

Not getting how FieldSet works in Salesforce

Please have a look at these 2 code snippets: (1) <apex:page id="pageId" standardcontroller="My_Object__c"> <apex:form id="formId"> <apex:pageblock id="pbId"> <...
3
votes
2answers
2k views

How can i dynamically include another VF page in a tab.

I have created dynamic tabs using following code - public Component.Apex.TabPanel getMyTabs() { Component.Apex.TabPanel myTabPanel = new Component.Apex.TabPanel(); for (integer i=0 ;i<...
7
votes
1answer
4k views

Visualforce Page with required fields and rerendering

We have a Visualforce page that uses standard pageBlockSections and inputFields. This page has a lot of dynamic rerendering of pageBlockSections based on fields. Up until now, all of the fields have ...
12
votes
1answer
19k views

reRender outputPanel from javascript function in visualforce

I want to reRender "TopPanel" from javascript, is there any way to do this in visualforce ? <apex:outputPanel id="TopPanel"> <apex:outputPanel> <script type="text/javascript"> ...
2
votes
1answer
374 views

Do methods returning APEX classes live in a different namespace?

I have a controller class, below. It is passed in "thePpt" as an SOBJECT, and the class has access to it in the getGuam method, but not the initPhoneList or GetDaytimePhoneList() methods. WHY? They ...
7
votes
3answers
7k views

Loading a custom component into a Visualforce page dynamically

I have a visualforce page that I would like to inject custom components (header and footer) if they exist into the page. According to the docs Creating and Displaying Dynamic Components I can ...
6
votes
1answer
15k views

Formatting number values on Visualforce page

I am wondering if it is possible to dynamically format input numbers in Visualforce components when rendering as HTML. I am able to successfully accomplish this when rendering as output tags doing the ...
1
vote
1answer
2k views

Can you use dynamic visualforce in VF email templates?

I tried to use an tag in a visualforce email template and got the following: Error: <messaging:emailTemplate> cannot contain <apex:dynamicComponent> Is there any way to get around ...