-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: bridge-api-2.0.0, bridge-api-3.0.0, bridge-api-4.0.0
-
Labels:None
{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}