How to Find the node or leaf node selected in Tree UI element:
Hi All,
I have a tree structure with three level design. We have a button, which will perform some operation on the specific node or leaf node on every level.
When we select any node or leaf node, we have action Onction getting called. But what we want is that, after we select the node or leaf node, we press a button below the tree design and perform some operation on the node selected.
But how to get information that on Application , which node or leaf node has been slected ?
Thanks
PG
Hi,
Found the solution.
Juts keep on reading all the nodes, system gives the complete path of the tree by using Lead selection and then we can use this path to peform the update operation on tree structure.
Thanks alot for the hint.
Regards
PG
Similar Messages
-
How to edit the node value of a tree in webdynpro java
Hi ALL
I have Tree UI element where i got displayed all the nodes by calling the BAPI
Now my requirement is when i put the cursor at any node in the Tree struture then on click of insert button i need to insert the new node with the text , the user has to be option to give new text for the new node dynamically , so while adding the new node in a tree the tree has to choose the text for new node , like how to edit the node of a tree to add new text.
If any one can send the sample code on the same then it would be great help to me.
Similar requirement like in table UI Like however we are adding the new row in a table when we click on the insert button then cursor will go to that new row in a table where user can enter his details in the table.. now i am looking for the same requirement in a Tree UI element.
is it possible the same requirement in tree UI element in webdynpro for Java??
Thanks
kallki reddyHi kallki reddy
In general I think this is not possible in the form you'd like. It seems the Tree control is read-only thing always. It cannot provide editing capabilities.
Table is different thing. You can select within many different cell editors including Input Fields.
I guess that you scenario could be implemented not with Tree control, but with Table with Master Column. The master column allows to bring up a hierarchy into a plain table. So it's just a tree inside a table.
Here you can find further details: [TreeByNestingTableColumn API|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/92/12a74046033913e10000000a155106/content.htm]
BR, Siarhei -
CRS oui failed to find the node
Hi every friend,
I am trying to install the CRS on 2 solaris 9 (VERITAS CFS). But when the oui came to the page "Specify Cluster Configuration" page, The OUI can not find any node and also the ADD, EDIT , REMOVE three buttons unpressable with grey color. From the help I know that when OUI detect the third-party vendor clusterware, It will use the node infomation obtained from third-party vendor clusterware and these infomation is not able to be edited by OUI. But it seems that it can not obtain anynode infomation. I had ping the PUB/PRIV IP of both node and they are accessible. How can I make the OUI to find the node infomation?
Thank you very much!Hi,
<p>
Yes, it is. <br>
Environment >> Servers >> jmsserver2 >> Configuration >> General > Machine : sv-jms2
</p>
regards
<br>Lukas<br>
<br>WLS 9.2 -
Where do I find the "Node Manager" service?
Can anyone tell me where to find the "Node Manager Service" In Call Manager 5.1.2 or IPCC 4.5?
My db_CRA database in IPCC is not updating the real time ICD statistics table and Bug CSCsc09160 seems to indicate that stopping and starting the "Node Managers" may fix the issue.
From the bug report:
Symptom:
Under the db_cra two tables (RtCSQsSummary and RtICDStatistics) are not updating. They stop updating concurrently with engine failovers and reboots. Only a hard reboot or a
service failover brings them back into an active state.
When the RtCSQsSummary and RtICDStatistics tables do update on the
primary DB they do not update on the secondary DB and the data on them
doesnt get refreshed.
Conditions:
stopping Node manager on node 1, data fails to be written to node 2. Then when we start NM back up on node 1 data is still not written to either data store
Workaround:
Not much as a workaround, because the solution requirs stop on both Node
Managers and bring up node 1 first and the data starts writing to DB
again.
Thanks,
BrianPost Author: jsanzone
CA Forum: Authentication
Sven,
The reference to Session Manager is more of a concept of operations versus an entity. The portion of code that you copied and pasted in your post is actually part of the verbiage used in an ASP script that BusinessObjects expects you to create in order for you to obtain your objective. You can use this coding to create your own customized script or you might be able to search around on the web for a more complete solution. -
How to Delete the node from cluster when the machine crashed?
In an three nodes Rac of 11g r2,How to delete the node from cluster when the machine crashed?
There is now way to repair the machine and have to add a new one.
What is step to follow up?hi
IF YOU WANT TO DELETE RAC1 NODE
check $./olsnodes
1) delete the instance using dbca from any active nodes
crs_stat -t
srvctl stop asm -n rac1
2) delete listener
3) delete oracle_home from oracle user
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<db_home> "CLUSTER_NODES={RAC1}
4)delete asm home
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<asm_home> "CLUSTER_NODES={RAC1}
5) update cluster node
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<db_home> "CLUSTER_NODES={active nodes like rac2,rac3}
6) update ASm home
$ORACLE_HOME/bin/runInstaller -updatenodelist ORACLE_HOME=<asm_home> "CLUSTER_NODES={active nodes like rac2,rac3}
cd $ORA_CRS_HOME
cd crs/opmn/conf
check for
$cat ons.config
remoteport=6200
cd crs_home/bin
$./racgons remove_config rac1:6200
$ go to crs home
and $ORA_CRS_HOME/crs/install/rootdelete.sh
$ORA_CRS_HOME/crs/install/rootdeletenode.sh
check for ./olsnodes -
How to change the node's icon in a tree when the node collapse or expand?
how to change the node's icon in a tree when the node collapse or expand?
Hi,
You may need to use custom skin for that.
-Arun -
How to get the node id of the content shown from campaign
Hi
Can any one please tell how to get the node id of the content shown by the campaign
in jsp
ThanksOne option is to define a custom ad renderer, which is registered with the proper mime-type.
The campaign would run your renderer if the campaign retrieved a node with a binary of the proper registered mime-type.
This allows you to insert yourself into the call chain for the node rendering. You can access the nodeID at that point (and do the typical rendering-- providing a URL for the ShowPropertyServlet)
-Steve -
How to get the node value of payload
Hi
The null is returned when I use the following code to get the User_ID element in the payload, but there are values in the User_ID element of the payload
Task task_test = wfSvcClient.getTaskQueryService().getTaskDetailsById(wfCtx, taskId);
System.out.println("the payload value is " + task_test.getPayloadAsElement().getElementsByTagName("User_ID").item(0).getNodeValue());
How to get the node value of payload ? any suggestion?
Thanks
JaysonHi Jayson,
Try:
System.out.println("the payload value is " + task_test.getPayloadAsElement().getElementsByTagName("User_ID").item(0).getFirstChild().getNodeValue());
So add the getFirstChild() call in between.
If this works, maybe consider using JAXB to marshall the payload details to POJO's. This will make reading the payload details much easier.
Regards, Ronald -
How to change the nodes in middle tier
how to chnage the node in middle tier and a new node for middle tier?
For adding a new node to an existing system, you can use Rapid Clone to clone a node and add it to the existing Application System. Refer to the following note for more details:
Note: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1 -
How to map the node which i have created dynamically into the view
Hi All,
Many thanks to all ur answers in advance.
I have created a node dynamically.I want to display the fields which i have fetched in that node.
i dont know how to map the node which i have created dynamically into the layout of the view.
Other than Using ALV is there any other way to do.
for example usin table controlHi,
use the reference variable of view to access the corresponding UI element and then use the method of that UI element to do data binding with context node.
for ex:
Context node = flights
element = inputfield, ID = inp_name
data view type ref to if_wd_view.
data lr_inp type ref to cl_wd_input_field.
lr_inp ?= view->get_child_element( ' INP_NAME' ).
use following methods of input field to define the data binding.
SET__DDIC_BINDING( )
BOUND__PROPERTY( ).
BOUND__PRIMARY_PROPERTY( ). " for input field it is value property.
Get the reference of view from wddomodifyview method as importing parameter(view). Store this parameter as controller attribute.
Thanks,
Rahul -
How to clear the node which has multiple attributes
Hello ,
how to clear the node which has multiple attributes.
I've tried this using the method SET_STATIC_ATTRIBUTES_NULL but it's not working.
Thanks,
Sandhya.Hello,
I suggest you to create an internal table or structure clear it and the bind it to the context node.
Another possibility is to try to invalidate the node (method INVALIDATE of interface IF_WD_CONTEXT_NODE).
Regards. -
How to not display nodes in a tree if Oracle roles are NOT used?
How to not display nodes in a tree if Oracle roles are NOT used?
We don't use Oracle DB roles to grant users access to Forms from the menu. We use a template and role system of our own. Basically a few tables with templates and roles.
We want to convert our normal Forms menu to a tree menu and one of our key requirements is that when the tree is populated ONLY nodes with programs (i.e. forms) he has been granted to execute is shown.
Since we don't use Oracle Roles how to do this in a tree?
I created a function to show/hide LEAF nodes, BUT problem is that there are sub-menu nodes showing even if the leaf-nodes under it has not being displayed. My function has suppressed it.
My tree query is like this:
SELECT
t.status, LEVEL, t.label, t.icon, t.node VALUE
FROM
tma_tree_menu t
WHERE
tma_authenticate_sys_chk_role(USER, t.node) = 1
CONNECT BY
PRIOR t.node = t.master
START WITH
t.MASTER IS NULL
ORDER SIBLINGS BY
t.position
The tma_authenticate_sys_chk_role will return 1 only if the user has access to the form under that node.
I tried the FTree functions in Forms but even that has nothing.
Any help would be greatly appreciated.
Edited by: Channa on Mar 17, 2010 6:49 AMWould you share the source code? I guess what I need is how exactly you retreive the user credentials from the DB table and set that boolean variable.
and then how to condition it in UIX? -
How to find the user exits and BADIS from SPRO
Hi all,
please let us know how to find the User exits or BADIS for an application from SPRO.
Regards,
MadhaviHi Varisetty,
Finding user exits and BAdis from SPRO can be cumbsersome. In most instances you know the standard SAP program and want to check (find) an exit called in the flow of the transaction. You can do this as follows:
For User Exit:
Put "/h" in the command box (to start debugging)
Execute your transaction
When you enter debugging - put a breakpoint at statement
CALL CUSTOMER-FUNCTION
the control will stop at all calls to User Exits
For BAdi (it's simpler)
Go to class CL_EXITHANDLER in SE24
Enter method GET_INSTANCE
Put a breakpoint in this method
Run your standard transaction - control will stop at all BAdis called within the flow since this method is used to check BAdi implementations before invoking them
Also, if you want to find enhancements by package - go to SE80, enter the package and check function groups starting with X - those contain function exits (conventional user exits). For BAdis in a package, there is normally a separate tree node (under the package) for Enhancements hence clearly identifiable.
Cheers,
Adi -
How to next consecutive node in binary tree and insert in sql server
i need to find next node in this tree and insert in sql server ...
dilip kumarIt depends you data structure. How do you store this tree structure in the database? What's the database design? BTW, you can see this article which include a related sample :
Custom Sort in Acyclic Digraph
T-SQL e-book by TechNet Wiki Community
My Blog
My Articles -
How to find the level of an n-ary tree
I have a n-ary tree. I traverse this tree using Breadth First and using queues to store the nodes that I encounter.
Can anyone tell me how to find the current level I am in this n-ary treeHow do I do that...My mind is drawing a blank totally
This code does a breadth first traversal
private void processTree(Node node) {
LinkedList queue = new LinkedList();
queue.addLast(node);
while (queue.size() > 0) {
Node node1 =(Node)queue.removeFirst();
if (node1 != null) {
processNode(node1);//Do some processing on this node
NodeList nodeList = node1.getChildNodes();
for (int i = 0; i < nodeList.getLength(); i++) {
queue.addLast(nodeList.item(i));
Using this how can I determine the level. Since Im visiting each node of a particular level how do I know that a level is over and Im now visitng the next level?
Maybe you are looking for
-
Changing database character set
Can anyone help with the way to change the database character set. I am runn into problem while exporting with error message exp-00091 Thanks
-
i have a 3g iphone & a pioneer avic-d3 car reciever...the bluetooth unit pairs with the phone anwsers and dials, auto connects, no problem...until today it won't connect with my voicemail as it stays connected...i have the latest up grade on the ipho
-
Creating a directory via a jsp page sql query return
Is it possible to create a directory based on the results of a sql query? i.e. My sql query returns application number 1234 for a building application (BC for short). Is it possible to create a directory /BC/1234 It is then proposed to use an iframe
-
INVOICE VERIFICATION REF. TO INBOUND DELIVERY
Hello to Experts, I want to know whether it is possible to perform Invoice Verification allocating to Inbound Delivery, if possible then what are the necessary settings. Thanks Amit
-
Hi i'm using the below code to copy a file and display the progress on screen. However the file copies ok by the progressbar is never shown. Can somebody please show me how to use the JProgressBar Component to copy a file and show the progress? Thank