Adding subnodes to nodes of main rootnode

how to add subnodes to nodes of main root node by picking the names of the subnodes from the database.
Also tell me how to add action listener to the treenodes so that on clicking the subnode, i should be able to get name of the subnode.

Have you read the docs for the class in question? If so, did you see some sort of add method listed? Was there something you didn't understand about it? Is your question about the tree, or about selecting records from the database?
Action listeners - no idea.
http://java.sun.com/j2se/1.4.2/docs/api/

Similar Messages

  • Adding additional j2ee node

    Hello,
    we are running BI 7 - abap+java stacks with 16 GB ram (recently added)
    i would like to know what is the thumb rule for adding additional j2ee node?
    when is it neccassary to add additional j2ee node?
    Regards,
    Moshe

    Hi,
    The JLaunch starts a Java program. It loads the JVM into its own address space and then represents the required cluster element. The program can receive notification from the JControl process via named pipes to stop the cluster element, and terminates, if the JControl stops running (fork emulation under Windows).
    So Jlaunch consuming high CPU time means that server, dispatcher or bootstrap process consume it. If there are not enough system or application threads avaliable means that the engine must buffering requests for web application or system processes. Things to check in this case are:
    SAP NOTE 1016241 - J2EE Engine hangs because of unsufficient system threads
    SAP note: 716604  and upgrade JDK.
    SAP note: 723909 -> set correct VM parameters
    and if issue persists, then you will need to analyse the application causing teh leak...
    SAP note: 1259465: Memory analyser.
    Regards,
    Hemanth

  • [svn] 1053: Basic and custom security-constraint samples were added to the team app mainly for the doc team to have a reference .

    Revision: 1053
    Author: [email protected]
    Date: 2008-04-01 11:35:28 -0700 (Tue, 01 Apr 2008)
    Log Message:
    Basic and custom security-constraint samples were added to the team app mainly for the doc team to have a reference. The custom authentication sample uses the new ChannelSet.login and ChannelSet.logout methods.
    Modified Paths:
    blazeds/branches/3.0.x/apps/team/WEB-INF/flex/remoting-config.xml
    blazeds/branches/3.0.x/apps/team/WEB-INF/flex/services-config.xml
    Added Paths:
    blazeds/branches/3.0.x/apps/team/features/security-constraints/
    blazeds/branches/3.0.x/apps/team/features/security-constraints/README.txt
    blazeds/branches/3.0.x/apps/team/features/security-constraints/securityConstraint_Basic.m xml
    blazeds/branches/3.0.x/apps/team/features/security-constraints/securityConstraint_Custom. mxml
    Removed Paths:
    blazeds/branches/3.0.x/apps/team/features/remoting/remoting_AMF_SecurityConstraint_Basic. mxml

    Congrats to Carmelo!
     Windows Phone and Windows Store Apps Technical Guru - February 2015  
    Carmelo La Monica
    Windows Phone 8: control Nokia Maps (Part 3)
    JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
    Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
    article!"
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Can i see the inner nodes in main window(smart forms)

    I am creating 2 nodes (let us say text nodes) in main window or secondary window whatever it is.
    Now what I want is to see those 2 node on form painter. At present I am unable to see those. Is there any way to see the inner nodes in windows.

    Hi,
    you cannot see them in form painter, it is not possible .but you can include what ever you want by switch off the form painter and add the nodes.
    Regards
    vijay

  • Manual of adding the new node on RAC with ASM

    Hello everbody
    Someone have the manual of the adding a new node on RAC with ASM for Solaris ?
    regards
    Spaulonci

    Go to http://www.oracle.com/technology/documentation/index.html, select your unknown database version and search for a manual named 'Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide'.
    Werner

  • Reading a subnode and mapping to main node

    Hi Guru
    I have a node with subnode with no singleton. I'm able to display dropdown (using index) in table (not ALV) using subnode. After the user selects dropdown and enters values in other columns, I have to capture all the values in table including dropdown in background. If I read the node using get_static_attributes_table, I'm able to capture the entire table except dropdown as its populated thru subnode. Please let me kow how can I capture everything in a single shot.
    Your help will be appreciated.
    David.

    >
    david santi wrote:
    > Hey Thomas,
    >
    > Thanks for your response. Would be great if you can provide sample code for this.
    >
    > Thanks,
    > David.
    For what? Reading the subnode by Lead Selection?
    For that you just need to get the element set of the parent table.  Then loop through this element set and read the subnode for each parent element.
    data lr_nd_course_assign type ref to if_wd_context_node.
      data lr_nd_course_***_att type ref to if_wd_context_node.
      lr_nd_course_assign = wd_context->path_get_node( path = `COURSE_DETAILS.COURSE_ASSIGN` ).
      data lt_assign_elements   type wdr_context_element_set.
      field-symbols: <ls_element>     like line of lt_assign_elements.
    lt_assign_elements = lr_nd_course_assign->get_elements( ).
      loop at lt_assign_elements assigning <ls_element>.
        lr_nd_course_***_att =  <ls_element>->get_child_node(
            name = wd_this->wdctx_course_***_att ).
    "do your processing on the leadSelection element of the child node now that you have its reference.
      endloop.

  • Error while adding the secondary node in shared APPL_TOP.

    Hi,
    We are getting the below error , when trying to add the secondary node in shared APPL_TOP .
    We ran the commnad.
    perl -I <AU_TOP>/perl txkSOHM.pl
    AutoConfig is configuring the Applications environment...
    AutoConfig will consider the custom templates if present.
    Using APPL_TOP location : /u2590/oracle/oaq5appl
    Classpath : /u2590/oracle/oaq5comn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u2590/oracle/oaq5comn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u2590/oracle/oaq5comn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u2590/oracle/oaq5comn/java/appsborg2.zip:/u2590/oracle/oaq5comn/java
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/ad/autoconfig/oam/CtxSynchronizerException
    at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1548)
    at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:709)
    ERROR: Context Value Management Failed.
    Terminate.
    The logfile for this session is located at:
    /u2590/oracle/oaq5comn/admin/log/oaq5_qn2lx793/txkSetSOHM_ac.log
    txkSOHM.pl successfully completed
    Regards

    Hi,
    Is this the complete error message?
    Any more details about the error in the log file?
    Do you have the latest AutoConfig patch applied?
    Regards,
    Hussein

  • Problem with 2 tables nodes in MAIN window in smartforms...

    Hello Experts,
    I have created 2 table nodes in my MAIN window to display data coming from different internal tables.
    Now, the problem is that whenever the 1st table node page breaks, the 2nd table node gets affected
    and it also page breaks. What I want is that the 2nd table must finish displaying certain number of records
    before the page break of the 1st table node takes effect.
    For example, I want to display 10 records for both table nodes 1 and 2. So I created an event in
    table node 1 that if it is 10 records or more, then it will go to the next page. So in effect, my table
    2 node did not print any records at all in the 1st page and it only started printing its first record in page 2.
    How do I print 10 records also in table node 2 before it page breaks?

    Hi,
    It's simple,
    Pre- U should had declared a second page for the same window with header, main & footer.
    now
    First when u r looping the internal table provide no of rows eg Row 1 TO 10. in the Loop ( Data Tab)
    or
    when defing TEXT Go to PC Editor and mention all the fields Under  PROTECT -  ENDPROTECT.
    This would solve the issue.
    Thanks
    Ravi

  • Parent of Top node is getting added as Orphan node

    Hi ,
    When I am trying to import the below test import file in DRM 11.1.2 -
    [hier]
    Product|P000000
    [node]
    P000000
    [relation]
    P000000|None|Total Product|True
    the parent of top node P000000 which is 'None' as defined in System preferences , is getting added as an Orphan node. We dont want any orphan node to be created.
    Can someone please help in avoiding this.
    Thanks for the help in advance!!
    Edited by: user10979332 on Jun 26, 2011 9:16 PM

    Hello
    Try to exclude the [relation] section:
    [hier]
    Product|P000000
    [node]
    P000000|Total Product|True
    This will allow you to create the Hierarchy with TopNode and to fill the attributes of TopNode.

  • Question about adding an Extra Node to SOFS cluster

    Hi, I have a fully functioning SOFS cluster, with two nodes, it uses SAN FC storage, Not SAS JBODS. its running about 100VM's in production at the moment.
    Both my nodes currently sit on one blade chassis, but for resiliency, I want to add another node from a blade chassis in our secondary onsite smaller DC.
    I've done plenty of cluster node upgrades before on SQL and Hyper-V , but never with a SOFS cluster. 
    I have the third node fully prepaired, it can see the Disks the FC Luns, on the SAN (using powerpath, disk manager) and all the roles are installed.
    so in theory I can just add this node in the cluster manager and it should all be good, my question is has anyone else done this, and is there anything else I should be aware of, and what's the best way to check the new node will function , and be able
    to migrate the File role over without issues. I know I can run a validation when adding the node, I presume this is the best option ?
    cannot find much information on the web about expanding a SOFS cluster.
    any advice or information would be greatfully received !!
    cheers
    Mark

    Hi Mark,
    Sorry for the delay in reply.
    As you said there is no much information which related to add a node to a SOFS cluster.
    The only ones I could find is related to System Center (VMM):
    How to Add a Node to a Scale-Out File Server in VMM
    http://technet.microsoft.com/en-us/library/dn466530.aspx
    However adding a node to SOFS cluster should be simple as you just prepared. You can have a try and see the result. 
    If you have any feedback on our support, please send to [email protected]

  • Adding Java Server nodes Causes msgs to send multiple times

    i added 2 more server nodes in our system for load distribution and after turning on the comm channel, i see that every msg goes three times now.
    I have tried removing these 2 server nodes and then it sends it one time only. I dont know whats wrong and why it sends a msg three times with three server nodes.
    Can anybody help me with this?
    Thanks
    Farrukh

    With which adapter(s) are you having this issue ?  I had a consultant from SAP tell me to avoid multiple JVM nodes with JDBC, and maybe he said file too.  He didn't have a solution, just sounds like it doesn't work too well (yet).

  • Improve Portal performance with BI-Java by adding additional server node.

    Hi SAP Expert
    I wonder anyone might have attempted this before,
    In an environment with BI-Java and Portal Java stack installed on the same server, is it possible to improve the system performance by adding additional portal server node? or is there any improvement seen by adding the extra server node?
    I am after suggestion and experience on how the portal performance can be improve, with consideration of BI-Java sharing Portal resources.
    Any comment will be most appreciated.

    Hi Jim,
    We've this configuration at our site, Portal and BI running together (not federated).  Recommendations would be to:
    1. Set a sensibly large max heap size on each server node of Portal (at least 2GB if not larger) and implement several nodes at least.  For example we have 4 x physical nodes, each running 3 server nodes of 2GB max heap size apiece so a total of 12 nodes.
    2. Implement the BI Safety Belt for large results sets (1127156)
    3. Implement the latest JVM / JDK you can on your environment.  We found much improved performance after implementing JDK SR10 with the J9/2.3 options enabled e.g.,  -Xjvm:j9vm23
    -Xsoftrefthreshold0
    4. Patch your BI components on the Portal (BIBASES, BIWEBAPP etc) to the latest available patch level for your Portal SP level
    5. Make sure all your RFC connections are load balanced to the backend and tuned for the kind of load you expect on your reports, and the BI is sized appropriately in terms of app servers and dialog work processes, RFC-enabled login groups in SMLG etc.
    6. Consult notes 1048691 (especially useful, opions &PROFILING=X&TRACE=X added to reports for example for performance tracing), 937697, 1021921, 948158 for information about problem analysis for this scenario
    7. Implement SAP Web Dispatcher for Portal to reduce load on static mime files
    8. Tune the Portal application.  There's plenty information on SDN related to Portal performance tuning.
    I hope this helps!
    Cheers,
    Marc

  • Ocrmirror gets added on one node not on another node 11gr2 RAC on AIX 5.3

    Hi,
    I created another external diskgroup for redundancy and added ocr on to it and got added successfully on node1 but not on another node in a two node cluster,please find the below outputs.
    node1:
    mvx20b:/>ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 3
    Total space (kbytes) : 262120
    Used space (kbytes) : 3064
    Available space (kbytes) : 259056
    ID : 1640695116
    Device/File Name : +CRS_DATA
    Device/File integrity check succeeded
    Device/File Name : +crs_data1                                        ------>newly added ocr
    Device/File integrity check succeeded
    Device/File not configured
    Device/File not configured
    Device/File not configured
    Cluster registry integrity check succeeded
    Logical corruption check succeeded
    node 2:
    mvx21b:/>ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 3
    Total space (kbytes) : 262120
    Used space (kbytes) : 3064
    Available space (kbytes) : 259056
    ID : 1640695116
    Device/File Name : +CRS_DATA
    Device/File integrity check succeeded
    Device/File not configured
    Device/File not configured
    Device/File not configured
    Device/File not configured
    Cluster registry integrity check succeeded
    Logical corruption check succeeded
    mvx20b:/home/gmvmxu1>cluvfy comp ocr -n all
    Verifying OCR integrity
    Checking OCR integrity...
    Checking the absence of a non-clustered configuration...
    All nodes free of non-clustered, local-only configurations
    ASM Running check passed. ASM is running on all cluster nodes
    Checking OCR config file "/etc/oracle/ocr.loc"...
    OCR config file "/etc/oracle/ocr.loc" check successful
    Disk group for ocr location "+CRS_DATA" available on all the nodes
    Disk group for ocr location "+crs_data1" available on all the nodes
    Checking OCR device "+CRS_DATA" for sharedness...
    Checking size of the OCR location "+CRS_DATA" ...
    mvx20b:Size check for OCR location "+CRS_DATA" successful...
    mvx21b:Size check for OCR location "+CRS_DATA" successful...
    Checking OCR device "+crs_data1" for sharedness...
    Checking size of the OCR location "+crs_data1" ...
    mvx20b:Size check for OCR location "+crs_data1" successful...
    mvx21b:Size check for OCR location "+crs_data1" successful...
    WARNING:
    This check does not verify the integrity of the OCR contents. Execute 'ocrcheck' as a privileged user to verify the contents of OCR.
    OCR integrity check passed
    Verification of OCR integrity was successful.
    mvx21b:/home/gmvmxu1>cluvfy comp ocr -n all
    Verifying OCR integrity
    Checking OCR integrity...
    Checking the absence of a non-clustered configuration...
    All nodes free of non-clustered, local-only configurations
    ERROR:
    PRVF-4194 : Asm is not running on any of the nodes. Verification cannot proceed.
    OCR integrity check failed
    Verification of OCR integrity was unsuccessful on all the specified nodes.
    SQL> select name,state,inst_id from gv$asm_diskgroup order by inst_id;
    NAME STATE INST_ID
    MVMXU1_DATA MOUNTED 1
    MVMXU1_REC MOUNTED 1
    CRS DISMOUNTED 1
    CRS_DATA MOUNTED 1
    CRS_DATA1 MOUNTED 1------mounted
    MVMXU1_REC MOUNTED 2
    MVMXU1_DATA MOUNTED 2
    CRS MOUNTED 2
    CRS_DATA MOUNTED 2
    CRS_DATA1 MOUNTED 2-------->mounted
    Please let me know where to look or how to add it to 2nd node.
    Thanks
    Edited by: user9097501 on Oct 21, 2010 6:37 AM
    Edited by: user9097501 on Oct 21, 2010 7:10 AM

    Issue got resolved with ML "The CRS Daemon Fails to Start with 'my hash ids don't match' in the Crsd.log [ID 855932.1] "
    Thanks

  • JTree adding to expanded nodes

    Hey,
    I'm writing a program that contains a JTree with two parent nodes and child nodes that are added/removed on demand.
    Basically I can't add child nodes while the parent node is expanded. Following the code it actually does add it, just does not update the display.
    I've tried validate/repaint/anything I could find that may be of some help with no luck.
    Any ideas?
    Thanks in advance :)

    What do you think about the library I created which
    addresses this issue?
    Denis Krukovsky
    http://dotuseful.sourceforge.net/
    I looked at your site and spent 20 minutes trying to figure out why your classes are useful. It's not at all clear why someone should use them. I also looked over your previous posts, but you never seem to explain why someone should use them.

  • 12c OEM Installation -- adding a OMS node

    Hi Experts,
    I gone through the steps mentioned in the below document for adding an additional OMS node for the existing OEM with one OMS.
    =====================================
    Oracle® Enterprise Manager
    Cloud Control Basic Installation Guide
    12c Release 1 (12.1.0.1)
    E22624-12
    7 : : Adding Additional Oracle Management Service
    =================================
    This procedure deals with adding the adding OMS using "Add Additional OMS Deployment Procedure".
    My question is , is this the only method we have to add the additional OMS to the OEM 12c ? or do we have any other method to perform this ?
    Please let me know if there is any other method other than one mentioned above.

    The recommened way to do an additional OMS install is using deploymnet procedure but you can also do an silent OMS install as well , where you have to run all the steps manually on the server.
    if you have any security restrictions or audit demands in your environment, or if you are not permitted to use Oracle credentials to log in over the network for installation, then follow these steps to manually install an additional OMS in silent, non-interactive mode.
    http://docs.oracle.com/cd/E24628_01/install.121/e24089/appdx_addln_oms.htm#EMADV467

Maybe you are looking for