Interface UntargetableComponent


  • public interface UntargetableComponent
    Components implementing this interface are ignored by the algorithm - especially in the implementation of @child(n), @next and @previous. If you suppose this case, markup/literal components must implement UntargetableComponent:
     <table>
          <tr>
              <td>
                  <h:outputLabel for="@next" value="Name:" />
              </td>
              <td>
                  <h:inputText id="input" value="#{bean.name} />
              </td>
          </tr>
     </table>
     
    @next would otherwise actually target the markup:
      </td>
      <td>
     
    and not desired component:
      <h:inputText id="input" value="#{bean.name} />
     
    Since:
    2.3