title: Creating read/write pages in APEX
body: <p>I'm trying to find a clean way to structure my pages so that the same page can be used for reading a record's contents and for editing it. For example:</p>
  
  <ol>
  <li>You view a record's page. It's contents are displayed as text/whatever.</li>
  <li>You click an edit button and the values are presented in textareas, text boxes, LOVs etc.</li>
  </ol>
  
  <p>I'd like to do this without creating a separate edit page and view page for each record. An idea I had was to create two regions - ViewRecord and EditRecord - and display one or the other based on whether a URL parameter was passed (however I'm not sure if this is simple/possible - I'm guessing it can be done in region conditions, however I'm not sure how to access request parameters).</p>
  
  <p>Is there a common/best practice for this kind of activity? How do people usually cope with this?</p>