on 11-28-2005 10:07 AM
Dear All,
I have the following problem:
I have created a column in my table with a button
and under some condition I want this button
to be not visible (blank) in a row. I know how to deal
with ReadOnly (just created a boolean variable
in dictionary and create calculation methods for this alement and assign it to ReadOnly attribute)
but now I have no idea how and where can I set dynamicly
visible attribute I have create a variable in dictionary with 3 enumeration blank/none/visible but when I tried to assing it to my new-defined type the system
does not allow to assing it, I thouth that I should proceed like for ReadOnly but I was wrong
If somebody could helpe me? Thank you in advance
Bogusia
Bind the "visible" property of the button to a context attribute of local DDIC type "com.sap.ide.webdynpro.uielementdefinitions.Visibility".
At runtime, use the constants from class WDVisibility to assign values to this attribute.
Addition: From an ergonomic point of view, I would rather enable/disable the button (property "enabled") than switch its visibility.
Armin
Message was edited by: Armin Reichert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Thank you
1. I have created the Simple Type in Local Dictionary with a Base Type: com.sap.ide.webdynpro.uielementdefinitions.Visibility
2. Created a context value attribute assing a simple
type created in p.1
3. Went to the column attribute and when I try to bind
my new value attribute to the column visible property I have the message 'Select an attribute of type 'Visibility'
Where could be the problem?
Thank you
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.