Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
bridge-api-2.0.0, bridge-api-3.0.0, bridge-api-4.0.0
-
None
Description
{markdown}
`FacesRequestContext` scripts (and scripts with `target="body"`) are written twice in partial response. Scripts are written twice because the `BridgePartialResponseWriter` is being wrapped by the `LiferayPartialResponseWriter`. Since both of these classes write out the global scripts in the `<eval>` section, the scripts are written twice.{markdown}
`FacesRequestContext` scripts (and scripts with `target="body"`) are written twice in partial response. Scripts are written twice because the `BridgePartialResponseWriter` is being wrapped by the `LiferayPartialResponseWriter`. Since both of these classes write out the global scripts in the `<eval>` section, the scripts are written twice.{markdown}