Friday, March 20, 2015


To display records, In Salesforce we have 6-controllers

Standard Controller

Custom Controller

Standard List Controller

Custom List Controller

Standard Set Controller

Extension Controller

To achieve standard functionalities we use standard controller's. To have our own custom business logic then we go for custom controllers.

Here we will See the Standard Controller

In visual force we have basic and important tags and every tag must be closed with its closing tag.

<apex:page> 

all other tags will be inside of this root tag 

</apex:page>

and we have tags like <apex:pageblock> and this tag have child <apex:pageblocksection> page block tag has child <apex:pageblocksectionitem> 

Sample code

<apex:pages>                ---> Root Tag

<apex:pageblock>         ---> It is like Container

<apex:pageblocksection>       
<apex:pageblocksectionitem>     ---> Groups Components can place two components in it
<h1> Welcome to the visual force coding <h1>    
</apex:pageblocksectionitem> 
</apex:pageblocksection>

</apex:pageblock>

</apex:pages>







0 comments:

Post a Comment

Promotions

Ads

Popular Posts