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.

NOTE: If a sub-element under the parent does not have an ID but only a name you can use the name attribute to specify it and it will look for the name="xx" instead of ID.