Wednesday 26 September 2012

Inline Editing in PageBlockTable


I was eager to know about inline editing in page-block table as we usually see on simple Native pages.so I studied about this decent feature of Salesforce and tried at my end as below:

I practiced with simple Sobject Account.


VF Page code:

  
      
                          
                
                
          
          
              
                  
                      
                          
                      
                  
                  
                      
                          
                      
                  
              
          
      
  

Controller code:
public class InlineEditing
{
   public List getListofAccounts()
   {
       List accTempList = new List([select id,Name,Industry from      Account order by LastModifiedDate ASC limit 5  ]);
       return accTempList;
   }
   public InlineEditing(ApexPages.standardController sc)
   {
       
   }
}
Thanks for visiting.

Thursday 13 September 2012

Cloud Trivia Winter#13

                Hi Techies, 


I played Cloudtrivia today and it was such amazing technical event I ever play.

Here some questions asked by forcedotcom for #cloudtrivia.


Q: What Object type now has dozens of new methods?
 Ans. String 
Q: What does the “exec” command do in the Command Line Window of the developer console? 
 Ans.      To execute query & generate log
Q: True/False: You can run tests using the Tests tool for any combination of classes you select (one, many, all, etc)? -
 Ans.   True
Q: As of #Winter13, there are now HTTP callouts for which two APIs?
Ans. Callout testing of SOAP and REST services
Q: Where can you now load test data from as of #Winter13? -
Ans. To load data from static resources(CSVs) for test classes
Q: Name 2 of the other new tools (besides Perspectives) added to the developer console in #Winter13? #cloudtrivia - 
Ans. Query Editor & Command Line
Q: What does “Perspectives” allow you to do in the developer console? #cloudtrivia - 
Ans. When you open a debug log in the Developer Console, it opens in a System Log view which is a collection of panels for analyzing the log. In the Winter ‘13 release, you can create perspectives in a System Log view.

Q: What set of tools will be piloted in #Winter13 to allow you to integrate external applications in Salesforce? 
Ans. Canvas
Q: What two formula functions were added for working with the beta Geolocation Custom Field type? 
Ans.  Distance & Geolocation
Q: Name 5 of the 7 chart types for Visualforce Charting? 
Ans. area, gauge, radar, scatter, bar
Q: What prefix should you use to “pass through” attributes in the <apex:outputPanel> component? Ans. - HTML



Thanks