Javascript is a weakly typed interpreted programming language primarily implemented by web browsers to allow for client-side scripting. It can be used in Visualforce pages to give a more dynamic experience to end users. Additionally, the Visualforce engine generates and uses JavaScript to support ...
1
vote
1answer
10 views
Passing apex:inputField user entry as parameter into Command Link
I am getting the nickname from an inputField and updating a list of strings and displaying the list of strings on a table. The outputField displays the newly entered value, but the controller variable ...
0
votes
2answers
37 views
How do we get a id of field from a apex:pageBlockTable?
I have a pageblocktable where i do have some input fields which also has a apex:inputtext and has a lookup icon on click of which i am calling up the native lookup.
The issue i am having is with the ...
1
vote
1answer
25 views
Can I reference a Static Resource in an HTML Area?
I'd like to reference a Javascript file (Static Resource) in an HTML area within Salesforce - is this possible? Or can I only reference Static Resources from a VisualForce page?
If it is possible, ...
3
votes
1answer
27 views
apex:pageBlockSectionItem collaspe or expand throws “twistSection is not defined” JavaScript exception
I have an apex:pageBlockSection defined within an apex:component. The component is used within an apex:pageBlock of a Visualforce page. It isn't rendered when the page initially loads.
When a user ...
2
votes
1answer
26 views
Sharing / without sharing and @RemoteAction
I have a global class (without sharing). One of its method is a @RemoteAction, which instantiate another class (public and without sharing) and uses one method of the instantiated class. This method ...
1
vote
1answer
29 views
send email button from custom object
I am a newbie, and that's the probably reason why I am lost with this problem.
I have two email templates created (one for students, and another for professorial). There is a custom object, and I need ...
1
vote
1answer
27 views
Dynamic table in salesforce using HTML
I have a list of record in my controller. I want to display the record into my VF page but don't want to use salesorce components want to display the list into a HTML table 1 by 1. How to achieve ...
0
votes
1answer
32 views
Using Javascript to reference a VF field and update database
I'm trying to reference a VF form field in my javascript and update in the database. I've got the update part working, but I'm still having a lot of problem trying to referencing "temp_approver" in my ...
1
vote
0answers
18 views
How to embed a standard delete page into a custom console?
I have a custom console, with the essential registers and the user can delete an object through this page. When he click on Delete I want show him the standard delete page without the sidebar and ...
2
votes
2answers
67 views
parameters wont passs via Javascript
I am having trouble passing values via Javascript.
APEX PAGE:
//STUFF HERE
<b>First Goal:</b><br /><br />
Goal:<apex:inputField id="Goal" ...
2
votes
1answer
52 views
DataTables in VisualForce Page, Setting swfPath as Static Resource
I have been working with the DataTables library in VisualForce and have everything working except for the export features. I followed the sample initialization on the DataTables website, but am ...
1
vote
1answer
32 views
Custom Button for Convert Lead with Javascript
I would like to prevent users from converting a lead if some fields are missing (State, country, company type) - I don't want to use standard validation, as I want the users to remain on the same ...
2
votes
3answers
66 views
Standard Button CODE Available?
Is there a repository of the actual code behind Standard Buttons? Specifically, I'm looking for the code for "New" (and in my case, it's for use within a Related List on Opportunity).
I want to ...
2
votes
1answer
42 views
Catching all errors when using ajax toolkit
I am writing some javascript to be executed by a custom button on a Lead page. I would like to capture all of the validation errors that may be thrown when I update the page.
It seems that if I save ...
2
votes
1answer
109 views
Can't update record with Javascript remoting
I'm using JS function to get a contact record and another function to update the record after hitting save. getRemoteContact() works beautifully, but saveRemoteContact() only works at random. I've ...