<DCTaskFlowBinding$InnerTaskFlowRegionModel> <getTaskFlowBinding> ADFc
garapatiJan 21 2013 — edited Jan 23 2013Hi...
Iam using jdev 11.1.2.0.0
Iam using dynamic tab concept in my application for adding newly opened tab. now When iam logging out from the application without closing the tab iam getting below error is displayed in the log.
*<DCTaskFlowBinding$InnerTaskFlowRegionModel> <getTaskFlowBinding> ADFc*
if iam logging out from the application without opening newtab or closing the opened tab i.e., loging out from the main page then iam not getting the error in the log. Please provide me the solution and do the needful. Thanks in advance.
The below code is for addting tab.
Tab tab = new Tab(index, null);
if (tab != null)
{
tab.setTitle(pLocalizedName);
if (pLocalizedName.equalsIgnoreCase("Main Navigation"))
{
tab.setTabShortDesc(pLocalizedName);
}
if ((pParameters != null) && (pParameters.get("WindCntxt") != null))
{
tab.setWindowContext(pParameters.get("WindCntxt").toString());
}
tab.setActive(true);
tab.setId(_MODEL_KEY + "" + tab.getIndex());
tab.setTaskflowId(TaskFlowId.parse(pTaskflowId));
setSelectedTabIndex(index);
_tabModelSize++;
_tabModel.add(tab);
setNumberOfTabsOpen(_tabModelSize);
TaskFlowBindingAttributes tfAttr = new TaskFlowBindingAttributes();
tfAttr.setId(tab.getId());
tfAttr.setTaskFlowId(tab.getTaskflowId());
tfAttr.setRefreshCondition("ifNeeded");
_taskFlowModel.add(tfAttr);
}
The below code is using for logout
ExternalContext extc = FacesContext.getCurrentInstance().getExternalContext();
HttpSession sess = null;
sess = (HttpSession) extc.getSession(false);
HttpServletRequest request = (HttpServletRequest) extc.getRequest();
sess.invalidate();
request .sendRedirect("../../../../../");