You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add PartialViewContext#getEvalScripts() which returns a mutable List so that the developer can add scripts to of the using standard API. The PartialResponseWriter has already startEval() and endEval() in place since beginning, but this is actually never used.
This approach allows easily executing scripts on complete of ajax response. Both OmniFaces and PrimeFaces have an enhanced PartialViewContext implementation which offers this additional method which is ultimately used by respectively RequestContext#execute() and Ajax#oncomplete().
The text was updated successfully, but these errors were encountered:
Add PartialViewContext#getEvalScripts() which returns a mutable List so that the developer can add scripts to of the using standard API. The PartialResponseWriter has already startEval() and endEval() in place since beginning, but this is actually never used.
This approach allows easily executing scripts on complete of ajax response. Both OmniFaces and PrimeFaces have an enhanced PartialViewContext implementation which offers this additional method which is ultimately used by respectively RequestContext#execute() and Ajax#oncomplete().
The text was updated successfully, but these errors were encountered: