How to set a RichTree (af:tree) as readonly?

There is no "readonly" property.
editingMode supports 2 options only: click to edit, edit all.
The doc http://docs.oracle.com/cd/E38668_01/apirefs.111230/e17488/oracle/adf/view/rich/component/rich/data/RichTree.html says
"When a tree is rendered as readOnly, the editingMode attribute is ignored".
So how to reader it as readonly?
Thanks.

editingMode by default (no set it) is "editAll". My use case is if a user has permission, the tree is readonly for him.
I achieved it by setting the components as readonly in nodeStamp.

Similar Messages

  • How to set and reset a file as readonly and hidden

    Hi all
    I am trying to produce the explorer as it is in windows. I am using Jtable instead of JTree. I want to show properties for each and every folder or file. While showing properies i want the user to set the file as readonly and sometime he doesn't want to. How to do it?
    I have used the option setReadOnly in the FIle class for setting but i dont know how to reset to not read only.
    Can someone produce code for Jtable explorer with all features.
    Lakshmi

    Search for exporting in the help file
    Not all for PProCC, but The PPro/Encore tutorial list in message #3 http://forums.adobe.com/message/2276578 may also help, with more help in message #5
    PS - rendering is the process of creating temporary files to aid in timeline playback, while exporting creates new files

  • How can we set icon to a tree table

    Hi ADF Experts,
    The below is regarding skinning of af:tree table component.
    How can we set icon to a tree table
    Below is the af:tree component. When I run the application I see all the parent and child nodes as folder icon. My question is how can set a file icon to the elements present inside a parent node.
      <af:treeTable value="#{pageFlowScope.MerchandizeTreeModel.productTreeModel}"
                                      id="tt1" var="row"
                                      rowSelection="multiple"
                                      horizontalGridVisible="false"
                                      verticalGridVisible="false">
                          <f:facet name="nodeStamp">
                            <af:column sortable="false" headerText=""
                                       rowHeader="true" id="c11" width="200">
                     <af:panelGroupLayout id="pgl0">
       <af:image source="/images/folder.png" shortDesc="foldericon"
                                id="i1"/>
                      <af:outputText value="#{row.groceryItems}" id="ot11"/>
    </af:panelGroupLayout>
                            </af:column>
                          </f:facet>
                        </af:treeTable>
    Thanks in advance,
    Animesh

    Hi Experts,
    I am having a tree table component in adf. I have set a folder image for the parent node. How can we set a document image for contents inside a parent node.
    Thanks,
    Biswa

  • How to set Tool Tip Text to Tree Node?

    Hi,
    How to set Tool Tip Text to Tree Node in JTree?
    Pls somebody help me to solve it.

    bsampeieri,
    Been here a long time myself. I don't agree with the one post is enough per se. That is to say, sometimes, it helps to post in several groups so that more eyes may see it. A number of forum posters linger in specific forum topics and may not see the post in another forum.
    Now, if in the previous post you/others answered the question and then the OP posted here later, I could see the complaint.
    For the OP, the better way to cross-post is to have one "main" post, then have all the other posts refer back to that one (link to it) so that people aren't duplicating the effort to answer your question(s). A simple "I have cross-posted this to get more eyes on it. Please reply to this question at this post <link here>"

  • Selecting a RichTree component tree node

    Hi,
    How do I get the selected tree node in a RichTree component?. I would like to select the node with the mouse and possibly use the popup menu to initiate an action (e.g. delete). How do I add an item to the popup menu to do this? I'm using the RichTree component in JDev 11g. Any sample code would be helpful.
    Thanks
    Colin

    Colin,
    To perform some operation on node selection within af:tree component you simply need to create a selectionlistener and decorate the tree component with the listener you implemented. For the context-menu you describe the af:tree has an attribute named contextMenuId. Set the value of this attribute to equal the id of an af:popup that contains an af:menu that represents the menu that you want displayed on a right-click. Below is a link to the tag doc for the af:tree component
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/multiproject/adf-richclient-api/tagdoc/af_tree.html
    --Ric                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to set pixels for smoothest -outline, in a design? I am using PhspCS5 TRIAL Grateful for help!

    First, I am not an advanced digital artist rather know (just)basic tools and am quite good with those over the years however, have a new Mac and better
    visibility for sure and have a TRIAL version of PSHP CS5 Extended; what I am asking is: how to set the pixels...to acheive the smoothest outline eg. I
    designs for greeting cards and now working on a Xmas tree, with gold stars, they look best outlined (vy-light=blk) but when I ZOOM IN I see the 'wavy lines
    of the pixels, that are set on 'square'.  I wish to know how to set the pixels* #1 and then as far as colours, when I pick a yellow (there are many!yellows !!)
    and use my Intuos pen, 'tap tap tap' on the designs (yellow of the star) it does NOT register ....(it did on my other computer and older CS4).  So going
    back, to my colour swatches, to ...remember just which yellow I picked...ha ha....can be: "not so fast!"  
    I will be buying this on Subscription at the end of the trial and my bet is that the colour picker/will work on the purchased version when I 'tap tap' to pick up the
    same colour II had chosen.  Wouldn't it be good to have a monitor of sorts that tells you, what colour(s)one has been using, when you NEED to know, to go
    on with the 'design' say after a break for tea etc.  ?????  (    :
    I save my designs when done JPEGs, and see now there is a JPEG 2000...I have no idea what that is all about.  I save (1)pdf and one jpeg.  Hope this sounds
    like what  one 'does' ...when one knows far more than I do.
    And lastly,  what program or tool, can one use to put a 'frame' (border) around a eg: 5 x 7 design (again, my goal is for my designs for Greeting Cards.  Is there
    another Adobe products I should have for that.  Free hand hasn't worked out so well, so far.
    I am in advance, so grateful to you - whomever you may be, for your help.  I am on my last 'hoorah' path now hoping for success soon....I am a senior of 71 yrs
    and so feel I need to really 'get going' and learn these basics to assure my chances of success, at least. Merci, Danke & Thank You ! CDW

    Please post in the Photoshop forum.
    http://forums.adobe.com/community/photoshop
    Bob

  • Sun ONE Studio 4 aka Forte: How to set the output path for classes ?

    Help !
    Beginner's question:
    Sun ONE Studio 4 aka Forte:
    How to set the output path for classes ?
    As default, the class files are created in the same directory as the
    sources.
    In opposite, both JBuilder and Together support that there is a tree
    with the sources and another tree with the classes.
    The first answer I got was "not possible with Forte, but just if you write your own "ANT Build script" !
    a) Please point me to a ready-to-use ANT script for this purpose, if such is available
    b) Is using ANT instead of the MAKE as comfortable ? Besides the separation of sourcecode and classes, I would like to keep everything else to be the same, i.e. I don�t want to edit the ANT file if I enlarge the project by directories or files.
    Tia
    Sincerely
    Rolf

    You can set S1S's options to place newly created .class files in a specific location.
    Identify the compiler that is being used - Open the S1S's Tools/Options window, expand Editing and select Java Sources. Note the Default Compiler value. (If it's one if the Ant options, you use Ant to specify this option, not S1S.)
    Open the S1S's Tools/Options window, expand Building/Compiler Types and select the appropriate compiler.
    The Properties tab of the compiler has the property Target, which sets the filesystem where the compiler output is directed. If you choose <not set>, the .class files are written to their source directory.
    When you set the Target, your change affects all classes that use this compiler.
    Very few options can't be set in S1S; the challenge is finding out where they're set!

  • How to set the page size

    Hi,
    How to set the page size of a B tree node in berkeley db java edition?
    thanks.

    The two systems have different performance characteristics. If you are concerned with the performance characteristics, then the best way to tell is to benchmark them.
    By the way, both BDB and BDB JE are B-trees.

  • How to set 'Material Master' tab as default in standard transaction CG54?

    Hi All
    I am having a requirement to call the transaction CG54 from a custom program. On calling the transaction, I need to put some default values to the input fields and the default tab selected should be 'Material Master'. I am able to default input fields using BDC Transaction call. Can anybody guide me how to set Material Master tab as the default tab selected?
    Thanks in advance
    Rinzy Deena Mathews

    Hi All
    Solved the issue by myself.
    Initialization of tab in transaction CG54 is based on the values in the standard table TCGSGP - EHS: Search parameter (reproduction from SET/GET memory).
    Calling of the transaction CG54, with default values and parameters can be done with the help of following standard function module:
    *-- Types
      TYPES : BEGIN OF t_obj_tab.
              INCLUDE STRUCTURE rcgapplobj.
      TYPES : END OF t_obj_tab.
      TYPES : tt_obj_tab  TYPE t_obj_tab OCCURS 20.
      TYPES: BEGIN OF t_zplm02,
               sbgvid TYPE zppr_de_sbgvid,
             END OF t_zplm02.
    *-- Internal Tables
      DATA: li_obj_tab    TYPE tt_obj_tab WITH HEADER LINE,
            li_report     LIKE rcgstdrecn OCCURS 20 WITH HEADER LINE,
            li_variant    LIKE rcgstdrecn OCCURS 20 WITH HEADER LINE,
            li_subid_tab  TYPE espre_subid_rep_tab_type WITH HEADER LINE,
            li_report_m   LIKE rcgstdrecn OCCURS 20 WITH HEADER LINE,
            li_variant_m  LIKE rcgstdrecn OCCURS 20 WITH HEADER LINE,
            li_subid_tab_m TYPE espre_subid_rep_tab_type WITH HEADER LINE,
            li_zplm02     TYPE STANDARD TABLE OF t_zplm02.
    *-- Structures
      DATA: ls_addinf     TYPE rcgaddinf,
            ls_rcgradmsel TYPE rcgradmsel,
            lw_zplm02     TYPE t_zplm02.
    *-- Variables
      DATA: lv_trtype     TYPE rcgdialctr-trtype VALUE 'D',
            lv_actype     TYPE rcgdialctr-actype VALUE 'D',
            lv_viewappl   TYPE tcgl3-repappl     VALUE 'MATMASTER',
            lv_sel_valdat TYPE rcgradmsel-valdat,
            lv_sel_langu  TYPE rcgradmsel-langu,
            lv_ucomm      TYPE syucomm,
            lw_gen        TYPE char10,
            lv_flag       TYPE esp1_boolean,
            lv_werks      TYPE werks_d,
            lv_bsbgvid    TYPE zppr_de_bsbgvid.
    *-- Parameters
      ls_addinf-aennr      = sy-datum.
      ls_addinf-valdat     = sy-datum.
      ls_rcgradmsel-sbgvid = iw_gen.
      ls_rcgradmsel-matnr  = p_matnr.
      ls_rcgradmsel-namcat = 'MATNR'.
      ls_rcgradmsel-reprefflg = abap_true.
      ls_rcgradmsel-numcat = 'NUM'.
    *-- Application Object
      li_obj_tab-repappl = 'MATMASTER'.
      li_obj_tab-objectkey = p_matnr.
      APPEND li_obj_tab.
    *-- Evaluate selection screen and fill keytab
      CALL FUNCTION 'C1G0_KEYTAB_FILL_FROM_RADMSEL'
        EXPORTING
          i_radmsel             = ls_rcgradmsel
          i_valdat              = ls_addinf-valdat
          i_actype              = lv_actype
          i_flg_popup_no_param  = abap_true
        IMPORTING
          e_flg_cancel          = lv_flag
        TABLES
          i_applobj_tab         = li_obj_tab
          e_keytab_report       = li_report
          e_keytab_variant      = li_variant
          e_subid_refreport_tab = li_subid_tab
        EXCEPTIONS
          OTHERS                = 1.
    *-- Initilize Report Header Buffer
        CALL FUNCTION 'C1AP_ESTDH_BUF_INIT'
          EXPORTING
            i_aennr  = ls_addinf-aennr
            i_valdat = ls_addinf-valdat.
    *-- Parameters
        ls_addinf-aennr      = sy-datum.
        ls_addinf-valdat     = sy-datum.
        ls_rcgradmsel-sbgvid = iw_gen.
        ls_rcgradmsel-matnr  = p_matnr.
        ls_rcgradmsel-namcat = 'MATNR'.
        ls_rcgradmsel-reprefflg = abap_true.
        ls_rcgradmsel-numcat = 'NUM'.
    *-- Application Object
        li_obj_tab-repappl = 'MATMASTER'.
        li_obj_tab-objectkey = p_matnr.
        APPEND li_obj_tab.
    *-- Initial report block tree of information
        CALL FUNCTION 'C1G2_ENTRY_INQUIERY'
          EXPORTING
            i_trtype              = lv_trtype
            i_actype              = lv_actype
            i_addinf              = ls_addinf
            i_viewappl            = lv_viewappl
            i_sel_valdat          = lv_sel_valdat
            i_sel_langu           = lv_sel_langu
            i_rcgradmsel          = ls_rcgradmsel
          IMPORTING
            e_okcode              = lv_ucomm
          TABLES
            i_keytab_report       = li_report
            i_keytab_variant      = li_variant
            i_subid_refreport_tab = li_subid_tab
            i_applobj_tab         = li_obj_tab.
    With Regards
    Rinzy Deena Mathews.

  • Setting the ALV Hierarchy tree with grid line between the columns and rows

    Hi Experts,
    I would like to ask if there is any suggestion on setting the ALV hierarchy tree to be separated by grid line between the columns and rows just like how it is display the same way in normal ALV grid.
    Thanks in advance.

    Hi Lin,
    The requirement which you have stated is not possible.
    Lin,
    Also i have a query regarding BADI ZME_PROCESS_REQ_CUST, which you had raised on SDN. You have marked the question as solved/answered.
    Changing the data of a customize field in purchase requisition
    Could you please let me know, the steps you did to update the screen fields through the BADI.
    I would really appreciate your reply, because i am facing exactly the same problem which you have mentioned.
    Thanks,
    Best regards,
    Prashant

  • How to set different Icons for Jtreenode

    How to set different Icons for Jtreenode,i want to set icons for jtreenode,not only for leaf,open,closeicon,i hope that each node has a different icon.Thanks!

    you need to check for the node value within a renderer, then assign an icon based on what you expect to get back.
    check out this page. http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html

  • How to set color for a tabstrip in BSP

    Hello all,
    Can anyone please let me know how to set color for a tabstripn in BSP?
    I am using the below syntax but it still gives me the default color.
    <htmlb:content design="design2003" >
      <htmlb:page title="test " >
        <htmlb:form>
    <htmlb:tabStrip id         = "TabStrip"
                          bodyHeight = "200"
                          bodyColor  = "red"
                          width      = "700" >
    </htmlb:tabStrip>
    </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Thanks,
    Sandeep

    Hi...
    The below code is working fine for me...
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="stg " >
        <htmlb:form>
          <htmlb:tabStrip width      = "430"
                          bodyColor  = "rgb(88,5,64)"
                          id         = "t1"
                          bodyHeight = "112" >
            <htmlb:tabStripItem id      = "t1"
                                index   = "1"
                                title   = "Sales"
                                tooltip = "My Tooltip for Tab 1" >
              <htmlb:textView text="Tab N 1" />
              <htmlb:tree id        = "treeReports"
                          showTitle = "true"
                          table2    = "<%= mt_nodes %>"
                          title     = "Menu"
                          width     = "100%" />
            </htmlb:tabStripItem>
            <htmlb:tabStripItem id      = "t2"
                                index   = "2"
                                title   = "Production"
                                tooltip = "My Tooltip for Tab 2" >
              <htmlb:textView text="Tab N 2" />
            </htmlb:tabStripItem>
          </htmlb:tabStrip>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>

  • ADF Faces: af:menuTabs - How to set selected tab

    I cannot find any documentation on how to set the selected tab of an af:menuTabs instance.
    Please help.

    Hi,
    the method above works if you manually inserts the menu items into a menu component, but not if you declaratively bind each component to a menu model.
    Following the ADF developer's guide, I created a dynamic menu using menuTabs (Section 11.2 Using dynamic menus for navigation). But somehow I don't get a difference in appearance between the selected and unselected tabs.
    I am also confused with the explanation in the tutorial. It says "The menu model in conjuction with nodeStamp controls whether a menu item is rendered as selected. As described earlier, a menu model is created from a tree model, which contains viewId information for each node. ViewIdPropertyMenuModel, which is an instance of MenuModel, uses the viewId of a node to determine the focus rowKey. Each item in the menu model is stamped based on the current rowKey. As the user navigates and the current viewId changes, the focus path of the model also changes and a new set of items is accessed. MenuModel has a method getFocusRowKey(), which determines which page has focus, and automatically renders a node as selected if the node is on the focus path."
    Any suggestions where I should add code to change the appearance of the selected tab? I am using the default Oracle skin.
    Greetings,
    Birgit

  • TreeByNestingTableColumn - how to set lead selection?

    Hallo Guys!
    I am using TreeByNestingTableColumn in my project. I am searching for a way to select a certain context element inside of the tree shown in such a table. I actually know that setLeadSelection doesn’t work properly in such a case.
    I’ve already read this very helpful blog /people/valery.silaev/blog/2005/06/20/master-of-columns-part-ii searching for a solution, but its seemed not to be there.
    Valery had shown how to read the selected context element recursively, but there is nothing about to how to set the needed lead selection for a certain one.
    In my scenario, I am loading the whole table (10-15 elements) with only two levels of hierarchy. After the user clicks on a button I have to reload this table but keep the selection of the previously selected element.
    The try using getTreeSelection didn’t succeed either.
    Any ideas?
    Many Thanks
    Dimitri
    Edited by: Dmytro Lubenskyy on Apr 1, 2008 3:44 PM

    Hi,
    You can use the following methods to set the selection.
    IWDNodeElement nodeElement = wdContext.nodeOrders().getElementAt(2);
           wdContext.nodeOrders().setTreeSelection(nodeElement);
    Regards
    Ayyapparaj

  • How to set index to tables?

    Hi,
    My database is having more than 50000 tables, I would like to set index to all my tables, please suggest me how to set index to 50000 tables...?
    Thanks
    Giri

    user10737570 wrote:
    Hi,
    My DB version 10.2.0.3.0 running on IBM-AIX....Thanks for it
    As is said earlier my DB consist of 50k tables.
    Each table consist of millions of rows.
    So, while I try to access some rows, It takes more time (especially while running long query)
    Now I decided to set index to the tables by giving
    create index fbind on fdtab(owner);
    so that an index has been created with taking nearly 5 hours.
    so there are thousands of tables left to set the index.....Its an utterly bad idea to create indexes assuming that their presence will make the queries faster. The data selection, predicates, conditions, statistics of the tables, good/bad sql and lastly, optimizer issues, they all play a very important role in the performance. Just assuming that with index creation , your queries will be faster, I don't think its a reasonable thought to have. You have got a lot of tables as per your saying , it would take huge resource and time to create indexes on all of the tables. In addition to this issue, not all the tables would be requiring the similar type of indexes as well. Some may require B-tree while others may rquire Bitmap. Also , you must note that indexes will make dmls more slower. So Ishall again suggest that you benchmark the creation of indexes with a little more care.
    HTH
    Aman....

Maybe you are looking for

  • Getting nowhere

    Well at point of sale I was told my speed is approx 63 even tho the person I spoke to today said there noway I can go faster because I was quoted that speed. I received 74mb from day one but after some bad weather my electric went out around 3-4 time

  • Old ibook as second monitor?

    does anyone know how i could take an old ibook G4 and use it as a second display for my macbook pro? i'm working with final cut and photoshop and would like to have a second display...

  • Acrobat 11 Pro Deskew Broken in Win 7 64 bit

    Tools > Documnet Processomg >Optimize Scanned PDF > make the needed changes to the Filters (Deskew:On, Background removal: Medium, Descreen: On, Text Sharpening: On) Everything works - except deskew.

  • Prepopulate process form of Disconnected Application Instance not working

    Hi All, I have a created a Disconnected application instance (OIM 11.1.2) and need to prepopulate Process form when this will be requested from catalog. Prepopulating is working but not as expected. Exact Situation 1) Login to self service page and s

  • License Probelm  Fail over node.

    Dear Gurus, I am reciving an error while applying the liscense to the fail over server. SAPLICENSE (Release 700) ERROR *** ERROR: Can not set DbSl trace function DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20 RC-INFO: error lo