In ADF Tree how to Navigate to Pages When Clicking Tree Node   (TP4)  ?

hi
I know how to use af:tree as master-detail tree
by draging detail views from Data Controls and dropping in JSF
Page but I would like to know how to call other pages when double-clicking child nodes in the tree. in JDeveloper 11 TP4 & Windows XP
Anybody can help?
best regards
Forakora;

Hi,
if it has to be a double click then this can be done with a clientListener that calls a JavaScript function and that you set to the doubleClickEvent type e.g.
handleTreeSelection(event){
// do here what you need to do
queue event to a serverListener that references a managed bean. Use managed bean to
navigate to another page
Out of curiousity, what is the usecase ?
Frank

Similar Messages

  • How to make it selected when clicked and open popup

    Hi,
    I 've a form in the parent page with many form elements.
    I've 2 radio buttons with values "Yes" and "No". I am opening a modal popup when clicked on "Yes" radio button. The modal popup is opening fine.
    But when I click "Yes", it' s not selected. After modal popup is closed, when I return to parent page, the option "Yes" is still not selected.
    How to make it selected when clicked and open popup?

    Perhaps try moving the application to your preferred desktop and then right-click it's dock icon > options > Assign to This Desktop.

  • How to aggregate the measue when click '∑' ?

    Hi Experts,
    How to aggregate the measue when click '∑' ?
    For example:
    In table view.
    A-----------A1-----------2
    A-----------A2-----------3
    ATotal-------------------5
    B-----------B1-----------2
    B-----------B2-----------3
    BTotal-------------------5
    GrTotal------------------10(It is not my expected result.)
    However, GrTotal is not my expect result, the correct result is 5 , not 10. How to implement my requrement? Thanks.

    Hi,
    If you want the result to be the average of your sub-totals (?) then I think the only way you can do is is by using a union query to give the 'illusion' of a grand-total.
    Using this mechanism you can create a grand-total using whatever logic you wish, you then just combine the result and with cunning use of headings / formatting make it look exactly like a standard functionality total.
    Helpful?
    regards,
    Robert.

  • How to avoid login page in List Tree

    Hi group,
    I am new to APEX and I have added a tree list to my application.
    The problem is when I click into the link of the tree list, it always redirects me to the login page.
    Is any setting that I am missing?
    This tree list was created into the page "0".
    Thanks in advance.
    Kind regards,
    Francisco

    Hi
    jyothi
    thanks for the response
    i was following yours thread of Tree the same problem is thr in my tree its also nt retaining the current possition after collapsing it and this is my code can you please help me in this and i have try your javascript also but were to put it i m not getting the solution was gien to u by andyand vee, please please help me
    this my code
    select
      case
        when connect_by_isleaf = 1 then
          0
        when level = 1 then
          1
        else
          -1
      end as status,
      level,
      case
        when PAGE_NUMBER is null then
          MENU_ITEM_NAME
        else
          MENU_ITEM_NAME || ' (' || PAGE_NUMBER || ')'
      end as title,
      null as icon,
      MENU_ITEM_ID as value,
      null as tooltip,
      case
        when PAGE_NUMBER IS NULL then
          NULL
        else
         'f?p=&APP_ID.:' || PAGE_NUMBER || ':&APP_SESSION.'
      end as link
    from   #OWNER#.D_MENU_ITEM
    start with IS_ROOT = 'Y'
    connect by prior MENU_ITEM_ID = PARENT_ITEM_ID
    order siblings by SEQUENCE_NUMBEREdited by: shadab550 on Mar 15, 2012 10:09 AM

  • How to close OA page by clicking on Submit_Button ?

    Hi,
    I have a requirement to close OA page when the user clicks on Submit_Button(save) on the same page. But we have a logic in CO(processFormRequest) to do some actions when the user clicks on Submit_Button, so I want to close the OA page once those actions completed in Submit_Button(save) logic. How can I achieve this requirement, please help me.
    Below is the code in Submit_Button(save)
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if(pageContext.getParameter("save") != null)
    OAMessageTextInputBean notesBean = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("Notes");
    String scRecordId = pageContext.getParameter("searchTempId");
    String invNo = pageContext.getParameter("InvNo");
    String idFlag = pageContext.getParameter("IdFlag");
    String value = (String)notesBean.getValue(pageContext);
    Serializable param[] = {
    scRecordId, value, invNo, idFlag
    am.invokeMethod("getNotes", param);
    }

    First of all thanks to Shree to respond to my question.
    I didnt try as you suggest bcz I think it will not work to my requirement. But I have tried your solution directly in the Save button logic but it is not working.
    Let me explain my entire requirement:
    I have one search page, in that we have Notes column with notes image in Search Results.
    When the user clicks on that Notes Image, it is going to open one new page.
    In that new page we have one Textbox(MessageTextInput), One Save(Submitbutton), Cancel(Button).
    User will type some notes in the Textbox and then he will click on Save then the data gets saved into particular table column and user will click cancel button to close that page.
    Then user will click on Apply button in the main page then there are some actions going to perform.
    Now user wants to close that page when user clicks on Save button after entering the notes in Text box.
    I have tried following coding in Save button logic.. at the end of the save button logic
    pageContext.putJavaScriptFunction("keyListener", "function keyListener(){window.close();}
    OASubmitButtonBean cb=(OASubmitButtonBean)webBean.findChildRecursive("save");
    cb.setOnClick("keyListener()");
    and
    pageContext.putJavaScriptFunction("keyListener", "function keyListener(){window.close();}");
    OAWebBean body = pageContext.getRootWebBean();
    if (body instanceof OABodyBean)
    body.setOnKeyPress("keyListener()");
    but no luck
    Please advice me...

  • How to remain current page when refresh ?

    How to remain current page after refreshing in TableView?

    Layout:
    <htmlb:tableView id              = "iso"
                           keepSelectedRow  ="True"
                           design          = "alternating"
                           visibleRowCount = "6"
                           fillUpEmptyRows = "true"
                           selectionMode   = "SINGLESELECT"
                           table           = "<%= t_iso %>" >
            <htmlb:tableViewColumns>
              <htmlb:tableViewColumn columnName          = "CODE"
                                     width               = "5%"
                                     horizontalAlignment = "center"
                                     type                = "text"
                                     title               = "ISO" />
              <htmlb:tableViewColumn columnName          = "ARCHIVE"
                                     width               = "5%"
                                     horizontalAlignment = "center"
                                     type                = "text"
                                     title               = "ISO File" />
              <htmlb:tableViewColumn columnName          = "EDITION"
                                     width               = "5%"
                                     horizontalAlignment = "center"
                                     type                = "text"
                                     title               = "edition" />
                      </htmlb:tableViewColumns>
          </htmlb:tableView>
         <tr>
          <htmlb:button id      = "btnCreate"
                        text    = "Create"
                        onClick = "myClick" />
          </tr>
    When I click button "Create",the page is refreshed .Before refreshed,the position of TableView is Page 2 . But after the view is refreshed ,the position of TableView is changed to Page 1 . How do I retain the page of TableView is 2 ?

  • How to Refresh The Page When The Value of selectinputData Changes

    Hi;
    I have a select input date component and I want to refresh the page when the value of selectinputdate changes. What is the way to do it?
    Also what is the way to do the same thing with choosedate component?
    Thank you very much...

    Hi Turhan,
    You may want to read about the Partial Page Refresh (PPR) capabilities in ADF Faces. You can make the selectInputDate's partialSubmit property "true" and then cause the specific components you wish refreshed have their partialTriggers property set to the ID of the selectInputDate.
    Hope this helps,
    John

  • How to switch to another page when clicking a button

    I have a main frame consits of many button.What I need to do when click
    a button,it switch to another page?
    Thanx....

    Try this, it should work.
    // not tested
    JButton linkButton = new JButton("<html><a href=\"http://forum.java.sun.com\">link to<br>forum</a></html>");

  • How to get login page when user clicks on browser's back button

    Hi,
    I am using struts framework.
    I have set property nochache=true in response header of all pages.
    So, browser does not caches my pages.
    Now,when I am clicking on browser's back button, I am getting following message..generated by browser.
    Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
    To resubmit your information and view this Web page, click the Refresh button.
    Instead of that I want to show user a login page, when it clicks on back button.
    Can anyone help me?

    Hi,
    I agree with your suggestion.But my query is,
    If you have seen many credit card or banking websites,generally when user clicks on browser's back button,its redirectly user to login page of it for security reasons.
    I want to implement that kind of functionality.So need help on that point

  • Mailto link to send the content of the page when clicked.

    I want to set up a mailto link that sends the contents of the page to a predefined address when clicked. I want this to work from a webpage viewed on an iPad as well as a desktop computer. If this is possible, how do I do it?

    You cannot, but you may be able to send the link to an address, just not the webpage content itself.

  • In advancedSearch , how to set retainAM=Y when click 'Go' button

    Hi,
    I created advancedSearch in page, when I click on go button, I will get the result in advancedTable ,
    in the page Address, it will be appended '....&retainAM=N&addBreadCrumb=N&oapc=3',
    Now my question is how to set 'retainAM=Y' when I click on 'Go' button

    Hi Gyan,
    In advanched search, click go button, then I will get the result in the advanchedTable,
    and the address of this page will be added the statement '...retainAM=N..'
    Then, for example, click 'about this page', it will go to 'About Page'. click 'Return to Page: ', it will go to the previous page and the address of the page
    still be '..retainAM=N..', but now the result table is blank.
    I want to retain the result we have searched when return to the previous search page.
    I think if we can change the retainAM's value to 'Y' after clicking on 'Go' button, then when we return to this page, retainAM will still be 'Y' so that the
    result will be retained .
    And I found one thing so strange, in advancedSearch criteria, there are four criteria displaying in search region by default, but when I add one new criteria, even I don't erter any value to this new crireria, and then go button, in address of this page, it will be '..retainAM=Y', then when we return this page , it will retain the result

  • Do not get full page when click on bookmarked entry

    when click on bookmarked item - only get part of a page not full page? Why? how do I get the full page from clicking on a bookmark?
    using firefox 4 on win 7 - 64bit
    last (old) firefox worked fine!!!

    How are you saving a new bookmark?
    There 5 ways to save a new Bookmark in Firefox, the first 4 should offer to save the new bookmark in a folder:
    1.
    2. Right-click and select Bookmark this Page.
    3. Bookmarks > Bookmark this Page
    4. Double-click the Star that is on the right side of the Location bar.
    4a. (A single-click on the Star will save the new Bookmark to the Unsorted Bookmarks folder, without opening the Edit this Bookmark dialog.)
    5. Drag the website image in the URL bar into the Sidebar view of Bookmarks
    or to the Bookmarks menu bar item and then into the drop-down or onto the Bookmarks Toolbar

  • How to open an image when clicking in a word.

    Im working in a demo for an interactive book for ipad using the Digital Publishing Suite > Folio Builder and i need to be able to open a specific image when clicking in a word. I havent found any tutorial that shows how to do this can somebody please point me in that right direction?  thx so much

    Download Bob Bringhurst's DPS Tips app from the app store and/or watch my lynda.com DPS Essentials Course. If you don't have a subscription you can get a free one week trial here: lynda.com library | Trial Subscription

  • HELP! how to display an image when clicking on JLabel?

    hi. new to the forums. anyway, i need help in displaying an image.
    what i'm trying to do is when clicking on a JLabel using mouseClicked, an image will show and when the image is clicked it will disappear. i've searched and searched and have not found anything useful. thanks...

    thanks.
    searched on the setIcon, didn't find anything. btw, i know how to set the icon on the JLabel. i'm trying to figure out how i can get it that when i click on the JLabel by using the mouseClicked (or maybe even mousePressed) listener, the image pops up and when i click on the image, it closes or disappears.
    btw, i'm using the netBeans GUI builder for this. thanks again.

  • ADF FACES: how to make a page re-render after returning from a dialog

    Using EA15.
    I am using a process to display a confirmation dialog to the user. However, when the dialog exits, the previous page is not re-rendered. The result of the operation that was confirmed by the dialog makes numerous changes to the underlying model that affect the layout of the original page. All these changes are made in the return listener.
    How can I force the original page (the one that launched the process) to fully re-render upon return?
    Thanks.

    Thanks Adam, but no luck.
    My situation is slightly different then the original poster's. I have a table with a 'add row' button in the header, and a 'modify row' button in each row. They both point at the same dialog to enter multiple data attributes about that row of data from a collection in the model. The 'modify row' pops a dialog and modifies item fine, but doesn't re-render the table automatically on return. If user performs any action on the page, the resulting table will then show the correct data. The 'add row' button on the header, but otherwise identical, modifes and re-renders correctly.
    I would think this is a fairly common use case. Anyone have example code of this that can be shared? The ADF dialog demo only modifies a single uicomponent, not the entire row or table. And we have other code which demonstrates that works fine.
    Is there a problem with a row button return listener adding a partial target of the table in which is resides? Whereas the header button (being outside of the table?) is capable of adding the table as a partial target?
    Table.jsp:
    <af:table value="#{formBean.dataBean.collection}" var="row" binding="#{formBean.table}">
    <af:column>
    <af:outputText value="#{row.attr1}"/>
    </af:column>
    <af:column>
    <af:outputText value="#{row.attr2}"/>
    </af:column>
    <af:column>
    <af:commandButton text="Modify..." action="#{formBean.modifyAction}" partialSubmit="true" useDialog="true" returnListener="#{formBean.dialogReturned"/>
    </af:column>
    <f:facet name="actions">
    <af:commandButton text="Add Row..." action="#{formBean.addAction}" partialSubmit="true" useDialog="true" returnListener="#{formBean.dialogReturned"/>
    </f:facet>
    </af:table>
    FormBean.java
    public void dialogReturned(ReturnEvent event) {
    Item item = (Item) event.getReturnValue();
    if (! dataBean.collection.contains(item) {
    dataBean.collection.add(item);
    table.setValue(dataBean.collection);
    AdfFacesContext.getCurrentInstance().addPartialTarget(table);
    DialogForm.java
    public String submitAction() {
    // perform some work against the row item AdfFacesContext.getCurrentInstance().returnFromProcess(item);
    ...

Maybe you are looking for

  • Two Game Center Accounts on One Apple ID

    Hello, From the looks of things I'm the only one experiencing this issue and it's really starting to bug me out unfortunately. There's an APP that I use on my spare time. When I first installed the app it was registered under my Apple ID and Nickname

  • Find/search doesn't work in Finder - help!?

    I go into finder and I type in a file name to search my computer for. No matter what volume or folder I select, nothing pops up in the search window - no files, no folders, nothing. Finder just sits there. The find command doesn't seem to work. Can a

  • Need to not have a split by business area at vendor payment step (F110)

    Hello, Under my case : I have several invoices for one vendor. Each invoice has a business area. Invoice 1 - BA = 001 - 1000 Invoice 2 - BA = 001 -   500 Invoice 3 - BA = 002 - 1000 Now the point is that when I run the F110 for this vendor, the syste

  • Create workflow to release Down Payment Request (F-47) before automatic Pyment

    Hi Experts, I use basic workflow for parked document to release all invoice document from AP. But i get problem with down payment request. In my company, we run down payment by F110 according to down payment request. We use workflow to release parked

  • Dng-Konvertierung in Bridge funktioniert nicht

    Bin CS3-Neuling. Habe nach Handbuch und ADOBE-Video-Tutorial Bilder von Camera CANON EOS5D (Bilder als RAW+JPG gespeichert) mit angewählter DNG-Konvertierung auf die Festplatte kopiert, erhalte aber nur die JPGs, keine DNG-Bilder. Auch die RAW-Bilder