visualforce

Hierarchy Constraint Violation -- salesforce.com

Salesforce, worst development platform ever, has thrown a new error message at me, and so far I haven't found anything useful in the docs about this. I am trying to save an object in a controller extension, and it does in fact save the record, but instead of returning to the page that I indicate, it shows me the error message "Hierarchy ...

What is wrong with my jquery javascript here?

So I'm attempting to make a page in Visualforce(salesforce's page creator), and am having issues with the javascript aspect of it. Basically what should happen is that the section will generate a series of links. The javascript needs to click those links. I'm using jquery <apex:page standardcontroller="Account" extensions="maininvoice"...

Why is this jquery in visualforce not working?

This code is in visualforce (salesforce's page editor language). Basically the apex:repeat tags function as a sort of loop, generating a set of urls from outputlink. All these urls have a class of "name". What the jquery is to do is find all the urls with the class name, and click them so they open in new windows. Its not working. <ape...

How can multiple developers efficiently work on one force.com application?

The company I work for is building a managed force.com application as an integration with the service we provide. We are having issues working concurrently on the same set of files due to the shoddy tooling that is provided with the force.com Eclipse plugin. If 2 developers are working on the same file, one is given a message that he ca...

Salesforce.com Visualforce Google Maps

Hi, I need some help and I think this post would help me but I am very new to Google maps and Visualforce. answered by eyescream see post http://stackoverflow.com/questions/3122038/how-do-i-integrate-salesforce-with-google-maps. My problem is very similar but I don't need to search for the records to plot they are available as a relate...

Salesforce.com - Visualforce and ActiveX

Hi, I have a Visualforce page through which I am trying to access a SDK. It is done using ActiveX control. The VB + JS script that I have runs fine when it is a normal HTML page residing on my desktop. However the same code when incorporated in Visualforce does not work. Does running ActiveX control require uploading any kind of files t...

Salesforce (VisualForce): How to test for no records returned in 'apex:repeat' statement?

I am trying to figure out how to test fields (included within a apex:repeat) to see if they are blank, or null, and if so display some alternate text (Ex: No records to display) in the table instead of a blank table. Existing code snippet below: <apex:repeat var="auditList" value="{!relatedTo.Site_Audit__r}"> <tr> <td> <apex...

Visualforce load apex components via ajax on page load

Hi, Can someone tell me how to use ajax to load an apex pageBlockTable via ajax on page load? I've seen examples showing how to use an apex actionFunction, but the samples are usually simple (e.g. - returning a string from the controller and putting it on the page. My controller returns a list of sObjects and i'm just not quite sure ho...

how to pass a list of objects over VF page

i am new to salesforce and apex...In my 1st VF page shows some book names(from DB) and when i want to add more book i put a buuton in 1st page and shows all the books from db in 2nd page...If i selected some of the books from page2, i have to add it in the first page with the preivious results(books)... how can i do this i APEX?Visualfor...