You need to sign in to do that
Don't have an account?
Caffeine
apex:detail simple example doesn't work
I've tried the following code in 2 different orgs and it doesn't work:
<apex:page standardController="Account">
<apex:pageBlock title="My Title">
<b>Hello {!$User.FirstName}</b>
</apex:pageBlock>
<apex:detail rendered="true"/>
</apex:page>
The "Hello username" works just fine, but the detail part of the page never shows.
I've even stripped it down to basics:
<apex:page standardController="Account">
<apex:detail rendered="true"/>
</apex:page>
Nothing appears in this case. The example is taken nearly verbatim from the VF Developer Guide. What gives?
Thanks.
<apex:page standardController="Account">
<apex:pageBlock title="My Title">
<b>Hello {!$User.FirstName}</b>
</apex:pageBlock>
<apex:detail rendered="true"/>
</apex:page>
The "Hello username" works just fine, but the detail part of the page never shows.
I've even stripped it down to basics:
<apex:page standardController="Account">
<apex:detail rendered="true"/>
</apex:page>
Nothing appears in this case. The example is taken nearly verbatim from the VF Developer Guide. What gives?
Thanks.
Thanks. That worked. The VF Tutorial on developer.salesforce.com appears to need an update. See: http://wiki.apexdevnet.com/index.php/Force.com_Tutorial:_An_Introduction_to_Visualforce (section 4)
Thanks again.