on 01-13-2009 1:04 PM
Hiii
Iam creating an application in the web dynpro.without writing code i can able to deploy and run the application.But i want My output screen will be hardcoded with these
User login id : sushma.y
Usename : sushma
Employee : (drop down): sushma
Active : (checkbox) :
Existing User :(checkbox) :
Role : (dropdownlist) : consultant
Is there any possibility of modifying the properities or else i have to write the code.
But i tried with code.
Iam not able to see the dropdownlist list values (that is employee and role).
Please help me to sort out this.
wdContext.currentUserprofileElement().setUserloginid("krishna");
wdContext.currentUserprofileElement().setExistingUser(true);
wdContext.currentUserprofileElement().setUserName("Krishna.Kumar");
wdContext.currentUserprofileElement().setActive(true);
*****wdContext.currentUserprofileElement().setEmployee() ********
Regards
Sushma
If it's a DropDownByIndex, implement a supply function for the context node that contains the attribute to which the "texts" property is bound. See my code in the other thread.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
tx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For hardcoded dropdown list better go with "Dropdown by index" UI element.
1) Create a simple type and specify enumeration values for it.
2) Create a value attribute and Set above created simple type to it as click on browse button on type property of the context attribute select your simple type.
3) Take a Drop down by index and set its " TEXTS" property to this value attribute.
your drop down will populate the values which you have given in enumeration.
PradeeP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.