cancel
Showing results for 
Search instead for 
Did you mean: 

DropDownByKey and Image UIElements usage with small example

Former Member
0 Kudos

hi friends

i am new webdynpro.i have small requirement

suppose if i select one color in the DropDownlist i want display that color in the image uielement

please tell me the procedure steps...

2)what is the difference between DropDownByKey and DropDownByIndex UIElements and how to use the Image UIElement

thanks

ram

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

when u give value during coding for dropdown than u use dropdownbyIndex..

n if u use simple data type..n creating values using enumeration..then u'll hav to use dropdown bykey....

for Image UI element check this:[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f]

[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/developing%20web%20dynpro%20user%20interfaces.pdf]

hope it hlps

Regards,

Khushboo

venkatakalyan_karanam
Active Contributor
0 Kudos

Hi

The drop down by key is value container of key value pairs here key is a string and value may be any object.To populate we can use a simple type with ennumeration of values.

Binding with selected Key

Drop down by index is the one which stores key value pairs where key is an index.Here we need th bind with Texts property. The Attr and Node you must create and populate the node with elements.

Dropdown by key you can populate either by using simple type or also dynamically you can populate.

Image UI ele source you need to bind with the Image file name directly and place it in mimes

Kalyan

Former Member
0 Kudos

hi,

this thread will help you,

Image UI element refer this link,

http://help.sap.com/saphelp_nw70/helpdata/EN/9f/656442a1c4de54e10000000a155106/frameset.htm

Edited by: Ramesh Babu V on Aug 29, 2008 1:54 PM