[
https://issues.apache.org/jira/browse/MYFACES-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783613#comment-17783613
]
Thomas Andraschko commented on MYFACES-4629:
--------------------------------------------
ok, i dont know if its a bug or not but this testcase show the issue:
```java
@Test
public void test() {
ArrayList<String> clientIds = new ArrayList<>();
clientIds.add("form:input");
clientIds.add("form");
PartialVisitContext visitContext = new
PartialVisitContext(facesContext, clientIds,
EnumSet.of(VisitHint.EXECUTE_LIFECYCLE,
VisitHint.SKIP_UNRENDERED));
UIViewRoot viewRoot = new UIViewRoot();
HtmlForm form = new HtmlForm();
form.setId("form");
viewRoot.getChildren().add(form);
HtmlInputText inputText = new HtmlInputText();
inputText.setId("input");
form.getChildren().add(inputText);
final List<UIComponent> visitedComponents = new ArrayList<>();
viewRoot.visitTree(visitContext, (VisitContext context, UIComponent
target) -> {
visitedComponents.add(target);
// Same as PhaseAwareVisitCallback:
// Return VisitResult.REJECT as processDecodes/Validators/Updates
already traverse sub tree
return VisitResult.REJECT;
});
// 1 or 2 visitedComponents?
}
```
> Manual AJAX request does not process TabView correctly
> ------------------------------------------------------
>
> Key: MYFACES-4629
> URL: https://issues.apache.org/jira/browse/MYFACES-4629
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 4.0.0, 4.0.1
> Reporter: Manuel K
> Priority: Major
> Attachments: pf-tabview.zip
>
>
> When manually calling PrimeFaces.ajax.Request.handle the validationFailed
> argument is not sent to the client.
> For more details and a reproducer please see
> https://github.com/orgs/primefaces/discussions/123
--
This message was sent by Atlassian Jira
(v8.20.10#820010)