Displaying all sublevels from root folder

Hi,
Can anyone please help me out from the following task,
I need to display all folders from the following example.
Eg:- Folder (Level 0)
Folder1(Level 1)
Folder11(Level2)
Folder111(Level3)
Folder2(Level1)
Folder22(Level2)
Note: Level is not fixed.
Thanks,
Bhaskar.

http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html

Similar Messages

  • Display all records from 4 select list

    Hi,
    trying to associate 4 select list where i could display all records from a list linked to an other list.
    1./ Created an item for each select list
    P1_employee_name
    P1_departments
    P1_employee_type
    P1_locations
    2./Set both null and default values to '-1' for each item
    3./Associated these items to source columns in the Region:
    where employee_name=:P1_employee_name
    or :P1_employee_name ='-1'
    and departments=:P1_departments
    or :P1_departments ='-1'
    and ......
    When running the report, couldn't display all records from a given list associated to an other list.
    e.g: Display all emp and type of emp for sales dept in Paris.
    Thks for your help

    I believe the issue is that you need to group your predicates such as:
    where (employee_name=:P1_employee_name
    or :P1_employee_name ='-1')
    and
    (departments=:P1_departments
    or :P1_departments ='-1')
    Also, if you are not already using the "select list with submit" type items, these work great for this case as the page will be submitted when the user changes the value of employeenam and the report will then reflect this change.

  • Form does not display all records from table

    Hi guys
    I modified one form that was based on a signle DB table. I removed certain fields from the table and added some extra fields to that table. Then based on the new table I also modified the form and removed the text items related to old fields in the table and added new text items pointing to the new fields now. II have checked all the new items properties and they have don't seem to be wrong or so. But now the problem is the form does not display all the records from the table. before it used to display all records from the table when qureied but not now. It only certain records from the table containing all new data and also old data but the form does not display other records though I don't see any obvious discrepancy. Remember that the before doing the modifications, I have table back for the old, created another table that contained new records for the new fields, and then I inserted the old records and updated the new table data in the new table with these new table values. So this way I have got my new table. Could someone help why the new modified form fails to display all records from the new table updated table though it display some of them successfully.
    Any help will be appreciated.
    Thanks

    hi
    Set the block property of "Query All Records" to "YES"
    hope it will work.
    Faisal

  • Can i display all images from databases with adf jsp

    hi
    I want to display all images from the databases whit adf bussines components, because with the sample on http://www.oracle.com/technology/training/products/intermedia/index.html page, i only can display 10 images. i'd lije to know if i can to search in the databases by the id of the image.
    this is the code:
    %@ taglib uri="http://xmlns.oracle.com/adf/ui/jsp/adftags" prefix="adf"%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <html:errors/>
    <table border="1" width="100%">
    <tr>
    <th> </th>
    <th>
    <c:out value="${bindings.ImagenView1.labels['Id']}"/>
    </th>
    <th>
    <c:out value="${bindings.ImagenView1.labels['Descripcion']}"/>
    </th>
    <th>
    <c:out value="${bindings.ImagenView1.labels['Image']}"/>
    </th>
    </tr>
    <c:forEach var="Row" items="${bindings.ImagenView1.rangeSet}">
    <tr>
    <td>
    <c:out value="${Row.currencyString}"/>
    </td>
    <td>
    <c:out value="${Row['Id']}"/> 
    </td>
    <td>
    <adf:render model="Row.Image"/>
    </td>
    <td>
    <c:out value="${Row['Image']}"/> 
    </td>
    </tr>
    </c:forEach>
    </table>
    </body>
    </html>

    I think you want the interMedia JSP tag library...
    http://www.oracle.com/technology/software/products/intermedia/htdocs/descriptions/tag_library.html
    Larry

  • Get all calendars from root

    Hi guys,
    I am developing an integration with EWS based on php. I am using a library I found https://github.com/jamesiarmes/php-ews
    In my case users have various calendars hanging from the root, I get access to the default calendar by this:
    $request->ParentFolderIds->DistinguishedFolderId->Id = EWSType_DistinguishedFolderIdNameType::CALENDAR;
    $response = $ews->FindFolder($request);
    I also get access to shared calendars by this:
    $request->ParentFolderIds->DistinguishedFolderId->Id = EWSType_DistinguishedFolderIdNameType::PUBLIC_FOLDERS_ROOT;
    $response = $ews->FindFolder($request);
    But I am getting crazy to get all calendars hanging from the root. If I asked for all folders on the root I don't get those calendars. What service and params do I need to send to get all calendars from the root?
    Thanks!!

    If you make a FindFolder Request set the Traversal to Deep and use a restriction on the FolderClass to IPF.Appointment that should return all the Calendar folders in a mailbox eg
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="
    http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://sc
    hemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xml
    soap.org/soap/envelope/">
    <soap:Header>
    <t:RequestServerVersion Version="Exchange2013_SP1" />
    </soap:Header>
    <soap:Body>
    <m:FindFolder Traversal="Deep">
    <m:FolderShape>
    <t:BaseShape>AllProperties</t:BaseShape>
    </m:FolderShape>
    <m:IndexedPageFolderView MaxEntriesReturned="1000" Offset="0" BasePoint=
    "Beginning" />
    <m:Restriction>
    <t:IsEqualTo>
    <t:FieldURI FieldURI="folder:FolderClass" />
    <t:FieldURIOrConstant>
    <t:Constant Value="IPF.Appointment" />
    </t:FieldURIOrConstant>
    </t:IsEqualTo>
    </m:Restriction>
    <m:ParentFolderIds>
    <t:DistinguishedFolderId Id="msgfolderroot" />
    </m:ParentFolderIds>
    </m:FindFolder>
    </soap:Body>
    </soap:Envelope>
    Cheers
    Glen

  • Adobe Bridge CC Smart Collections are not displaying all images in the folder

    I'm having an issue with Bridge CC were I setup a smart collection to monitor my new photos. The folder contains over 300 photos, but is only displaying 160. The only condition I set is to have a minium file size of 10kb, so it should bring in all files since most are over 4mb. At first I thought it was a problem with the files themselves (permissions or something) but if I open the folder in bridge it easily displays all of the images easily. Any ideas?

    I'm having an issue with Bridge CC were I setup a smart collection to monitor my new photos.
    You might want to describe this workflow a bit more. Do you create this from an existing folder or are you adding new photo's?
    A Smart Collection does not refreshes it self automatically. You either have to use the edit icon top right of the content panel to save again or deselect and select the collection itself to let it refresh the content.

  • Display all images in a folder

    Hi I want to display all the jpg images stored in my images folder. Is there a way to do this in JSP, JSTL or Applets?

    Is this supposed to work?Next time you post code, please use [code] tags (try the [code] button when you post...)
    public String getCode() {
    File dir = new File ("http://localhost:8084/TesteFile/images");
    No, you don't make a file from a URL like that. The File object will have to be made to the machine's local file system. One way to do it is to get the real path for the images in a servlet, and pass it on to the bean or method doing this work... example:
    //in servlet - returns path to C:\local\Tomcat\webapps\TestFile\images
    //on windows machine with a servlet in the TestFile context...
      String imagesPath = getServletContext().getRealPath("/images");
      String[] getImageNames(imagesPath);
    //in the class/the method doing the work
      public String[] getImageNames(String imagesPath) {
        File dir = new File(imagesPath);
    Filtro f = new Filtro ();
    String [] lista= dir.list();To get the list of files that have the extension you want, do more like this:
        String[] lista = dir.list(new Filtro());
    for (int i=0; i < lista.length; i++) {
    code.concat(lista[i]); }
    return code;
    Not sure why you would want to concatenate all the file names together, but hey whatever...
    Class Filtro is shown below.
    public class Filtro implements FilenameFilter{
    /** Creates a new instance of Filtro */
    public Filtro() {
    public boolean accept(File dir, String fileName)
    ame) {
    fileName = fileName.trim().toLowerCase();
    return (fileName.endsWith("jpg") ||
    jpg") || fileName.endsWith("jpeg"));

  • Exclude *All* Subfolders From Smart Folder Search

    I know how to make a Smart Folder search two different directories and retrieve results from each (e.g. /Applications and /Developer). I've also seen disscusions here on excluding particular subfolders, but to no avail. So here's a simpler request: is it possible to exclude all subfolders from a Smart Folder query? Suppose I have the following directory structure:
    Foo/
    A.txt
    B.txt
    Bar/
    C.txt
    D.txt
    Baz/
    E.txt
    F.txt
    G.txt
    Given a search for *.txt files, I'd like the following result:
    FooSearch.smartSearch
    A.txt
    B.txt
    G.txt
    Possible or no?

    I have a similar issue, but want to exclude results that are within Mail. 

  • How to Display All Contacts From Gmail ..?

    I hate Blur.  There's something there that only shows a subset of my Gmail Contacts.  I know on my wife's Ally and my OLD Nexus One I just went in and added the extra "groups" but I don't see that on the X. 
    How do I get to see all my Gmail contacts?
    Update: looks like it's only displaying My Contacts from Gmail, not the groups I have.

    So is the only way to get all contacts to sync across (or at least, to appear; they are on the phone, just not displaying - search and you can find them) is to make them all in the My Contacts group in Gmail?  That is pretty silly.  Isn't there another way?

  • Very Slow FTP from Root folder only

    We manage several clients with Dreamweaver CS3. Only one client is having a problem with slow FTP transfers for files exclusively in the root folder of the site. This client is using Check In/Check Out. 
    If you SAVE AS the file to a directory in the site - that file no longer has an issue - it's just the files saved in the root folder.  When attempting to upload one of these files, Dreamweaver appears to freeze for several minutes and then tells you that it has transferred the file. If you select several files in the root folder to upload, the same thing happens but only one file transfers.
    I'd appreciate anyone with a similar experience to weigh-in here. Is there any way to fix this problem?

    I think I discoverd something. I have two different frames that I paste inline in some text in a table. The one is an .ai file and the other is a text frame.
    The text frame created in InDesign has a paragraph style and a character style. When I paste the frame with the .ai file it pastes quickly and the text tool returns for use almost immediately. When I paste the frame with the text it takes a while to display and about 10 seconds to return the text tool for use.
    Has anyone seen this behavior?

  • Displaying All Values from a Multiple Value Parameter

    Hi,
    Using XI, I have a parameter field that allows the user to enter multiple values Eg. 01, 02, 13, 14.  I want to create a formula to display all the values the user has selected. 
    Is there a way to do this? 
    Thanks,
    Brian

    join({?Parameter},",")
    creates a string with the items in your parameter separated by commas

  • Read all Files from a Folder on Server

    Hi,
    Can anyone help me in finding if there's any way to read all files in a folder on the server?Any Function module or anything.
    Thanks

    On App server?  Try this sample program.
    report zrich_0001 .
    data: begin of itab occurs 0,
          rec(1000) type c,
          end of itab.
    data: wa(1000) type c.
    data: p_file type localfile.
    data: ifile type table of  salfldir with header line.
    parameters: p_path type salfile-longname
                        default '/usr/sap/TST/DVEBMGS01/data/'.
    call function 'RZL_READ_DIR_LOCAL'
         exporting
              name           = p_path
         tables
              file_tbl       = ifile
         exceptions
              argument_error = 1
              not_found      = 2
              others         = 3.
    loop at ifile.
      format hotspot on.
      write:/ ifile-name.
      hide ifile-name.
      format hotspot off.
    endloop.
    at line-selection.
      concatenate p_path ifile-name into p_file.
      clear itab.  refresh itab.
      open dataset p_file for input in text mode.
      if sy-subrc = 0.
        do.
          read dataset p_file into wa.
          if sy-subrc <> 0.
            exit.
          endif.
          itab-rec = wa.
          append itab.
        enddo.
      endif.
      close dataset p_file.
      loop at itab.
        write:/ itab.
      endloop.
    Regards,
    Rich Heilman

  • Ipad contacts not displaying all fields from mac address book, ipad contacts not displaying all fields from mac address book

    After syncing mac address book to ipad contacts, the ipad does not display all the fields that were in Mac address book (in my case all the email addresses).  Anyone have a fix?

    I have a problem similar to DeeRun's.. I would like the IM fields to be synced.. I use them to send e-mails to when the e-mail field is empty or when i just want to use that specific address.. Very annoying, would take hours if not days to transfer all those IM adresses to e-mail fields in addressbook..
    EDIT: not to mention the mess it would make in my address book!
    Message was edited by: 1NStanley

  • How to move all files from a folder for a user to a centralized folder on a core server with a GP

    Hello,
    I was curious if someone know how to move all the files of a user "local" profile on a Terminal Server to that of a centralized server where the "local" profile of like the user desktop, favorites, setting, etc are stored in the event
    the local profile on the TS become corrupt it can pull from this server...
    The problem I have is no matter what I tell users to save there files to our Y drive that is a folder that is synced
    across all 6 of our TS servers, users still store files on there desktops, so as you can imagine if one day they are on one server, then next day they could be on another and there files aren't the same.... hence the reason why I want to move all there files
    to the centralized server so when I redo the profiles from scratch on the TS server in the farm they suck files from the core server and have all of the files they are used to having.... 
    So I was curious and I've heard from some this is possible in a GP, but I'd like to move the contents of all 6 TS for
    each user or if I have to d this on  per user basis I will, just looking for a way to move the files....

    Hi Trevor,
    To move all users’ desktop to a server, we can use Folder Redirection to do this. The path for Folder Redirection is:
    [Group Policy Object Name]\User Configuration\Policies\Windows Settings\Folder Redirection
    In this situation, we can choose to redirect desktop to the root of a network file share or a folder on a network share.
    Regarding how to configure this, the following article can be referred to for more information.
    Configuring Folder Redirection
    http://technet.microsoft.com/library/cc786749.aspx
    Hope it helps.
    Best regards,
    Frank Shen

  • How to move all files from a folder for a user to a centralized folder on a core server

    Hello,
    I'm curious if there is a batch file that can be made to move the contents that are setup like this....
    I'm having to redo a TS cluster and I'd like to make a batch file script that can be executed that moves the contents of say 'jsmith's local desktop profile @ \\NGTTS1\users\jsmith to a centralized folder on our roaming desktop profile server that saves
    all of the files for the desktops @ \\NGTFS1\users\jsmith.
    The problem I have is no matter what I tell users to save there files to our Y drive that is a folder that is synced across all 6 of our TS servers, users still store files on there desktops, so as you can imagine if one day they are on one server, then
    next day they could be on another and there files aren't the same.... hence the reason why I want to move all there files to the centralized server so when I redo the profiles from scratch on the TS server in the farm they suck files from the core server and
    have all of the files they are used to having.... 
    Now I know I can do this with a MOVE command I've just never done one to this exact.
    Hopefully someone knows the command to move all the contents of one folder on one server to the folder on a different server. I've already got the bulk of the coding done of the .bat script I just don't know this move command:
    would it be this:
    move \\NGTTS1\users\jsmith *.* \\NGTFS1\users\jsmith
    any help would be appreciated, I'm sure this is a easy command to do!
    This is the coding I have so far....
    @echo off
    color 0A
    title Moving Local Profile folder to Centralized Profile Folder on Core Server.
    :start
    echo Welcome, %USERNAME%
    echo What would you like to do?
    echo.
    echo 1. Moving Local Profile folder to Centralized Profile Folder on Core Server
    echo. 
    echo 0. Quit
    echo.
    set /p choice="Enter your choice: "
    if "%choice%"=="1" goto Move-user-profiles
    echo.
    if "%choice%"=="0" exit
    echo Invalid choice: %choice%
    echo.
    pause
    cls
    goto start
    :Move-user-profiles
    echo.
    set /p profile="Enter user profile: "
    move "\\NGTTS1\users\%profile%" *.* "\\NGTFS1\users\%profile%"
    echo moving files from local profile folder to FS1 profile server, stand-by...
    echo.
    goto cancel-special 
    :cancel-special
    set /p cancel="Type cancel to stop action: "
    if not "%cancel%"=="cancel" exit
    cls
    echo Action is cancelled.
    echo.
    pause
    exit

    In Windows we would do this using Group Policy.  There is a Policy setting that csn move the Desktop folder to any server you want to move it to.  Once set it will automatically do this for you.
    You should post in the Group Policy forum to find out how we use Group Policy to manage users profiles in Windows.
    You cannot use a script to relocate a users Desktop folder.  The desktop is locked by the time the users logon script is finished running.  It the desktop and profile are already being managed by Group Policy then this can only be done with GP.
    There are also numerous issues associated with deployment and re-deployment that you need to address  Post your questions in the Winows Deployment forum to get assistance with deployment issues.
    Again - want you are asking is not generally possible because of how Windows is designed.  This would only likely work on a simple system or on a stand alone PC and then only under a very limited set of circumstances.
    Use GP folder redirection to do this.  For deployment use Deployment Forum and for TS specific issues post in the RDS forum. 
    All of  this needs to be considered correctly for TS users inn a TS Cluster environment. (TS Cluster?? - not sure what you mean by that.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Is there any way to forward/archive/access regular text messages if you have to erase your phone and re-set it as a new phone?

    I have some major errors in my operating system and was told that I have to erase my phone and then set it up as a new phone.  I have a lot of messages I'd like to be able to keep and have access to after the reset.  Is there any way to copy/sore/arc

  • Premiere Pro with Blackmagic Intensity Pro; Importer

    I'm using a Blackmagic Intensity Pro with Premiere Pro. I don't Import anything with it directly, i just use it to preview my timeline on a seperate monitor. The issue I have is when I try to import a AVI-file to my project before I had the Intensity

  • Installing iphoto 6 on my PC

    I want to be able to share my pictures with my wife and mother in law only they both have pcs. Is it possible to download iphoto on their computers. I burned a dvd of my whole iphoto library and the wifes pc can not read it. Any suggestions? She has

  • Help to write a join condition in oracle

    DB=10.2.0.5 OS=RHEL 4 SYS@MYDB> desc ENTERPRISEGROUPWAG Name Null? Type WORKINGASSETGROUPINGID NOT NULL NUMBER(18) GROUPID NOT NULL NUMBER(9) ACTIVEDATE NOT NULL DATE INACTIVEDATE DATE LASTMODIFIED DATE BATCHID NUMBER(18) ENTERPRISEGROUPWAGID NUMBER

  • Java program in XP - Please Help

    Hi, I am not sure if I am in the right fourm. I am not a developer, but a network engineer trying to help out my wife. My wife uses a java program to monitor the company she works for web site, which is not linked to a web browser. When she received