I used apex:param but it doesn't pass objects
<apex:param value="{!a.Id}" name="AIs" assignTo="{!AId}"/>
You can use the Id passed via param and then query the account on the controller. Or else you as Guy mentioned in the comments you can declare an instance of Account and use this instance on the page, and the updated values will be available on the page.
-----Apex-----
public class SampleClass{
Account accountObj{get; set;}
}
------Page----
<apex:inputText value={!accountObj.Name}/>
rerender
attribute in your parent component.