Adsorption and Ionic Crosslinking of Polyelectrolytes