GitHub user svenmeier opened a pull request:
https://github.com/apache/wicket/pull/249
independent component renderer
ComponentRenderer makes it easy to render components, but it still needs
the thread to be attached to a WebApplication's ThreadContext: I've seen
projects use WicketTester for that or rolling their own solution.
IMHO we could improve ComponentRender to officially support independent
rendering of components.
WDYT?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/wicket sandbox/component-renderer
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/wicket/pull/249.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #249
----
commit 6e6c273fd32325a447cc32c751d5ce0c083e7ed1
Author: Sven Meier <[email protected]>
Date: 2017-12-07T08:24:12Z
render independently from web or tester
commit 0baab8c3027bbaafb1a218f3cf87edf0040d856f
Author: Sven Meier <[email protected]>
Date: 2017-12-07T08:44:47Z
use lambdas, fixed imports
----
---