cancel
Showing results for 
Search instead for 
Did you mean: 

ow to bind the visible-property to a context-element

Former Member
0 Kudos

Hi,

I want to bind the visible-property of an UI-Element (e.g. Group) to a context-element.

What type must the context-element have ?

I tried it with WDVisibility, but when I try

to bind the UI-Element, I get the error "Select an attribute of type 'Visibility'".

Thanks..

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

WDVisibility it is a java class that correspond to DDIC type Visibility.

To select DDIC visibility type do the following:

1. Open properties of necessary attribute in NW Dev Studio

2. Select <i>type</i> row, click browse button ("...")

3. In opened dialog navigate to following tree node:

Dictionary ->

Local Dictionary ->

com.sap.ide.webdynpro.uielementdefinitions ->

Visibility

This is required type.

Hope this helps,

VS

Former Member
0 Kudos

Thank you for the detailed information.

Greetings,

Claus

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo,

these steps are also described in the Web Dynpro Quiz tutorial: https://www.sdn.sap.com/sdn/developerareas/webdynpro.sdn?page=TutWD2_ExtWDApplication.htm

Page 32: Assigning a Simple Data Type as a Data Type to a Value Attribute

Greetings, Bertram

Former Member
0 Kudos

Please attach the simple type "Visibility" from "com.sap.ide.webdynpro.uielementdefinitions" [This is part of Dictionary Simple Type]

Former Member
0 Kudos

Thanks for the quick response.

Greetings,

Claus