how to use apex:detail tag In Visualforce page?

<apex:detail> 

       The standard detail page for a particular object, as defined by the associated page layout for the object in Setup. This component includes attributes for including or excluding the associated related lists, related list hover links, and title bar that appear in the standard Salesforce application interface.

This tag supports following attributes:
Attribute Name Description
id An identifier that allows the detail component to be referenced by other components in the page.
inlineEdit Controls whether the component supports inline editing.
oncomplete The JavaScript invoked if the oncomplete event occurs--that is, when the tab has been selected and its content rendered on the page. 
This attribute only works if inlineEdit or showChatter are set to true.
relatedList A Boolean value that specifies whether the related lists are included in the rendered component. If true, the related lists are displayed. If not specified, this value defaults to true.
relatedListHover A Boolean value that specifies whether the related list hover links are included in the rendered component. If true, the related list hover links are displayed. If not specified, this value defaults to true. Note that this attribute is ignored if the relatedList attribute is false, or if the "Enable Related List Hover Links" option is not selected under Setup | Customize | User Interface.
rendered A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true.
rerender The ID of one or more components that are redrawn when the result of an AJAX update request returns to the client. This value can be a single ID, a comma-separated list of IDs, or a merge field expression for a list or collection of IDs. 
This attribute only works if inlineEdit or showChatter are set to true.
showChatter A Boolean value that specifies whether to display the Chatter information and controls for the record. 
If this is true, and showHeader on < apex:page > is false, then the layout looks exactly as if the < chatter:feedWithFollowers > is being used. 
If this is true, and showHeader on < apex:page > is true, then the layout looks like the regular Chatter UI.
subject The ID of the record that should provide data for this component.
title A Boolean value that specifies whether the title bar is included in the rendered component. If true, the title bar is displayed. If not specified, this value defaults to true.


Example:
<apex:page standardController="Account">

   <apex:detail subject="{!account.ownerId}" relatedList="false" title="false"/> 
   
</apex:page>


The above code generated the below page:

Visualforce_detail


COMMENTS

Name

Apex Apex Default Methods Apex Methods Apex_Collections Apps Batch Apex Books CRM eBooks Data Import Wizard Data Management DataLoader Dataloader.io Difference Between Error in Salesforce FAQ's FAQ's-Apex FAQ's-Apps FAQ's-CRM FAQ's-Data loader FAQ's-SOQL & SOSL FAQ'S-Triggers FAQ's-User Profile & Security FAQ's-VF Force.com Explorer Force.com Ide Formulas & Functions Integration Interview Questions Only Latest_Updates Limits&Best Practices Online-Training Reports and Dashboards Salesforce Deployment Salesforce Realtime Examples On Development Salesforce Realtime Task On Admin Salesforce Realtime Tasks Salesforce Realtime Tasks- Apex Salesforce Training Salesforce1 Mobile Sites SOQL Spring'14 Release Triggers User Profile & Security VF Tags VisualForce Winter'14 Release Wizard for Accounts/Contacts Workbench Workflows and Approvals
false
ltr
item
Sfdc Gurukul- All in one place for salesforce and force.com step by step tutorial for beginners: how to use apex:detail tag In Visualforce page?
how to use apex:detail tag In Visualforce page?
how to use apex:detail tag In Visualforce page?apex:detail,,salesforce apex:detail tag,visualforce page tag detail,detail tag in visualforce page,detail
http://2.bp.blogspot.com/-0St_0EzA75E/Ui3JbwVmQEI/AAAAAAAAA3A/HheK1cBOE9A/s1600/Visualforce_detail.JPG
http://2.bp.blogspot.com/-0St_0EzA75E/Ui3JbwVmQEI/AAAAAAAAA3A/HheK1cBOE9A/s72-c/Visualforce_detail.JPG
Sfdc Gurukul- All in one place for salesforce and force.com step by step tutorial for beginners
http://sfdcgurukul.blogspot.in/2013/09/apexdetail.html
http://sfdcgurukul.blogspot.in/
http://sfdcgurukul.blogspot.com/
http://sfdcgurukul.blogspot.com/2013/09/apexdetail.html
true
4199533888133360731
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy