Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PartialViewContext#getEvalScripts() which should add <eval> to <partial-response> #1412

Closed
eclipse-faces-bot opened this issue Dec 19, 2015 · 7 comments

Comments

@eclipse-faces-bot
Copy link

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().

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Reported by @BalusC

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@BalusC said:
Ed, please review.

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@BalusC said:
Already in 2.3 m05.

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Marked as fixed on Thursday, March 31st 2016, 12:18:14 am

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-1412

@eclipse-faces-bot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant