views:

38

answers:

1

hi folks,

i have an app in salesforce..but i need a standalone webpage ..so i imported the objects created ..please coulde you give the codes for this three buttons...

add

edit

delete

+1  A: 

If you would have a look at Visualforce component reference, you'd probably see the "commandButton" and the example provided on the usage tab:

<apex:commandButton action="{!save}" value="Save" id="theButton"/>
eyescream
Thanks eyescream that was a great help...one more thing i need to import the records created in the object and edit them in visualforce...please help with this...
javatechi
I'm afraid I don't really understand you. You want to read some data from te database and display edit form in VisualForce, so user can modify these and save? If you have 1 record and don't need special logic in the controller, then the same "component reference" for apex:inputField should get you started. Otherwise maybe stuff from http://www.salesforce.com/us/developer/docs/cookbook/Content/vf_wizard.htm will be useful (ignore the more complex items like PageReference, just check out the VF pages).
eyescream