Yahoo astra tree (how to get nodeLevel)
Hello,
I'm trying to use yahoo astra tree component ( http://developer.yahoo.com/flash/astra-flash/tree/examples.html) , for abaut 2 weeks, but I've a huge problem, I cant manage a way of get the path frmo root to ne child level of the tree.
I need something like
node1
node2
subnode1
subnode2
subsubnode1
node3
node4
when subsubnode1 is clicked, I need to have traced his path, node2.subnode2.subsubnode1
How to get this result?
Thanks
Pluda
hello,
it seems no one uses these astra components.
well, I think the issue is in this piece of code, I can't transverse the tree data, but I think this is the best way to get this working
if(node.nodeLevel == 0) {
global.v.pai = node.label;
} else {
trace(node.nodeLevel);
var parentPointer:TNode = node.parentNode;
if(parentPointer is BranchNode) {
global.v.familia = node.parentNode.label;
} else {
while (!(parentPointer is RootNode)) {
parentPointer = parentPointer.parentNode;
thanks
Similar Messages
-
How to remove Yahoo astra Tree Background Colour
Iam using Yahoo astra Tree Component . How to remove Tree Background colour .
You could look thru the properties/styles of the component to see if there is something that can be set/changed for the background. An alternative could be to try editing the compoent in the library.
-
Javax.faces.tree: how to get it ??
I need the package javax.faces.tree , but i don't know how to download it and where i can get it ,please tell me ,thank you very much
javax.faces.tree was used in Jsf Beta,now it is obsolete
-
TREE, how to get the ITEM of a cl_column_tree?
Hi guys!
I built my column tree with 2 columns so far for equipments.
the equipment id has 18 char, the node-node_key only 12. So i decided to put the equipmentid in an item_text.
My question now is,
How can i access these items in the method HANDLE_EXPAND_NO_CHILDREN....the events gives me the node_key, but how can i get to the item?
thanksThanks a lot for all your answers! :)
I finally got to do something with my little knowledge =P
I created a new class containing all the data needed for the dataTable (including a "String id").
And that's what I get:
<h:column>
<a:commandLink
value="#{familyAction.familyDocsByPrj.name}"
action="#{homeAction.search(familyAction.familydocsByPrj.id)}"
reRender="rightAppPanel" />
</h:column> -
.Mac Mail, Yahoo & Leopard Mail - How to get all in sync?
Hi there,
I'm trying to get .mac mail to syncronize my yahoo mail and all the folders to my computer and .mac. However, it appears that .mac webmail is not pulling in what is on Yahoo or my computer. Does anyone know what the settings are?
Thanks!>>I have Admin credentials[ Username and Password] , by using this i need to Access all user's mail boxes and Contacts.
Admin credentials mean nothing in regards to Mailbox access, so to use delegate access you would need to grant rights to the every Mailbox using Add-MailboxPermission (or if you only want access to the Contacts folder use add-mailboxfolderpermission
to add/change rights on the contacts folder) or you need to setup and use EWS Impersonation
http://msdn.microsoft.com/en-us/library/office/dd633680(v=exchg.80).aspx .
>>And i read aboutimpersonation that all needs permissions.
By default the only user that can access mailbox content is the owner of the mailbox, you will only be able to access content in a Mailbox if its has been shared with you or you grant youself rights to the mailbox using Exchange Admistrative credentials.
All of this will leave an audit trail.
Cheers
Glen -
Using tree - how to get upper levels
I create a heirarchical tree based on a couple of tables via a record group i create on the fly.
I then let the user attach documents to the tree nodes. The problem comes that the node may not exist in the database yet as they can build them as they go. So i need to insert all record on tree into table when they attach a document. I dont want to do this before as i am only interested when they are attaching documents - rather than storing all data that may never be used.
My problem is when they attach the document i want to find all levels in that particular tree to insert them.
i.e. if my tree is as follows
1
-1b
2
-2b
3
-3b
-3c
and the user attaches against 3c I want to insert 3 into the table, then 3b, then the document against 3b, so i need to find out what its uplevel is in this case 3.
How is best way to do this? i have NODE_DEPTH property - to know its not top level and NODE VALUE to know the value, and NODE_LABEL to know the description but how can i find my uplevel when its not stored in a table anywhere.Cant believe i never found that when searching forms help.
Thanks -
Yahoo Messenger Screen - How to get rid??
With my Blackberry Pearl 8100, when I connect to the Internet I get a yahoo Messenger Installation screen EVERYTIME, wanting me to install some software/update! It's not a massive problem as I can just hit the menu button, and select "Go to..." and put my webaddress in there, but it woudl be much neater if I coudl stop getting this Yahoo screen, and go direct to my selected homepage.
Any ideas?
I've tried installing the Yahoo messanger, which was successful (I think, not that I use it!) but I still get the yahoo screen each time I connect to the Internet.if you are not using Yahoo Messenger, go to Option > advance options > applications and remove those Yahoo related applications. Also go to options> advance options> service books and delete those yahoo related SB.
If someone give you helpful hints, please click on Kudos.
If you issue is resolved, mark Accept Solution next to the resolution post.
Feel free to search www.blackberry.com/btsc to find your answers. -
i deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx
if you hid the menu bar and the navigation bar simply press the alt button, this will bring back the menu bar and form there you can right click and select which bars you want shown
-
dear, there.
how to change the default search engine? I accidentaly change it from google to yahoo, and I can't get it back. I changed my homepage to google too, but it isn't solved. ThanksClarification:
I believe now you potentially lose all extensions, plug-ins when you use the new reset function, but you will let me know.
If that is the case, your find corrupt file method maybe better. However, I reviewed the two help articles and there appear to be more files than just the delete search.json file and a possible search.sqlite file in the Firefox Profile Folder. I am confused. Then I have to find the folders. I think help articles mentioned how to find the profile containing the files, but not sure. -
How to get Text for nodes in Tree Structure
Hi Friends,
How to get Text for nodes in Tree Structure
REPORT YFIIN_REP_TREE_STRUCTURE no standard page heading.
I N I T I A L I Z A T I O N
INITIALIZATION.
AUTHORITY-CHECK OBJECT 'ZPRCHK_NEW' :
ID 'YFIINICD' FIELD SY-TCODE.
IF SY-SUBRC NE 0.
MESSAGE I000(yFI02) with SY-TCODE .
LEAVE PROGRAM.
ENDIF.
class screen_init definition create private.
Public section
public section.
class-methods init_screen.
methods constructor.
Private section
private section.
data: container1 type ref to cl_gui_custom_container,
container2 type ref to cl_gui_custom_container,
tree type ref to cl_gui_simple_tree.
methods: fill_tree.
endclass.
Class for Handling Events
class screen_handler definition.
Public section
public section.
methods: constructor importing container
type ref to cl_gui_custom_container,
handle_node_double_click
for event node_double_click
of cl_gui_simple_tree
importing node_key .
Private section
private section.
endclass.
*& Classes implementation
class screen_init implementation.
*& Method INIT_SCREEN
method init_screen.
data screen type ref to screen_init.
create object screen.
endmethod.
*& Method CONSTRUCTOR
method constructor.
data: events type cntl_simple_events,
event like line of events,
event_handler type ref to screen_handler.
create object: container1 exporting container_name = 'CUSTOM_1',
tree exporting parent = container1
node_selection_mode =
cl_gui_simple_tree=>node_sel_mode_multiple.
create object: container2 exporting container_name = 'CUSTOM_2',
event_handler exporting container = container2.
event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
event-appl_event = ' '. "system event, does not trigger PAI
append event to events.
call method tree->set_registered_events
exporting events = events.
set handler event_handler->handle_node_double_click for tree.
call method: me->fill_tree.
endmethod.
*& Method FILL_TREE
method fill_tree.
data: node_table type table of abdemonode,
node type abdemonode.
types: begin of tree_node,
folder(50) type c,
tcode(60) type c,
tcode1(60) type c,
tcode2(60) type c,
text(60) type c,
text1(60) type c,
text2(60) type c,
end of tree_node.
data: wa_tree_node type tree_node,
t_tree_node type table of tree_node.
wa_tree_node-folder = text-001.
wa_tree_node-tcode = text-002.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-003.
wa_tree_node-text1 = 'GR/IR aging'.
wa_tree_node-tcode2 = text-004.
wa_tree_node-text2 = 'Bank Balance'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
wa_tree_node-folder = text-005.
wa_tree_node-tcode = text-006.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-007.
wa_tree_node-text1 = 'Creditors ageing'.
wa_tree_node-tcode2 = text-008.
wa_tree_node-text2 = 'Creditors ageing'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
wa_tree_node-folder = text-009.
wa_tree_node-tcode = text-010.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-011.
wa_tree_node-text1 = 'Creditors ageing'.
wa_tree_node-tcode2 = text-012.
wa_tree_node-text2 = 'Creditors ageing'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
node-hidden = ' '. " All nodes are visible,
node-disabled = ' '. " selectable,
node-isfolder = 'X'. " a folder,
node-expander = ' '. " have no '+' sign forexpansion.
loop at t_tree_node into wa_tree_node.
at new folder.
node-isfolder = 'X'. " a folder,
node-node_key = wa_tree_node-folder.
clear node-relatkey.
clear node-relatship.
node-text = wa_tree_node-folder.
node-n_image = ' '.
node-exp_image = ' '.
append node to node_table.
endat.
at new tcode .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode.
node-text = wa_tree_node-text .
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
endat.
append node to node_table.
at new tcode1 .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode1.
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = wa_tree_node-text1.
endat.
append node to node_table.
at new tcode2 .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode2.
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = wa_tree_node-text2.
endat.
append node to node_table.
endloop.
call method tree->add_nodes
exporting table_structure_name = 'ABDEMONODE'
node_table = node_table.
endmethod.
endclass.
*& Class implementation
class screen_handler implementation.
*& Method CONSTRUCTOR
method constructor.
create object: HTML_VIEWER exporting PARENT = CONTAINER,
LIST_VIEWER exporting I_PARENT = CONTAINER.
endmethod.
*& Method HANDLE_NODE_DOUBLE_CLICK
method handle_node_double_click.
case node_key(12).
when 'Creditors'.
submit YFIIN_REP_CREADITORS_AGING via selection-screen and return.
when 'Vendor'.
submit YFIIN_REP_VENDOR_OUTSTANDING via selection-screen and return.
when 'Customer'.
submit YFIIN_REP_CUSTOMER_OUTSTANDING via selection-screen and
return.
when 'GR/IR'.
submit YFIIN_REP_GRIR_AGING via selection-screen and return.
when 'Acc_Doc_List'.
submit YFIIN_REP_ACCOUNTINGDOCLIST via selection-screen and return.
when 'Bank Bal'.
submit YFIIN_REP_BANKBALANCE via selection-screen and return.
when 'Ven_Cus_Dtl'.
submit YFIIN_REP_VENDORCUST_DETAIL via selection-screen and return.
when 'G/L_Open_Bal'.
submit YFIIN_REP_OPENINGBALANCE via selection-screen and return.
when 'Usr_Authn'.
submit YFIIN_REP_USERAUTHRIZATION via selection-screen and return.
endcase.
endmethod.
endclass.
Program execution ************************************************
load-of-program.
call screen 9001.
at selection-screen.
Dialog Modules PBO
*& Module STATUS_9001 OUTPUT
text
module status_9001 output.
set pf-status 'SCREEN_9001'.
set titlebar 'TIT_9001'.
call method screen_init=>init_screen.
endmodule. " STATUS_9001 OUTPUT
Dialog Modules PAI
*& Module USER_COMMAND_9001 INPUT
text
module user_command_9001 input.
endmodule. " USER_COMMAND_9001 INPUT
*& Module exit_9001 INPUT
text
module exit_9001 input.
case sy-ucomm.
when 'EXIT'.
set screen 0.
endcase.
endmodule.
exit_9001 INPUTyou can read the table node_table with nody key value which imports when docubble click the the tree node (Double clifk event).
Regards,
Gopi .
Reward points if helpfull. -
How to get the data like a tree in t-code /nEC01 ?
Dear Friends,
When using t-code EC01, you can click 'Structure' button, and then click 'Navigation' button, finally the "SAP organizational objects" will be displayed as a tree - when you double click one item, it will be expaned.
My problem is, is there any table or view to store these tree data? if not, how could I get them?
Thanks a lot!Hi YIN,
unable to understand ur question .... anyhow
check the flow
company codes ---> Controlling area
controlling area ---> Operating Concern
SPRO Path-->
SPRO--->Enterprise Structure ->Assignment->Controlling --->see both options.
i think u know how to get table name from the view. -
How to get a Tree Node Value when a Tree is Expanded
My reqiurement is when i Expand a Tree i need the Expanded tree Node Value. For Example Consider Parent as a Root Node of a Tree, and Consider its two Children Child1 and Child2.
When + Parent Expanded
I will Get the Output as --Parent
- Child1
- Child2
so As when i expand the Tree i must Get the String Value Parent.duplicate
How to get a Tree Node Value when a Tree is Expanded -
How to get each node in tree?
how to get each node in tree?
Message was edited by:
NikisinProblemhow to get each node in tree?
Since (as far as I know) treeNode is an interface, the real question to me is how are you implementing your treeNodes? Are you overriding the toString() method? -
How to get yahoo mail in notification in macbook pro in mountain lion os
how to get yahoo mail in notification in macbook pro in mountain lion os??
Are you using the web interface? You must add your Yahoo! Mail account to mail.app to get notifications.
-
Tree control - How to get the full path of selected Item in tree control
I am Flex newbie. When the user clicks the particular item in
the tree control I just wanted to get it name along with it's full
parent.
Here is my XML
var dirXML:XML=<root basename="/home/tcegrid">
<Directories>
<Dir Name=".autosave" />
<Dir Name=".emacs.d" />
<Dir Name="AnsysDistributed">
<Dir Name="opt"/>
<Dir Name="root" />
</Dir>
<Dir Name="postgres"/>
<Dir Name="FineTurbo"/>
<Directories>
</root>
The above XML is data provider for Tree control. When the
user clicks the Dir Name called opt. I wanted it absolute path in
XML. say Directories.Dir.Dir.@Name is opt
Can any one tell me how to get this?"Thamizhannal" <[email protected]> wrote in
message
news:gam9q8$4es$[email protected]..
>I am Flex newbie. When the user clicks the particular
item in the tree
>control
> I just wanted to get it name along with it's full
parent.
> Here is my XML
> var dirXML:XML=<root basename="/home/tcegrid">
> <Directories>
> <Dir Name=".autosave" />
> <Dir Name=".emacs.d" />
> <Dir Name="AnsysDistributed">
> <Dir Name="opt"/>
> <Dir Name="root" />
> </Dir>
> <Dir Name="postgres"/>
> <Dir Name="FineTurbo"/>
> <Directories>
> </root>
>
> The above XML is data provider for Tree control. When
the user clicks the
> Dir
> Name called opt. I wanted it absolute path in XML. say
> Directories.Dir.Dir.@Name is opt
> Can any one tell me how to get this?
loop until the parent() property of the XML node is empty.
HTH;
Amy
Maybe you are looking for
-
How do I use LDAP with iMQ 2.0?
I am looking for an example to see how to use LDAP with iMQ 2.0. I was able to set up the config settings to access a local LDAP, but iMQ authentication still rejects valid logins. Let me know if I can find more info someplace.
-
My ipod screen turned white. i had read online that if i hold the power buton and the home button that it would turn off. It turned off but wouldnt turn back on. I had left the ipod on the charger all night and tryed this morning. nothing would happe
-
U330 + Windows 7 Drivers Problem & Solutions
U330 Windows 7 Drivers http://consumersupport.lenovo.com/en/DriversDownloads/drivers_list.aspx?CategoryID=16 News Updates 11.4.09 - BIOS Release Fix Switchable Graphics and More The new bios version 67 fixes switchable graphics issues from before and
-
Map XML tag to an object style
Hi everyone! I am not sure this is the correct place to post it, but i didn't find any "tagging" department of the forums. I do import some XML into ID document. Text nodes of my XML are imported properly, and i can map any tag of XML to one of the p
-
Where can I find a sample database for practice to use in Business Objects Universe Design Tool and connect it to a server?