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!

How to open a page fragment which is not default in a task flow

Tarek FathyJul 10 2014 — edited Jul 10 2014

Hi

My bounded taskflow contains 4 page fragments (f1,f2,f3,f4). f1 is the default activity.

I use UIShell template. And I have a tree menu on the UIshell that call different  taskflows.

This is the code to open the taskflow

    public String OpenTaskFlow() {    

      

        TabContext tabContext = TabContext.getCurrentInstance();    

            if (getSelectedNode() != null) {

                try {

                    tabContext.setMainContent(getSelectedNode());

                } catch (TabContext.TabContentAreaDirtyException e) {

                    e.printStackTrace();

                }

            } 

   

        return null;

    }

when I Click on the menu , the taskflow is opened and the default activity "f1" is displayed.

IS it possible to pass by the default activity of a taskflow and navigate directly to a specific fragment.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2014
Added on Jul 10 2014
2 comments
142 views