Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

<DCTaskFlowBinding$InnerTaskFlowRegionModel> <getTaskFlowBinding> ADFc

garapatiJan 21 2013 — edited Jan 23 2013
Hi...
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("../../../../../");
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2013
Added on Jan 21 2013
2 comments
110 views