Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0 branch (discontinued), 1.3.0-beta1
-
None
Description
I want to request a static set method on RequestCycle to set the cycle in the current ThreadLocal, so that Wicket can create components and such in a different thread than where the HTTP request entered.
Without this a WicketRuntimeException("Can not set the attribute. No RequestCycle available") is thrown from the Session.setAttribute method.
Suggested implementation:
public static void set(RequestCycle cycle)
This is similar to the static set methods for Session and Application.
This method can also be protected if desired.