• Ppapas
  • NEWBIE
  • 25 Points
  • Member since 2011

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 7
    Replies

I am about to kill myself here guys. I cant tell/dont know what I am doing wrong. Please, I need a second pair of eyes.

 

I would really apprecaite your help

 

Visualforce Email tempalte does not apper exaclty the same when i Send Test to my email.

 

<messaging:emailTemplate recipientType="User"
    subject="This is a TEST">
    
   <messaging:htmlEmailBody >
       <html>
    
    <body>
     <STYLE type="text/css">
          body {
          background: #142952;
          
    }


#page {
    float: center;
    clear: both;
    width: 491px !important;
    width: 100%;
    padding: 2em 49px;
    color: #000;
    font-size: 1em;
    margin-left:auto;
    margin-right:auto;
    background:#CCC;
     </STYLE>
     
<div id="page">
      <p style="font-size:16px">This a TEST This is a TEST</p>
    </div>
       </body>
   </html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>

 Thanks in advance guys!!

Newbie and frustrated. i would really appreciate a hand here  all the you gurus out there. We the very begginers are still learning.

 

issues for writting a unit test method for the following class. for References, this class came from here

 

public class massAccountUpdateCon {

  private List<Account> accounts;

  public List<Account> getAccounts() {
      return accounts;
  }

  public string keywords {
    get;
    set;
  }

  public PageReference ViewData() {
     
     String query = 'Select id, name, type, ownership, industry, phone, BillingCity, billingCountry FROM account WHERE name LIKE \'' + keywords + '%\'';
   
     accounts = Database.query(query);
                   
     return null;
  }

  public PageReference UpdateRecords() {
    
    update accounts;
    return null;
  }
}

 Thank you so much in advance. 

  • September 16, 2011
  • Like
  • 0

I am about to kill myself here guys. I cant tell/dont know what I am doing wrong. Please, I need a second pair of eyes.

 

I would really apprecaite your help

 

Visualforce Email tempalte does not apper exaclty the same when i Send Test to my email.

 

<messaging:emailTemplate recipientType="User"
    subject="This is a TEST">
    
   <messaging:htmlEmailBody >
       <html>
    
    <body>
     <STYLE type="text/css">
          body {
          background: #142952;
          
    }


#page {
    float: center;
    clear: both;
    width: 491px !important;
    width: 100%;
    padding: 2em 49px;
    color: #000;
    font-size: 1em;
    margin-left:auto;
    margin-right:auto;
    background:#CCC;
     </STYLE>
     
<div id="page">
      <p style="font-size:16px">This a TEST This is a TEST</p>
    </div>
       </body>
   </html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>

 Thanks in advance guys!!

Hi,

 I am new in Salesforce...I want to design a pop up window. The window will appear after save button is hit which will show the values those an user has entered as input. After the pop up comes out then the user will click the ok in pop up and the page will be redirected to the object view page.

 

Now how can I implement it throgh java script or any other possible way.

Can u pls provide some sample coding for it.

 

Thanks in advance,

  • September 28, 2011
  • Like
  • 0

Hi Friends

 

I am new in visual force development .Dynamically how to create input text boxes based on the selected pick list value in visual force page. for ex: If the  picklist value is 4 , four text boxes will create in the visual force page. Please any one can guide me to achieve this problem..

 

Thanks

Sundar