Questions tagged [visualforce-component]

Visualforce components encapsulate a common design pattern and can be reused several times in one or more Visualforce pages. Salesforce provides a library of standard, pre-built components, such as <apex:relatedList> and <apex:dataTable>, that can be used to develop Visualforce pages. In addition, you can build your own custom components to augment this library.

275 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
170 views

Issue with rerender inside <apex:dynamicComponent>

I'm having trouble re-rendering elements inside a dynamic component, for example if we have these VF pages/controllers/components" Page1.page <apex:page controller="Page1"> <apex:...
0
votes
1answer
119 views

Chatter:Feed in VisualForce with Topic Id

Trying to use the chatter:feed visualforce tag with a topic id as the entity id and the feed isn't rendering at all. From what I've read, it seems like this should be no problem, but I'm getting ...
0
votes
1answer
56 views

Passing custom fields to component result in “SObject returned without querying the requested field”

I have a page with a standard controller on a custom object: <apex:page standardController="myObject__c" docType="html-5.0" > <apex:form > <apex:outputText value="{!...
0
votes
1answer
19 views

Disable comments field based on flag field in Account object

I do want to disable a Account_Comment custom field based on Account_Flag field in Account object.How to achieve it thru VF page and Apex class
0
votes
1answer
109 views

Vf page Issue with account lookup

I am not able to get account name as lookup to account as it is standard lookup field it appear as read only. As <apex:inputfield value="{!quote.accountid}"> should get that . > <apex:...
0
votes
2answers
244 views

What is the difference between static resource and visualforce components?

I know the hardcoded scripts and style codes can be stored in static resource and vf components and can be used in vf page. But what can be the exact difference between these two since both are doing ...
0
votes
1answer
240 views

message compontent(s) on your Visualforce page

i need to insert two different message error in the save method. in my controller i done: two IF and everyone had : 1) ApexPages.Message myMsg = new ApexPages.Message(ApexPages.Severity.ERROR,'...
0
votes
2answers
116 views

Javascript compare set with string in apex page

I have below apex page snippet where javascript fails to execute and errors out whole page because of failing to compare. Can someone help me here? Here intersects come from controller which I checked ...
0
votes
1answer
59 views

Salesforce community with URI

I haven't been able to find any docs online so I don't know if this is actually achievable. Currently where I work we have a couple different landing pages, they are built in Wordpress and each of ...
0
votes
1answer
793 views

Getting Blank PDF (without content ) using VF Email Template ( By default attaching PDF)

Original question: Hi All I have creaed approval process on custom object where i need to submit a PDF document for approval process. Once I attached the PDF file and submitted for Approval, am ...
0
votes
1answer
453 views

CSS style issue for PDF in Visual force email template

I have one visual force email template which sends an attachment in PDF format. I have given style class for fields in the PDF, but the given CSS does not works for the PDF. Please help me out.
0
votes
0answers
222 views

What is an Ancestor Method?

I have a leadConvertController that is tied to several components and other controllers. One line keeps giving me a Method does not override an ancestor method. I don't even know where to start to fix ...
0
votes
0answers
561 views

jquery accordion with salesforce not working properly

<apex:page > <script type='text/javascript' src='http://code.jquery.com/jquery-1.7.1.js'></script> <style type='text/css'> .accordion{margin:50px}.accordion dd ....
0
votes
0answers
404 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
1k views

VF : Remove gap between fields

The above picture contains my VF component. I would like to remove the gap between "Conversion Page Destination URL" & the two input fields (picklist , text area) so that they are in the same line ...
0
votes
0answers
2k views

Subscript is invalid because list is empty

i am showing up with following in the visual force error I am checking the list is null or not but still i am showing up the with error "Subscript is invalid because list is empty" below is my code ...
0
votes
1answer
75 views

How to pass data from parent VF Page into child VF Component

I have come to the problem, when I am using VF Page in which are VF Components loaded. I have in my main page controller method, where i do SOQL for Account and save it into theAccount variable. My ...
0
votes
1answer
168 views

using Visual force Page How to Create a Custom Calendar For individual users

in our salesforce once click HOME Tab, showing Calendar button in Left side panel, like that i need to create a Custom Calendar link in left side Panel... how to achive the Solution can ypu please ...
0
votes
1answer
143 views

Generating columns for pageblocktable through component

I need to design a table whose values in specific columns depends on values in a Case. My initial visualforce page controller filters the cases so that I end up with a list of just a single type of ...
-1
votes
1answer
124 views

Hi guys i m new in salesforce and making tree view on account as parent, contacts as child and task/event as gchild

I have to retrieve in created date sorted manner i m able to retrieve up to task and events but they both came in separate list .I am unable to put both in same list and sort them by recent created ...
-1
votes
5answers
214 views

Hello I need some Help in apex class I Want to upload attachment When i click on Attach Button it give me some error please help me

Visualforce Error Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 157.188KB this is my apex class public class ClaimAttachment_1 { public Id recId{...
-1
votes
1answer
61 views

How do I hide a component on some layouts but still perform work?

I have a component that we only show on some layouts for an object. It has a polling function that monitors changes to the object (an object from a managed package). One function of the polling is to ...
-2
votes
1answer
46 views

Send email (Visualforce Email Template) included Visualforce component which render after update action

Want to send email after update with multiple records I have used Visulaforce Email Template with Visulaforce component having controller. Visulaforce component that getting list of record in table ...
-3
votes
1answer
40 views

Query Problem…!

I want to execute a query by comparing two fields of the different object in WHERE clause, but I am not able to use a field on the left-hand side of a condition in a WHERE clause: Public with sharing ...
-3
votes
1answer
1k views

Need Columns to use picklist values as headers and show flitered (picklist value) in each column

Haha, deleted the question. I have a picklist field called Account_Management_Type__c and it has the values of "Key (WIG)", etc. I am trying to set up the vf page so that each picklist value is a ...

1 2 3 4 5
6