title: What is the equivalent of IVisitor.CONTINUE TRAVERSAL in wicket 1.5
body: <p>I'm porting our Wicket 1.4 app to Wicket 1.5. Visitors are now <a href="https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-Visitors" rel="nofollow">very different</a>. What I would like to know is how do I handle a CONTINUAL_TRAVERSAL in Wicket 1.5? The existing 1.4 code is below:</p>
  
  <pre><code> public class MyFormVisitor implements IVisitor&lt;Component, Object&gt;, Serializable {
  
      private static final long serialVersionUID = 7271477325583441433L;
      private Set&lt;Component&gt; visited = new HashSet&lt;Component&gt;();
  
      @Override
      public Object component(Component c) {
          if (!visited.contains(c)) {
              visited.add(c);
  
              c.add(new MandatoryBehavior());
              c.add(new ErrorHighlightBehavior());
          }
          return IVisitor.CONTINUE_TRAVERSAL;
     }
  </code></pre>