cancel
Showing results for 
Search instead for 
Did you mean: 

Creating DropDownMenus

Private_Member_52584
Participant
0 Kudos

Hi Experts,

i want to create one dropdownmenu using webdynpro java.....is it possible.....if possible let me know the procedure...

Regards,

venkat

Accepted Solutions (1)

Accepted Solutions (1)

former_member185879
Active Contributor
0 Kudos

Hello Venkat,

Please try the MenuBar UI Element. Insert MenuBar UI element, inside that insert "Menu", inside that Menu create any number of MenuActionItems. For Each action item there will be action triggered, you can write implementation on that action.

Regards

Nizamudeen SM

Answers (3)

Answers (3)

former_member218672
Active Contributor
0 Kudos

Hey Venkat,

Are you looking for hover menu kind of thing. documents are available on sdn.com for hover menu.

Best Regards,

Sen

Former Member
0 Kudos

What is a "drop-down menu"?

Former Member
0 Kudos

Hi

--> Take DropDownByIndex UI Element in the Layout Tab.

--> Take One ValueNode Named "Vn_test" in the Context.

--> Take One Value Attribute Named "Va_test" for the Node

"Vn_test".

Set:

Cardinality --> 0..n

Selection --> 1..1

Singleton --> True

--> Bind "Vn_test" to the texts Property of the DropDownByIndex.

--> Set the "Vn_test" Node Properties in the Context Tab as

--> Write the Below Code in the Implementation Tab of the view in wdDoInit () method.

IPrivate<your View Name>.IVn_testElement test;

for(int i=0;i<3;i++)

{

test = wdContext.createVn_testElement();

test.setId(" "+i); // this will show 0,1,2 in dropdpwn.

wdContext.nodeVn_test().addElement(test);

}

Thanks and Regards

Saurabh

Edited by: saurabh.c on Dec 7, 2010 7:17 AM