title: How to change GWT Editor while editing
body: <p><img src="https://i.stack.imgur.com/beYGq.png" alt="enter image description here">I have a GWT form that changes some fields depending on what is selected in it. The form uses the Editor, Driver GWT module</p>
  
  <p>The story is a person who edits her profile, and says: "I'm a User" or "I'm a Seller" (eventually "I'm something else")
  So depending on this choice that is in the form it self, I want to change some editors in the view (first name, last name for a person become company name, taxes serial number, while many other fields remain the same but change their place). I made two sets of UiBinder screens (one for each profile). And I have a main UiBinder that contains the checkbox "I'm a company" that handles those subeditors</p>
  
  <p>What I thought I could do until now is that I have a ValueAwareEditor with subeditors </p>
  
  <pre><code>@Path("")
  @UiField
  protected CompanyBasicInfo basicInfoComp;
  
  @Path("")
  @UiField
  protected PersonBasicInfo basicInfoPers;
  </code></pre>
  
  <p>both are filled by the driver, but only one of them is visible.</p>
  
  <p>The thing is that I don't like the idea of having the same property in many editors, neither the performance this approach could imply</p>
  
  <p>On the other side, CompanyBasicInfo and PersonBasicInfo are regular Editor implementations. So putting @Ignore on both of them is not possible since I cannot call a setValue() on them when I will want.</p>
  
  <p>Also making them implement ValueAwareEditor is not clear to me since the contain regular Editor widgets, so I still won't be able to call setValue() on their fields : I'm just moving the problem a step further...</p>
  
  <p>In the view I also don't have access to the Driver to call edit() again. I took a look at how it is done in the lists but there are too much new concepts, I don't think I have to learn all that code just to be able to handle this simple case</p>
  
  <p>Thanks for you answers</p>