You need to sign in to do that
Don't have an account?
nani@r
how to set a new button in visual force page?
dis is my code but i can't set new button
<apex:pageBlockButtons >
<apex:commandButton action="{!naNew}" value="New"/>
</apex:pageBlockButtons>
public pagereference naNew(){
// book__c b = new book__c();
pagereference sp = new pagereference('/apex/newpage');
return sp;
}
what do u mean by set for the button can u share more information
i want a new button for entering record in datamodel
VF page
Apex class would be...