Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions relating to Apex, the native programming language for the Force.com platform. Use it for general questions on syntax, errors, constructs, and rules of use. Most questions should include a code *excerpt* to help answerers understand specifically what has gone wrong or why you need help.
2
votes
1
answer
1k
views
Jquery text method not displaying special character
I have the following piece of code
<button type="button" onclick="SetApprove('{!myPA.P__c}'); jQuery('#approvePName').text('{!myPA.P__r.name}'); jQuery('#approvePType').text('{!myPA.P__r.P_Type__c}' …
0
votes
1
answer
359
views
FeedItem values to be displayed only when the createdbyid!=insertedbyid
I have the following piece of code in my visualforce page
<apex:pageBlockTable value="{!AModel.RelFeedItems}" var="Feeds">
<apex:column >
<apex:facet name="header"> …
0
votes
1
answer
95
views
Header value of a standard page
This is another generic question. Can a header value be given to a Standard Salesforce page? I would not be able to write a visualforce page for it. It has to be on a standard page
3
votes
2
answers
9k
views
Apex outputtext value attribute
This is a generic question
apex:outputText value="{**0**,date,MM'/'dd'/'yyyy}"
What I wanted to know is what is the 0 in value used for?
1
vote
1
answer
480
views
Store the value entered in apex:inlineeditsupport to an apex variable
I have a requirement where I need to assign the value entered in apex:inlineeditsupport to a variable on the page everytime that inlineedit support tag is double clicked and edited. Is it possible to …
1
vote
1
answer
723
views
Displaying an alert from the controller in a new page
I have a save method in an apex controller which returns a page reference(This method is called on clicking the save button from the visualforce page). …
0
votes
0
answers
55
views
Calling method from javascript popup
<div class="viewAllEmailModal" style="display: none; position: fixed; _position: absolute; top: 20%; _top:expression(eval(document.body.scrollTop)+20); left: 20%; bottom: 18%; width: 60%; min-width: 5 …
1
vote
1
answer
39
views
Return toaddress of a singlemailmeessage [closed]
I am trying to do the following
the singleemailmessage has been created here.
public List<String> getToAddresses(){
System.debug('toaddress'+singleEmailMessage.toaddresses);
return …
1
vote
1
answer
232
views
Disabled button is still clickable
I have the following piece of code. Here the button is enabled only when all 3 conditions satisfy
<apex:commandButton disabled="{!(AModel.InviteDisabled || AModel.VerifyDShareAttachmentType || AModel …
2
votes
3
answers
2k
views
Assign contact id to user in apex code
I am trying to write the following piece of code
Contact aContact=[select FirstName, LastName, UserId__r.id,id,email from contact where id=:ContactId limit 1];
if(aContac …
0
votes
1
answer
502
views
Update feeditem createddate once it has been inserted
I have a feeditem record which his displayed in the UI of a popup in a customized salesforce page. I want to edit this date. But from what I read, it is not possilble to edit the createddate for feedi …
1
vote
1
answer
3k
views
Apex Command Button onclick condition
This is a generic question
Can I add <apex:commandbutton onclick="if condition? result 1 else result 2">
I would really appreciate a simple example if this is possible.
Thanks in advance
1
vote
3
answers
11k
views
Display an alert on the visualforce page from controller
ApexPages.addMessage(new ApexPages.Message(ApexPages.severity.INFO, 'Error Message'));
return
}
What I want here is that instead of the apex page message an alert box would b displayed in the visualforce …
1
vote
0
answers
591
views
open a page in an iframe
i am trying to incorporate the following html with apex code
<a href="{!LEFT($Api.Partner_Server_URL_260, FIND( '/services', $Api.Partner_Server_URL_260))}{! …
1
vote
1
answer
28
views
Error: Unknown property 'PAModel .saveAllRelated'
I have the following piece of code in a component
<apex:attribute name="Model" description="" type="PAModel" required="true" />
<div>
<input type="button" style="display: block; float: left;" value= …