Question for Carl Backstrom or others  : Tree list

Hello Marvel team,
I am looking to build my application menu like the following example :
http://htmldb.oracle.com/pls/otn/f?p=11933:31
- The menu must appear in each page.
- Some options or sub-options can be disabled depending on oracle users privileges or roles.
- The label menu options will be stored in a table, perhaps with other things ? need ideas?
Need from where can I start building this menu ?
Thanks.
Jina.

Hello,
That example is a HTML DB list using one of the builtin DHTML Tree Templates in 2.0 so each element can have conditions associated with it. The drawbacks are that it is static.
There is also this example which used AJAX to pull the branchs http://htmldb.oracle.com/pls/otn/f?p=11933:49 the problem with this example is it doesn't have any conditions for elements though I'm sure it can be done, It also doesn't have any memory between refreshes, (though I know someone who has taken care of that but I'll let the jump in here if they want)
You might want to look at the builtin Tree Item it is a little less dynamic but should be able to do most the of the things you want.
Carl

Similar Messages

  • Question for Carl Backstrom

    Carl:
    Regarding
    http://htmldb.oracle.com/pls/otn/f?p=11933:1
    Can you share some implementation details on how you did this? What is the query for the query region? Where do all the Javascript snippets go?
    Thanks

    Hello,
    >
    I was hoping to use this technique to show a one-many
    relationship i.e. show the order header on the page
    and click on "show_detail" to show the order line
    items.
    How can that be done?Yes the easiest way would be to just create an iframe in the detail row to access whatever content you want and use the show_detail column to set the URL, this would be the best way if you are opening another HTML DB page with a form that you might want to edit/update.
    Or you can go the AJAX route and pull the content from a procedure or package and insert into the detail. This would work best if you are just displaying some data or you need some very particular formatting. It would also be a bit faster than an iframe.
    Given some time this week I'll see if I can add those examples.
    Also, I didn't quite understand your "disclaimer"
    about clicking on that checkbox, everything works
    fine without touching that checkbox. Can you clarify
    please?If you uncheck the checkbox before you start clicking the show_detail only one detail will be shown at a time. The javascript code will automatically hide the last opened detail row and reset the label. I just didn't write any code to reset the variables between the two different functionality because I figure that most people will have it work just one way or the other.
    Thanks,
    Carl

  • Question for Dr. Smoke and others: speeding up iTunes

    I've put up variations of this question in the iTunes section, now I thought I would see what I could find out if I posted this in a more general OS X Tiger forum...
    to boil it down, my problem is that when I work in iTunes, the larger the library, the slower and more difficult it is.
    is there any chance you could give some thought to the problem of speeding up iTunes? The way I see it, the program is marvelous, but it was designed more or less just for people transferring a few CDs to their hard drive and of course for buying music from the Apple Store.
    It wasn't designed for what I'm doing with it, which is maintaining a mega-library of epic proportions - which is why working in it is so slow, even with a G5.
    Is there anything you can think of that might speed it up - other than the obvious thing, which is to reduce the size of the library, which I actually do quite a lot!
    w

    that's what's so great about iTunes - and what ***** about it!
    You CAN use it both to manage information about song-files, and you can also use it to play them! I couldn't do this in a database program, unless it were directly linked to a music-playing program. Even then, it couldn't creatively help with assembling playlists, both manually and automatically.
    I wish Apple or some third party would develop iTunes pro or super-iTunes -
    I wonder what the Library of Congress would do if it had to contend with having to put together an accessible, manipulatible digital archive of its holdings?
    thanks for your input!
    w
    powerMac G5   Mac OS X (10.4.3)   World's Biggest iTunes library (460 GB & counting)

  • Question for Carl about Show/Hide Detail Rows

    Carl,
    In your example http://htmldb.oracle.com/pls/otn/f?p=11933:1:2549476012987299
    is there a way to modify the javascript code to include multiple variables being passed in, vs just the pID being passed in?
    How can I pass the additional variables below:
    function ShowHideDetailRow(pThis, pTable, pTR, pID,pID2, pID3){
    var l_Detail = 'detail' + pID; //how can I append pID2 and pID3 here?
    var l_NumCells = pTR.cells.length;
    if (pTR.rowIndex == pTable.rows.length - 1 ||
    pTable.rows[pTR.rowIndex+1].className != "detail")
    gURL = 'f?p=&APP_ID.:12:'+html_GetElement('pInstance').value+'::NO:RP:P12_SID:'+ pID;//how can I append pID2 and pID3 here?

    Hello,
    Sure just add the parameters in like you have shown javascript is very lenient when it comes to adding parameters.
    And as for the URL all you have to do is follow the APEX URL syntax.
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28550/concept.htm#BEIFCDGF
    Carl

  • Question For Vikas: Select List Colors

    Vikas,
    I've seen somewhere
    you posted a site:
    http://htmldb.oracle.com/pls/otn/f?p=24317:104
    Can you still do that with an htmldb_item.select_list?
    If yes how can you do that because I've been struggling
    for weeks to find this answer and all of a sudden now
    I've seen your example
    Thank you

    My example is a variant of the master's example (Carl Backstrom) of a similar nature.
    Basically, the styling is done with a Javascript in the region footer, so you can apply it to anything. The code is
    var pThis = document.getElementById('P104_SELECT');
    var pThose = pThis.getElementsByTagName('OPTION');
    for(var j=0;j < pThose.length;j++){
        pThose[j].style.background = pThose[j].value;
    }Basically, the select list option value itself is the color name.
    Things get a little trickier in a tabular form because you have many select lists, but I think the basic concept should hold good. The above code just grabs a specific select list and loops over its options. You would need to wrap it in another loop to grab all the select lists in your tabular form and do the same thing.
    Hope this helps.

  • Tree list and CSV ... Carl, could you help me?

    I have created ordinary Vertical Sidebar list (on the left side)...(http://apexutf.shellprompt.net/pls/apexutf/f?p=313:1010) ... I have hover, active link and all what I need-COOL!
    On other page (http://apexutf.shellprompt.net/pls/apexutf/f?p=313:1040) I have introduce tree list with Items and subitems. I would like that hover, active and inactive items behave in the same manner on vertical sidebar list.
    Here is my CSS part:
    /* LUP tree list */
    .treelistLup{}
    .treelistLup a{font-weight:bold;text-decoration:none;vertical-align: top;}
    .treelistLup a:hover  {color: Yellow; list-style-image:url(current_tab.gif);}
    .treelistLup a:active {color: Yellow; list-style-image:url(current_tab.gif);}
    .treelistLup .selecteditem {color: Yellow;list-style-image:url(current_tab.gif);  }
    .treelistLup .selectedsubitem {color: Yellow;list-style-image: url(current_tab.gif); }
    .treelistLup .unselecteditem {list-style-image: url(sidebar_list_noncurrent.gif); }
    .treelistLup .unselectedsubitem {list-style-image: url(sidebar_list_noncurrent.gif); }Carl, if you can help me...I can give you login details and other needed files as well.
    THX!

    Carl,
    like allways...few SMART words makes a life easier...
    Now I'm 90% to target...
    Still, problem is with sub-subitems (3rd level tree items)...how to highlight their parents as in two level nodes ?
    THX once more
    Message was edited by:
    Funky

  • Create tree list table for my pages

    Please, How do i populate a tree list table for my application pages for navigation if i have report1 on page number 1 and form 1 on page number 2 and how do i choose my root.

    Hi,
    Try giving the time constraint as T and the custom table in the Time cnstr. Tab. field.
    Check Infotype 0006 for reference, which has the subtype selection.
    Regards,
    Balaji. D

  • Interview Question for C# - other problmes

    Hi,
    I've recently found a good interview question and answer to it placed on that forum - writing a method
       protected int GetSum(int from, int to) 
    At first glance too easy, after reading a good answer I've admitted that's a really good questions.
    (https://social.msdn.microsoft.com/Forums/vstudio/en-US/6facee9e-cb42-4e8f-987a-081c68864a08/interview-question-for-c?forum=csharpgeneral )
    I'm looking for more questions like this. Thanks for any suggestions.
    Sylvia

    It shows only that it is a fool who asks this. (the interviewer not the OP)
    Nobody should create a function GetSum(int from, int to)
    It is only hard to maintain, serves nothing beside that it shows the programmer who made is was paid per line of code.
    Normally this is simply
    var x = y+z;
    Success
    Cor

  • How to avoid trigger acitonListener for other dorpdown lists

    Greetings;
    In a JSF page I have two h:selectOneMenu, each has a biniding to its own valueChangeListner.
    The problem is when I change the value of the first dorpdown list it fires the valueChangeListener for the other dropdown list. I don't want to have this behaviour. I tried to solve the problem by making a requestScop paramter as a flag, this request scoped parameter is created only when the* first dropdown list * is changed,and in the valueChangeListener for the second dropdownlist , I check for this parameter to know if the post back is fired from the first dropdown list.
    Is this the best way to avoid triggering the valueChangeListener.
    Regards

    Are you submitting the form on change of the dropdown?
    At any way, the valueChangeListener will only be invoked if the currently submitted value is different from the initial value. That's all. If you're submitting the form during the onchange, then maybe you have in the 2nd dropdown null as initial value and empty string as 1st option value or so. Who knows. Just align it out. Empty string != null.

  • I have several layers for this image: Background, Moon, Tree, Grass and Clouds.  When I try to use the Move tool to move the Moon, the tool jumps to the Tree layer.  The same thing happens with the other layers as well (except the background layer).  How

    I have several layers for my image: Background, Moon, Tree, Grass and Clouds.  When I try to use the Move tool to move the Moon, the tool jumps to the Tree layer.  The same thing happens with the other layers as well (except the background layer).  How can I keep the move tool from jumpimg to the Tree layer?

    1. Pre-select (highlight) the layer to move in the Layers panel.  or-
    2. [ALT+Right mouse click]  to select the wanted layer in the image window.
    and maybe
    3. Set the PS option to "Auto-select" a layer with cursor hover.  (can be very confusing!)

  • HT4356 I have an HP 4500 printer connected to airport extreme with usb.  All our portable notebooks print via air but cannot get iPad to be recognized for printing.  Do I really have to have one of the other HPs listed?

    I have an HP 4500 printer connected to airport extreme with usb.  All our portable notebooks print via air but cannot get iPad to be recognized for printing.  Do I really have to have one of the other HPs listed?

    Rufus Cat-
    Even if it was compatible, AirPrint does not work through a USB link, only Ethernet or WiFi.
    I do not see your HP 4500 listed on Apple's list of AirPrint compatible printers.  <iOS: AirPrint 101>  Therefore you need to take another approach.  To start, I suggest you download the free HP App, ePrint Home & Biz.  It has limitations, but should get you printing with your existing setup.
    There are other printing Apps with more features such as Print n Share and PrintCentral, but they can only be accessed from within other Apps that have the "Open In" option.
    Your best option may be to share your computer's printer as AirPrint over WiFi.  Programs that are reported to do that well are Printopia and FingerPrint.  Your computer must be on and awake any time you want to print.  <Printopia for Macintosh>  <FingerPrint for PC and Mac>
    Fred

  • I did made a copy of all my CC programms. for using on my other workstation. now is the CC desktop app not syncing the programme information. it do not see or sync the installed programms properly. what can i do. i do not want to download the hols set. be

    I did made a copy of all my CC programms. for using on my other workstation. now is the CC desktop app not syncing the programme information. it do not see or sync the installed programms properly. what can i do. i do not want to download the hols set. because of a slow connection

    If you are getting emails from these forums then you probably accidentally clicked on one of the links on the forums page where all the questions are listed e.g. at the top right of each forum's page there is text box with Actions and Notifications in :
    So far you've posted in the iTunes Store forum :
    https://discussions.apple.com/community/itunes/itunes_store#/
    And the Using iPad forum :
    https://discussions.apple.com/community/ipad/using_ipad#/
    If on either of those forums that box says 'stop email notifications' instead of 'receive' then click on it and it should stop that forum sending emails to you.
    There are full instructions on this page for stopping emails, as there are other places where they might have been set 'on' :  https://discussions.apple.com/docs/DOC-3661
    This is your original post for iTunes Match : https://discussions.apple.com/message/22647293#22647293
    And this page lists your posts (you can click on each post on it to be taken to it's thread) : https://discussions.apple.com/people/suzettemg?view=overview

  • License Question for SharePoint Foundation 2010

    I have a question as it regards to the user agreement for SharePoint Foundation 2010. 
    When I deploy code to the front-end of the Foundation service which directly modifies the code on the front-end to make the system do anything different out of the box, does this mean I have violated the code agreement. 
    For instance, using JQuery to manipulate the look and feel of a form, use third party tools like SPServices, attach SharePoint Designer workflows, modify the server end by using STSADM command line to turn features on and off, create and deploy site
    collection features using Visual Studio, or create web parts? 
    Also, if I am using this software for business purposes of any kind, does it mean I need to purchase the software?
    I have received a copy of Share Foundation along with a Server 2008 R2 OS which was purchased. 
    IF I use Foundation to run my business processes, am I in violation of the user agreement and do I need to purchase SharePoint Server 2010 with CALs?

    The official answer: "I'm not a licensing person. Please contact Microsoft."
    In general:
    Foundation is a "free" download, but can only be installed on Windows Server. You can install Foundation 2010 on Windows 7, but only for testing/development, not as a production server.
    Foundation is "free" in that it is licensed as part of the Windows Server it is installed on.
    If you have 500 users, then Windows Server will need to be licensed for 500 users. The Windows Server licensing will also depend on if the users are internal or on the internet.
    SQL Server: If you are using SQL Express, then no license costs, but the number of SharePoint users may impact the licensing costs of your SQL Server.
    The choice between Foundation vs. Standard or Enterprise is the list of features needed and scalability (how many users?).
    "JQuery, SPServices, SharePoint Designer workflows, STSADM, Visual Studio..."
    None of those will impact your licensing. Anything that you do to directly query or manipulate the SQL tables will impact your support. SharePoint is a platform and you are expected to configure and customize it.  
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Can somebody give some real time questions for alv report

    hi guru
    can somebody give some real time questions for alv report.
    answers also.
    regards
    subhasis.

    hi,
    The ALV is a set of function modules and classes and their methods which are added to program code. Developers can use the functionality of the ALV in creating new reports,  saving time which might otherwise have been spent on report enhancement
    The common features of report are column    alignment, sorting, filtering, subtotals, totals etc. <b>To implement these, a lot of coding and logic is to be put. To avoid that we can use a concept called ABAP List Viewer (ALV).</b>
    Using ALV, we can have three types of reports:
       1. Simple Report
       2. Block Report
       3. Hierarchical Sequential Report
    <b>Reward useful points</b>
    Siva

  • Please read my question carefully, this is, I think, a question for the experts. It's not the usual name change question.   When I setup my new MacBook Pro, something slipped by me and my computer was named First-Lasts-MacBook-Pro (using my real first and

    Please read my question carefully, this is, I think, a question for the experts. It's not the usual name change question.
    When I setup my new MacBook Pro, something slipped by me and my computer was named First-Lasts-MacBook-Pro (using my real first and last name).
    I changed the computer name in Preferences/Sharing to a new name and Preferences/Accounts to just be Mike. I can right click on my account name, choose advanced, and see that everything looks right.
    However, If I do a scan of my network with my iPhone using the free version of IP Scanner, it lists my computer as First-Lasts-MacBook-Pro! And it lists the user as First-Last.
    So even though another Mac just sees my new computer name, and my home folder is Mike, somewhere in the system the original setup with my full name is still stored. And it's available on a network scan. So my full name might show up at a coffee shop.
    Can I fully change the name without doing a complete re-install of Lion and all my apps?

    One thought... you said the iPhone displayed your computer's old name? I think that you must have used the iPhone with this computer before you changed the name. So no one else's iPhone should display your full name unless that iPhone had previously connected to your Mac. For example, I did this exact same change, and I use the Keynote Remote app to connect with my MacBook Pro. It would no longer link with my MacBook Pro under the old name, and I found that I had to unlink and then create a new link under the new name. So the answer to your question is, there is nothing you need to do on the Mac, but rather the phone, and no other phone will display your full name.

Maybe you are looking for

  • Popup KEY LOV in Interactive Report not work as expected

    Hello, in an Interactive Report, i have added in a Region a Popup Key LOV (Displays description, returns key value). This LOV works ok in other Forms. But in the Report item (Session State variable) instead of returning the Return Value of the LOV, i

  • GRN Line Item

    Dear Gurus,                              I have made 3 line items in PO.I release it and while GRN it is showing only one line item.the second line item is not showing.if we do GRN second time , the second line item alone is showing.                 

  • ITunes 9.0 not letting me ctrl+click multiple artists?

    Before I updated from the previous version of iTunes, I could hold in ctrl and click various artists I wanted to play when I didn't want to make a playlist for them as I found several disadvantages to the playlist features, however now I've upgraded

  • Fwd: Dependencies for AIX6.1

    Hi Technology Consultants, I am installing ECC6.0SR3 with MaxDB7.6 On AIX6.1 (IBM P series Servers). when i was installing Java "IBMJava2-142-ppc64-SDK-1.4.2-13.0.ppc64.rpm" . its not installing and asking for dependencies. Anybody send me the link w

  • Regarding rollouts in sap

    HI,     Can anyone answer what is rollout in sap implimentation?     can any body give an example sap implimentation scenario. Regards SAI