You need to sign in to do that
Don't have an account?
davedb
Displaying of the edit-page
Hello Board,
with the following code, i can display the detail view of accounts:
<apex:page standardController="Account">
<apex:detail />
</apex:page>
But how can i load the page with the editable input fields. This page appears, if i edit an account. Can i do this with something similiar like <apex:detail mode="edit"/> or else?
I can´t find this neither in the documentation nor in the cheatsheet.
Thanks for any hint!
Best
David
You can't do this.
More detail here
No you can not do in tht way.
Sol:
<apex:pageBlockTable value="{!accs}" var="row">
<apex:column >
<apex:outputLink title="" value="/{!row.id}/e?retURL=/apex/{!$CurrentPage.Name}" style="font- weight:bold">Edit</apex:outputLink>
</apex:column>
</apex:pageBlockTable>
this is the way it works... try out in your code