img alt attribute seems not to work in google chorme
How to display alt text for an image in chrome
apex:inputField can only be used with sObjects I am trying to create a custom visualforce page that saves new opportunity contact roles to an opportunity. I am having trouble creating the first step of listing out all contacts that relate to that account. The error I am getting is...     Save error: Could not resolve the entity from  value binding '{!u.contact}'.   can only be used with SObjects, or objects that are Visualforce field component resolvable.   I do not understand why I am receiving this error. u.contact should resolve to a Contact object, which is an sObject. Am I misunderstanding something?  Here is my code...  Controller  public class ChooseContactController  {     public String accountId = ApexPages.currentPage().getParameters().get('accountId');     public Account account { get; set; }     public List&lt;UnfundedOpportunityContactRole&gt; unfundedOpportunityContactRoles { get; set; }      public ChooseContactController()      {          unfundedOpportunityContactRoles = new List&lt;UnfundedOpportunityContactRole&gt;();         List&lt;Contact&gt; contacts = [SELECT Id, Name FROM Contact WHERE AccountId =: accountId];         account = [SELECT Id, Name FROM Account WHERE Id =: accountId];          for(Contact c: contacts)          {             unfundedOpportunityContactRoles.add(new UnfundedOpportunityContactRole(c, 'The Man'));         }     }      public void Save() {}     public void Create() {}      public class UnfundedOpportunityContactRole     {         public Contact contact { get; set; }         public String role { get; set; }          public UnfundedOpportunityContactRole() { }          public UnfundedOpportunityContactRole(Contact contactParam, String roleParam)         {             this.contact = contactParam;             this.role = roleParam;         }     } }   VF page  &lt;apex:page controller="ChooseContactController"&gt;   &lt;apex:form &gt;     &lt;apex:pageBlock title="Choose a contact" mode="edit"&gt;       &lt;apex:pageBlockButtons &gt;         &lt;apex:commandButton action="{!create}" value="New"/&gt;         &lt;apex:commandButton action="{!save}" value="Save"/&gt;       &lt;/apex:pageBlockButtons&gt;         &lt;apex:pageBlockSection title="{!account.Name}"&gt;           &lt;apex:dataTable value="{!unfundedOpportunityContactRoles}" var="u"&gt;             &lt;apex:column headerValue="Contact"&gt;               &lt;apex:inputField value="{!u.contact}" /&gt;             &lt;/apex:column&gt;             &lt;apex:column headerValue="Role"&gt;               &lt;apex:inputField value="{!u.role}" /&gt;             &lt;/apex:column&gt;           &lt;/apex:dataTable&gt;         &lt;/apex:pageBlockSection&gt;     &lt;/apex:pageBlock&gt;   &lt;/apex:form&gt; &lt;/apex:page&gt; I want to store courseworks marks of n courseworks into n variables, such as cw1 and cw2 etc. Using variable variables how can I come with cw1, cw2 etc.   How can I dynamically create variables? Using "nor" in a list without "neither" How do I install openjdk 7 on Ubuntu 16.04 or higher? I would like to upgrade my main system to 16.04, but I work on projects that require OpenJDK 7.   Apparently it is not available from a trivial apt-get install openjdk-7-jdk. Only versions 8 and 9 are listed in the repository.  Can anyone point me to instructions on how to install it? Review audit ignores closereason filter Write access without read access Is it possible for a user to have a write access to a file and not be able to read it? How is it possible?   I tried the following commands:  debianbox@debian:~/posix/io$ touch filetest debianbox@debian:~/posix/io$ ls -l filetest -rw-r--r-- 1 debianbox debianbox 0 14 oct.  03:10 filetest  debianbox@debian:~/posix/io$ echo "Hello World" &gt; filetest debianbox@debian:~/posix/io$ cat filetest Hello World  debianbox@debian:~/posix/io$ chmod u-r filetest debianbox@debian:~/posix/io$ cat filetest cat: filetest: Permission forbidden  debianbox@debian:~/posix/io$   As you can see here, I have write but not read access on this file. How can this be possible? Is this considered as a bug? If not, in what situation would this be useful? Prove $e^{x+y}=e^{x}e^{y}$ by using Exponential Series In order to show $e^{x+y}=e^{x}e^{y}$ by using Exponential Series, I got the following:   $$e^{x}e^{y}=\Big(\sum_{n=0}^{\infty}{x^n \over n!}\Big)\cdot \Big(\sum_{n=0}^{\infty}{y^n \over n!}\Big)=\sum_{n=0}^{\infty}\sum_{k=0}^n{x^ky^n \over {k!n!}}$$  But, where should I go next to get $e^{x+y}=\sum_{n=0}^{\infty}{(x+y)^n \over n!}$.  Thanks in advance. How to compress entire drive C in Windows including locked files? Is storing passwords hashed with the email more secure than without? VB6 IDE cannot load MSCOMCTL.OCX after update KB 2687323 I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc.  However, one of the things that it does is unknown to me, and is difficult to search for. If I type an empty set of braces, it replaces them with  {}&lt;++&gt;   If I type two empty sets, for example when I'm setting up a fraction \frac{}{} what I actually get is  \frac\left\{ } \right\}&lt;++&gt;}&lt;++&gt;   Is this a problem? What does &lt;++&gt; do?  Edit: This is using Why can't I change directories using "cd" in a script? How to extract the decimal part from a floating point number in C? How can we extract the decimal part of a floating point number and store the decimal part and the integer part into two separate integer variables? Identifying a thin, black, worm-like creature with a hammer-shaped head I came across the creature shown in the photo below yesterday evening while walking the dogs. At first, I thought it was an earthworm, but a flashlight revealed it to be something I had never seen before.    It is approximately 12 inches (300 mm) in length and about 1/3 of an inch (10 mm) in diameter at its maximum. It is pitch black and very shiny—like piano black. It moves very slowly, using a snake-like motion. It had a very strange head, like a hammerhead shark.  I live in Durban, South Africa, if that helps to narrow down the possibilities.  Can anyone help in identifying this creature? I am creating backup and after completion I got this..  Could not back up the following files. Please make sure you are able to open them.      /home/vinay/.cache/dconf     /home/vinay/.gvfs   I through terminal to open these file using  cd /home/vinay/.cache/dconf   It shows  bash: cd: /home/vinay/.cache/dconf: Permission denied   How can I get access to these files?  Is it fine to get permissions or leave as it is and not creating any backup for these files? To avoid printing single letters at varying sizes and measuring how far away I can see it from a distance is there a formula for determining what size font for a particular read distance? Is it better to take the midpoint between the ascender line and x-height or to go purely off of the x-height (since going purely off the ascender line could leave lowercase letters difficult to read)? How does vertical height play into this? Would I need to then figure the hypotenuse distance instead of a straight distance?  For example if I'm shooting for a 20' read distance but the sign is to be placed about 30' up should I use a distance of  35' instead of 20'?  I'm shooting for a 20' read distance for the headline and then possibly a 10' read distance for additional content depending on how it all fits on the active area. I am so confused by, for example, "People love their life or lives." MicroSD card is set to Read-only state. How can I write data on it? Confidence bands in case of fitting ARIMA in R? Why is January month 0 in Java Calendar?