You need to sign in to do that
Don't have an account?
Create empty form
I am developing a VF page which uses data from several objects and should work as an empty form. As soon as I press the save button, I want to save and link the objects.
So, I have my standardController. The datafields of which work fine in my form.
Then I created this Controller as an extension and just have an Account from which (in this example) just show the inutField of FirstName:
public class MatchCheckController { public Account account{get; set;} public MatchCheckController(ApexPages.StandardController controller) { account = new Account( FirstName='', RecordTypeId='01220000000Pn0EAAS' ); }
My problem: on my VF page, it does not show the inputFiled.
When I populate the FirstName with any string, this is output at the place where the inputField should be. But not editable and no frame around it.
What is the "official" way of creating a empty form with datafields in an extension object?
Does the user you are testing with have access to create/edit accounts?
Absolutely, yes. I am admin.
I have created a testpage. This page shows in result just the "Name" editfield and the "Save" button. It does not render, as expected the edit fields for Firstname and LastName.
Can you tell me what is wrong?
VF page:
The controller:
Can you tell me what is wrong?
Thanks
Hello everybody,
i have the same problem!
Pleas help me :smileysad: to find a solution ...
TXs