function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
d.tejdeep@nicomatic.ind.tejdeep@nicomatic.in 

How to pass parameter from apex:inputfield to controller constructor with out saving record?

<apex:pageBlockTable value="{!Blist}" var="a">
      <apex:column headerValue="Nicomatic P/N"><apex:inputField value="{!a.Name}" id="Name" style="width:110px"  StyleClass="AutoPin" /><br/>
        <apex:commandlink Value="Fetch details"  rerender="wtable" >
                       <apex:param assignTo="{!nicomaticpn}" value="{!a.Name}" Name="parentname777"/>
                       </apex:commandlink>
      </apex:column>
Public string nicomaticpn{get ; set;}
public quoteController(){
         blist=new Map<Quote_line_item__c,list<batch__c>>();
         Quote_line_item__c acc= new Quote_line_item__c();
         acc.name=nicopn;
         acc.name=geterp(acc.Name).PartNico;
         acc.Client_P_N__c=geterp(acc.Name).PartClientPNREF;
         acc.description__c=geterp(acc.Name).PartDescription;
         acc.stock__c=geterp(acc.Name).Partstock;    
        blist.add(acc);
      }

       public ERPResult geterp(string nicopn){
          ERPResult result = new ERPResult ();
    result.PartClientPNREF = PartClientPNREF;
    result.PartDescription = PartDescription;
    result.Partstock = Partstock;
    return result;  
    };

  Hi i am passing input field value and i am getting the details from the ERP in method ERP .i want to get the pass the input field value from visaulforce to controller constructor  to get the process done .how i can do it ?

Thanks
NagaNaga (Salesforce Developers) 
Hi Tejdeep,

Please see the information below

User-added image

Best Regards
Naga kiran
d.tejdeep@nicomatic.ind.tejdeep@nicomatic.in
Hi Naga Kiran 

I am using custom controller .I will not having one record . I will have set of records .For every record i want to send the parameter . as <apex:inputfield value="{!a.Name}"> .Only on UI none of the record will not be saved by typing the data in inputfield i want to pass info to  controller or method.