<apex:pageBlockTable var="l" value="{!list}">
<apex:column headerValue="links">
<apex:commandLink value="Save" action="{!savelink}">
</apex:column>
<apex:column headervalue="field">
<apex:inputfield={!l.object.field__c}/>
</apex:column>
<apex:pageBlockTable>
Controller
public id recordid; (it will have the record id which is being modified)
object obj{get;set;}
public void savelink()
{
obj = [Select id FROM obj WHERE id=recordid]
update obj;
}
public class wrapper
{
public object objwrap;
public wrapper(objwrap)
{
this.objwrap = objwrap;
}
}
The input field value is not being updated on field value change. Any help is much appreciated.