• ibrahim k 4
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
<apex:page controller="theController" action="{!autoRun}">
<apex:form >
<apex:tabPanel id="tabPanel" selectedTab="{!selectedTab}">
  <apex:tab title="Education Details" label="Education Details" id="tab1" disabled="{!istab1disabled}">
  
  <apex:pageBlock title="" mode="edit">
 <apex:pageBlockSection title="Education Details">
 <apex:inputField value="{!employee.Employee_name__c}"></apex:inputField>  
 <apex:outputLabel value="Collegename:">
    

      <apex:selectList size="1" >

            <apex:selectOptions value="{!statusOptions}"/>
        </apex:selectList>
        </apex:outputLabel>
        
        
        
         <apex:outputLabel value="Education_details:">
    

      <apex:selectList size="1" value="{!SelectValue}">

            <apex:selectOptions value="{!statusOptions2}"/>
        </apex:selectList>
        </apex:outputLabel>
        
       
        
        
     </apex:pageBlockSection> 
  
  
  <apex:pageBlockButtons id="contentLoading">
    <apex:commandButton value="Next" action="{!enabletab2}" rerender="tabPanel"/>
    </apex:pageBlockButtons>
     </apex:pageBlock>
  </apex:tab>
  <apex:tab title="Employeement Details" label="Employee Details" id="tab2" disabled="{!istab2disabled}">
      
      <apex:pageBlock >
      <apex:pageBlockSection title="Employee Details">
      <apex:inputField value="{!employee.Department_name__c}"></apex:inputField> 
        
         <apex:outputLabel value="Position:">
    

      <apex:selectList size="1" value="{!SelectValue}">

            <apex:selectOptions value="{!statusOptions3}"/>
        </apex:selectList>
        </apex:outputLabel>
        </apex:pageBlockSection>
   <apex:pageBlockButtons id="contentLoading">

    <apex:commandButton value="Previous" action="{!enabletab1}" rerender="tabPanel" />
     <apex:commandButton value="Save" action="{!addemployeedetails}" />
     </apex:pageBlockButtons>
     
      </apex:pageBlock>
  </apex:tab>
</apex:tabPanel>
</apex:form>
</apex:page>



I am new to salesforce here is my apex code how to create an controller and insert this values