Annotation Type FindByParentPartialId


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface FindByParentPartialId
    Alternative FindBy annotation, which should only be used in page fragments. It searches by id, starting from the parent element, based on the id of the parent concatenated with value(). Sometimes, for example with appendTo="...", the child element is moved to somewhere else in the DOM. In this case you have to set searchFromRoot() to true.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean searchFromRoot  
      • searchFromRoot

        boolean searchFromRoot
        Default:
        false