* @param initData the {@link ViewContext} for the current servlet request
*/
public Map getToolbox(Object initData)
{
//we know the initData is a ViewContext
ViewContext ctx = (ViewContext)initData;
String requestPath = ServletUtils.getPath(ctx.getRequest());
//create the toolbox map with the application tools in it
Map toolbox = new HashMap(appTools);
if (!sessionToolInfo.isEmpty())
{
HttpSession session = ctx.getRequest().getSession(createSession);
if (session != null)
{
// allow only one thread per session at a time
synchronized(getMutex(session))
{