The visualforce-component tag has no wiki summary.
1
vote
0answers
7 views
Customers cannot install Package if Quotes is disabled (Which is default behavior )Installation complains “Missing Organization Feature: Quotes”
1) Adding functionality for e-signature "Sign Document" button in App setup -->Customize -->
Quotes --> Buttons and Links --> Custom Buttons and Links --> New Button for
"Sign Document" and created a ...
2
votes
1answer
32 views
Can't call a component inside a page
I would like to create a VF page and call a custom component inside it.
<apex:page controller="MyController">
<apex:form>
<c:mycomponent id="myId" attributeName="{attributevalue}"/>
...
-1
votes
0answers
24 views
Lightbox is not closing in some browser apex
I am using lightbox in my page. While closing light box it is closing fine in all browser.. But it is not properly closing in Opera..
My light box component code -
<apex:component >
...
0
votes
1answer
23 views
Dynamically assign rowClasses attribute on <apex:dataTable> component
I have a VisualForce page that render into a PDF file with the following component declaration:
<apex:dataTable value="{!someSObjectList}" var="SObj"
rowClasses="{!IF( MOD( pos, 2 ) == 0, ...
3
votes
2answers
42 views
How can we validate Apex Attribute values
I have a component in which there are one attribute of type string. When I include this component into a VF page then I can set a any values to this attribute. Is there any validations in Salesforce ...
1
vote
1answer
54 views
Scheduling a visualforce page as CSV
I am posting my approach, but still unable to send the VF page data as email attachment.
scheuler + batch :
global class Schedule_report implements Schedulable
{
global void ...
1
vote
1answer
48 views
Add Radio Button to Custom Object
Sorry, I am a newbie in salesforce.
I searched all over the internet, and found only how to create a custom VF page with Radio Buttons, but I cannot figure out how to add it to my custom object. I ...
3
votes
0answers
59 views
Insert Task controller not executing from VF page
Having a little issue. Trying to insert a task using a custom controller, and I am not getting any kind of "error" when this executes. Everything else on the page seems to work but this.
Any help ...
0
votes
0answers
98 views
Issue with command link on visual force pages
We currently have a left nav bar on all our visual force pages. We are using a command link on the left nav bar which on clicking should render a visual force page. Initially the command link was not ...
0
votes
1answer
145 views
Field Dependencies using Multi Select Picklist in Visualforce
I am currently working on a wizard to allow our users to create Opportunities easier. I have the following field dependencies set up on a related object:
'Type' picklist (Controlling Field) to 'Sub ...
4
votes
1answer
38 views
Dymamic components execution order issue
I have the following VF Component which uses a dynamicComponent tag inside of it.
<apex:component controller="myController">
<apex:attribute name="identity"
type="String"
...
5
votes
2answers
84 views
Is <apex:includescript> cumulative?
If I have two components (on a single page) that both reference the same JavaScript Static Resource using an <apex:includescript> tag, will the script be included twice?
0
votes
0answers
13 views
How to set different navbar items as active in template?
I've encapsulated most of the UI in a custom VF component (as a template) to maintain uniformity across all pages. However, the main challenge this poses is inability to specify different navbar items ...
3
votes
2answers
43 views
Orderable columns
I am using a apex:pageBlockTable with apex:columns on VF page. Is there any tag I can ad to have sortable columns. Note: I would like the column sorting to be in - memory rather than hitting the ...
3
votes
2answers
109 views
Setter method in VF component being called after the constructor has retured
VF page
<apex:page>
<c:MyCustomComponent someString="hello"/>
</apex:page>
MyCustomComponent (component)
<apex:component controller="MyCustomComponentController">
...
0
votes
1answer
29 views
How to set a value at runtime in a visual component on a component controller?
I have an interesting problem. I have a visual force component where i am looping through a list of data objects say MenuItem data object for now. Now i populate this list on a property in the visual ...
2
votes
1answer
120 views
Does the assignTo attribute of apex:attribute not work for ApexPages.Action or PageReference types?
How would you pass a PageReference attribute to a custom component and have it assign to a variable on the component's controller? It seems like the assignTo attribute of apex:attribute does not work ...
5
votes
2answers
175 views
Funny behavior with components, javascript, and rerender
Has anyone else seen something like this?
1) Create a component that includes a javascript block (OK, the code is overkill, but pretend it's actually doing something):
<apex:component ...
4
votes
3answers
98 views
Rerender an apex:component
I have a component within an outputPanel like this:
<apex:panelGrid columns="5" id="theDataGrid">
<c:GraphAndTable whichData="leadByRep" description="Description 1"/>
...
4
votes
3answers
147 views
Passing standard controller SObject to a component: problem with custom fields
I want to create a page like this with 2 components:
<apex:page standardController="Campaign">
<c:import campaign="{!campaign}" />
<c:message campaign="{!campaign}" ...
5
votes
1answer
74 views
Visualforce dynamic custom components: Type.forname no longer works
I'm trying to use the method @DanielBlackhall gave in this question:
Loading a custom component into a Visualforce page dynamically
But unfortunately, this doesn't work anymore:
Type t = ...
0
votes
1answer
212 views
Can we use a custom Visualforce component twice on the same Visualforce page?
I have created a custom Visualforce component, and I want to include in my Visualforce page two times. I will be passing certain attributes using apex:attribute so that component will function ...
0
votes
1answer
100 views
Visualforce :- I am facing some trouble while rendering page
I have a page of my website..
In that page I have a registration forms and videos and some text...
When I register in registration page and then come back to this page already registered, then ...
0
votes
1answer
39 views
Integrating an image into a email template using a component
Thanks to a good steer in this thread I have managed to get an image into an email template that I can package up and put in any org.
My design:
Stores the image as a document
Uses a component ...
4
votes
1answer
259 views
Use of (BlockUI) plugin in jquery constantly breaks Visualforce pages
ADDED DETAILS: The problem appears only on those VF pages where a custom homepage component uses another version of jQuery. Those component seems to load later and overwrite the jQuery object that was ...
7
votes
2answers
388 views
Spring '13 VF Component Issue
Has anyone come up against the following issue.
I have a VF Component that references a managed component as follows:
<apex:component access="global" >
<apex:attribute name="invoice" ...
0
votes
1answer
151 views
ActionFuntion Rerender in VF page leads to sudden “Insufficient Privileges” - even as Admin
To make a VF component appear to load faster I used an actionFunction to load it only after the rest of the pages has loaded (jquery's document.ready).
After doing this my component showed an ...
9
votes
2answers
242 views
How to efficiently profile Visualforce components and their controllers?
I have a quite complex Visualforce component (edit grid) that is running to slow (2-4 seconds to display)
When I say complex I mean:
The Component itself is calling other components
Many thousand ...
3
votes
1answer
252 views
Conditionally Render Component In Visualforce Page
I would like to conditionally render a component in a VisualForce page based on a custom field.
I was hoping to do something like this:
<apex:page standardController="myObject__c">
...
1
vote
1answer
116 views
Can anybody explain what is wrong in below code?
I want to get field label from a fieldSet. I have given below my component code where i want to display fieldSet Labels only.
<apex:component controller="LeftBarComponentController">
...
1
vote
1answer
199 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 ...
1
vote
2answers
156 views
Not able to iterate menu list through apex:repeat
<apex:component controller="MenuController">
<apex:tabPanel switchType="client">
<apex:repeat value="{!menus}" var="menu" id="theRepeat">
<apex:tab ...
3
votes
1answer
511 views
passing multiple values of same type in apex component
I want to pass an array of string to an apex component. I want to something like this
<c:myComponent Status="Pending, Accepeted,..." />
On the other hand I would like to have something like ...


