volosied commented on PR #736: URL: https://github.com/apache/myfaces/pull/736#issuecomment-2323503664
The [isPartialOrBehaviorSubmit](https://github.com/apache/myfaces/blob/4.0.x/impl/src/main/java/org/apache/myfaces/renderkit/html/util/HtmlRendererUtils.java#L1058) method is used in the [HtmlLinkRendererBase](https://github.com/apache/myfaces/blob/main/impl/src/main/java/org/apache/myfaces/renderkit/html/base/HtmlLinkRendererBase.java#L100), [HtmlButtonRendererBase](https://github.com/apache/myfaces/blob/main/impl/src/main/java/org/apache/myfaces/renderkit/html/base/HtmlButtonRendererBase.java#L111), and [HtmlCommandScriptRenderer](https://github.com/apache/myfaces/blob/main/impl/src/main/java/org/apache/myfaces/renderkit/html/HtmlCommandScriptRenderer.java#L167). By relying on isPartialOrBehaviorSubmit, it would enable some consistent by only allowing "click events" to trigger a form submission. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
